UserInfoRequestHandlerSpiAdapter
extends UserClaimProviderAdapter
in package
implements
UserInfoRequestHandlerSpi
An empty implementation of the UserInfoRequestHandlerSpi interface.
Tags
Table of Contents
Interfaces
- UserInfoRequestHandlerSpi
- Service Provider Interface for UserInfoRequestHandler.
Methods
- getSub() : string
- Get the value of the "sub" claim that will be embedded in the response from the userinfo endpoint.
- getUserClaimValue() : mixed
- Get the value of a claim of the user.
Methods
getSub()
Get the value of the "sub" claim that will be embedded in the response from the userinfo endpoint.
public
getSub() : string
Return values
string —The value of the "sub"
claim.
getUserClaimValue()
Get the value of a claim of the user.
public
getUserClaimValue(string $subject, string $claimName, string $languageTag) : mixed
Parameters
- $subject : string
- $claimName : string
- $languageTag : string
Return values
mixed —The value of the claim. null
if the value is not available.
The returned value must be able to be processed by json_encode()
.