NZTA\OktaAPI\Gateway\OktaGateway
This class is used as the gateway to the Okta API and handles the actual requests made to the API.
Synopsis
class OktaGateway
{
- // methods
- public array getUsers()
- public array getGroups()
- public array getUsersFromGroup()
- public array get()
- public LoggerInterface getLogger()
Methods
public
- get() — Make a GET call to the Okta API and return the response headers and contents.
- getGroups() — Makes the GET request to the Okta Groups API, sending the "after" header to get the next paginated list of results if defined.
- getLogger() — Get a logger
- getUsers() — Hits the users API endpoint to get a list of users, using the given limit and after parameters. If the statuses parameter is provided, it will filter users by the given statuses.
- getUsersFromGroup() — Hits the groups API endpoint to get a list of users, using the given limit, after parameters and Group ID.