UserinfoEndpoint
in package
Userinfo Endpoint
Table of Contents
- __construct() : UserinfoEndpoint
- creates a new UserinfoEndpoint instance
- process() : mixed
- process a userinfo request
- getAuthorizationHeader() : mixed
- Get hearder Authorization
- getBearerToken() : mixed
- get access token from header
Methods
__construct()
creates a new UserinfoEndpoint instance
public
__construct(array<string|int, mixed> $config, Database $database) : UserinfoEndpoint
Parameters
- $config : array<string|int, mixed>
-
base configuration
- $database : Database
-
database instance
Tags
Return values
UserinfoEndpoint —process()
process a userinfo request
public
process() : mixed
Tags
Return values
mixed —getAuthorizationHeader()
Get hearder Authorization
private
getAuthorizationHeader() : mixed
Return values
mixed —getBearerToken()
get access token from header
private
getBearerToken() : mixed