\OAuth2\OpenID\ResponseTypeIdToken

Summary

Methods
Properties
Constants
__construct()
getAuthorizeResponse()
createIdToken()
No public properties found
No constants found
createAtHash()
encodeToken()
$userClaimsStorage
$publicKeyStorage
$config
$encryptionUtil
N/A
getUserIdAndAuthTime()
No private properties found
N/A

Properties

$config

$config : array

Type

array

Methods

getAuthorizeResponse()

getAuthorizeResponse(array  $params, null  $userInfo = null) : array|mixed

Parameters

array $params
null $userInfo

Returns

array|mixed

createIdToken()

createIdToken(string  $client_id, mixed  $userInfo, mixed  $nonce = null, mixed  $userClaims = null, mixed  $access_token = null) : mixed|string

Create id token

Parameters

string $client_id
mixed $userInfo
mixed $nonce
mixed $userClaims
mixed $access_token

Returns

mixed|string

createAtHash()

createAtHash(  $access_token, null  $client_id = null) : mixed|string

Parameters

$access_token
null $client_id

Returns

mixed|string

encodeToken()

encodeToken(array  $token, null  $client_id = null) : mixed|string

Parameters

array $token
null $client_id

Returns

mixed|string

getUserIdAndAuthTime()

getUserIdAndAuthTime(  $userInfo) : array

Parameters

$userInfo

Throws

\LogicException

Returns

array