IdTokenResponse
class IdTokenResponse extends BearerTokenResponse (View source)
Properties
| protected Service | $site | The site service we use to determine the issuer  | 
                |
| protected ClaimsSetFactory | $claimFactory | A factory for building claim sets  | 
                |
| protected UserInfoRepository | $userInfoRepository | A repository that we can get the active user from  | 
                
Methods
No description
Get the extra params to include If this is an OIDC request we include the ID token
Create an ID token to include with our response
Determine if this request is an OIDC requadmin past. We do this by checking if the "openid" scope is included
Details
        
                            
    __construct(Service $site, ClaimsSetFactory $claimFactory, UserInfoRepository $userInfoRepository)
        
    
    No description
        
                    protected        array
    getExtraParams(AccessTokenEntityInterface $accessToken)
        
    
    Get the extra params to include If this is an OIDC request we include the ID token
        
                    protected        Token
    createIdToken(AccessTokenEntityInterface $accessToken, ClaimsSet $claims)
        
    
    Create an ID token to include with our response
        
                    protected        bool
    isOidcRequest(array $scopes)
        
    
    Determine if this request is an OIDC requadmin past. We do this by checking if the "openid" scope is included
        
                            
    setApplication(Application $application)
        
    
    Set the application object.