VuFind API Documentation

IdentityRepository
in package
implements IdentityProviderInterface

OpenID Connect repository implementation.

Tags
category

VuFind

author

Ere Maijala ere.maijala@helsinki.fi

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Main Site

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

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

Return values
UserEntity|null

Search results