NZTA\OktaAPI\Tests\MockOktaApiService
Synopsis
class MockOktaApiService
{
- // members
- public integer $limit = 3;
- public array $statuses = ;
- public string $after = '758';
- public string $filter = 'status eq "ACTIVE" or status eq "PASSWORD_EXPIRED" or status eq "LOCKED_OUT" or status eq "RECOVERY"';
- public string $groupID = '4324fdsa24';
- // methods
- public OktaGateway getGateway()
- public array getMockResponseGetUsers()
- public array getMockResponseGetGroups()
Members
public
- $after — int
- $filter — string
- $groupID — string
- $limit — int
- $statuses — array
Methods
public
- getGateway()
- getMockResponseGetGroups() — Mock the groups that come from the Okta Groups API.
- getMockResponseGetUsers() — Mocked response when hitting API endpoint used to retrieve users from okta api