IdentityRepository
in package
implements
IdentityProviderInterface
OpenID Connect repository implementation.
Tags
Interfaces, Classes, Traits and Enums
- IdentityProviderInterface
Table of Contents
- $accessTokenService : AccessTokenServiceInterface
- $ils : Connection|null
- $ilsAuthenticator : ILSAuthenticator
- $oauth2Config : array<string|int, mixed>
- $userService : UserServiceInterface
- __construct() : mixed
- Constructor
- getUserEntityByIdentifier() : UserEntity|null
- Get a user entity by identifier.
Properties
$accessTokenService
protected
AccessTokenServiceInterface
$accessTokenService
$ils
protected
Connection|null
$ils
$ilsAuthenticator
protected
ILSAuthenticator
$ilsAuthenticator
$oauth2Config
protected
array<string|int, mixed>
$oauth2Config
$userService
protected
UserServiceInterface
$userService
Methods
__construct()
Constructor
public
__construct(UserServiceInterface $userService, AccessTokenServiceInterface $accessTokenService, Connection|null $ils, array<string|int, mixed> $oauth2Config, ILSAuthenticator $ilsAuthenticator) : mixed
Parameters
- $userService : UserServiceInterface
-
User service
- $accessTokenService : AccessTokenServiceInterface
-
Access token service
- $ils : Connection|null
-
ILS connection
- $oauth2Config : array<string|int, mixed>
-
OAuth2 configuration
- $ilsAuthenticator : ILSAuthenticator
-
ILS authenticator
Return values
mixed —getUserEntityByIdentifier()
Get a user entity by identifier.
public
getUserEntityByIdentifier(int|string $identifier) : UserEntity|null
Parameters
- $identifier : int|string
-
User Identifier