ImboUnitTest\Auth\AccessControl\Adapter\SimpleArrayAdapterTest::getAuthConfig PHP Method

getAuthConfig() public method

Data provider for testing the legacy auth compatibility
public getAuthConfig ( ) : array
return array
    public function getAuthConfig()
    {
        $users = ['publicKey1' => 'key1', 'publicKey2' => 'key2'];
        return ['no public keys exists' => [[], 'public', null], 'public key exists' => [$users, 'publicKey2', 'key2'], 'public key does not exist' => [$users, 'publicKey3', null]];
    }