Client
class Client implements ClientEntityInterface (View source)
Constants
| CONSENT_NONE | 
                     Disable the users ability to allow / deny consent for this client to access details. This should only be used if a client is fully trusted and owned by this server  | 
            
| CONSENT_SIMPLE | 
                     Give the user the option to allow or deny access without changing scopes  | 
            
Properties
| protected | $identifier | ||
| protected string | $name | ||
| protected string|string[] | $redirectUri | ||
| protected string | $clientKey | ||
| protected string | $clientSecret | ||
| protected int | $consentType | The type of consent this client must get from the user  | 
                
Methods
{@inheritdoc}
Set the client's identifier.
{@inheritdoc}
Set the client's name.
No description
No description
No description
No description
{@inheritdoc}
Set the registered redirect URI (as a string), or an indexed array of redirect URIs.
Get the consent type required by this client
Set the level of consent this client must receive from the authenticating user
Details
        
                            
    getIdentifier()
        
    
    {@inheritdoc}
        
                            
    setIdentifier(string $identifier)
        
    
    Set the client's identifier.
        
                            
    getName()
        
    
    {@inheritdoc}
        
                            
    setName(string $name)
        
    
    Set the client's name.
        
                            string
    getClientKey()
        
    
    No description
        
                            
    setClientKey(string $clientKey)
        
    
    No description
        
                            string
    getClientSecret()
        
    
    No description
        
                            
    setClientSecret(string $clientSecret)
        
    
    No description
        
                            
    getRedirectUri()
        
    
    {@inheritdoc}
        
                            
    setRedirectUri(string|string[] $redirectUri)
        
    
    Set the registered redirect URI (as a string), or an indexed array of redirect URIs.
        
                            int
    getConsentType()
        
    
    Get the consent type required by this client
        
                            
    setConsentType(int $consentType)
        
    
    Set the level of consent this client must receive from the authenticating user