DefaultValidator
class DefaultValidator implements AuthorizationValidatorInterface (View source)
Properties
| private AuthorizationValidatorInterface | $validator | ||
| private Application | $app | 
Methods
                    ServerRequestInterface
                
                
                    validateAuthorization(ServerRequestInterface $request)
        
                                            
                
            Determine the access token in the authorization header and append OAUth properties to the request as attributes.
                    setPublicKey(CryptKey $key)
        
                                            
                
            No description
                    setPrivateKey(CryptKey $privateKey)
        
                                            
                
            Set path to private key.
                    setEncryptionKey(string $key = null)
        
                                            
                
            Set the encryption key
Details
        
                            
    __construct(BearerTokenValidator $validator, Application $app)
        
    
    No description
        
                            ServerRequestInterface
    validateAuthorization(ServerRequestInterface $request)
        
    
    Determine the access token in the authorization header and append OAUth properties to the request as attributes.
        
                            
    setPublicKey(CryptKey $key)
        
    
    No description
        
                            
    setPrivateKey(CryptKey $privateKey)
        
    
    Set path to private key.
        
                            
    setEncryptionKey(string $key = null)
        
    
    Set the encryption key