UserClaimProviderAdapter
in package
implements
UserClaimProvider
An empty implementation of the UserClaimProvider interface.
Tags
Table of Contents
Interfaces
- UserClaimProvider
- Interface to get a claim value by specifying a user's subject, a claim name and optionally a language tag.
Methods
- getUserClaimValue() : mixed
- Get the value of a claim of the user.
Methods
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()
.