API Responses ListTupleChangesResponseInterface - evansims/openfga-php GitHub Wiki
Interface for tuple changes listing response objects. This interface defines the contract for responses returned when listing changes to relationship tuples in OpenFGA. The response includes a collection of tuple changes and pagination support for handling large change sets efficiently. Tuple change listing is essential for auditing authorization modifications, implementing change feeds, and tracking the evolution of relationship data over time.
Table of Contents
OpenFGA\Responses
- ListTupleChangesResponse (implementation)
- ListTupleChangesRequestInterface (request)
public function getChanges(): TupleChangesInterface
Get the collection of tuple changes. Returns a type-safe collection containing the tuple change objects from the current page of results. Each change represents a modification (insert or delete) to the relationship data, including timestamps and operation details.
TupleChangesInterface
— The collection of tuple changes
public function getContinuationToken(): string|null
Get the continuation token for pagination. Returns a token that can be used to retrieve the next page of results when the total number of tuple changes exceeds the page size limit. If null, there are no more results to fetch.
string
| null
— The continuation token for fetching more results, or null if no more pages exist