struct PlaceOS::Client::API::Models::OAuthAuthentication
    
  - PlaceOS::Client::API::Models::OAuthAuthentication
 - PlaceOS::Client::API::Models::Response
 - Struct
 - Value
 - Object
 
Included Modules
Defined in:
placeos/api/models/auths/oauth.crConstructors
Instance Method Summary
- 
        #auth_scheme : String
        
          
If not set it defaults to "request_body", others include "basic_auth"
 - #authority_id : String
 - 
        #authorize_url : String
        
          
The SSO providers URL for authorization, defaults to:
oauth/authorizeGoogle is/o/oauth2/auth - 
        #client_id : String
        
          
The client ID and secret configured for this application
 - #client_secret : String
 - #id : String
 - 
        #info_mappings : Hash(String, String)
        
          
Maps an expected key to a provided key i.e.
 - #name : String
 - 
        #raw_info_url : String
        
          
URL to call with a valid token to obtain the users profile data (name, email etc)
 - 
        #scope : String
        
          
Space seperated scope strings i.e.
 - 
        #site : String
        
          
The HTTP URL of the SSO provider
 - 
        #token_method : String
        
          
If not set it defaults to "post"
 - 
        #token_url : String
        
          
defaults to:
oauth/tokenhowever google is:/o/oauth2/token 
Instance methods inherited from module PlaceOS::Client::API::Models::Timestamps
  
  
    
      created_at : Time
    created_at, 
    
  
    
      updated_at : Time
    updated_at
    
  
    
    
    
  
    
    
  Constructor methods inherited from struct PlaceOS::Client::API::Models::Response
  
  
    
      new(pull : JSON::PullParser)
    new
    
  
    
    
  
    
    
    
    
  
    
    
    
    
  
    
    
    
    
  
    
    
    
    
  
    
    
    
    
  
Constructor Detail
Instance Method Detail
The SSO providers URL for authorization, defaults to: oauth/authorize
Google is /o/oauth2/auth
Maps an expected key to a provided key i.e. {used_in_engine => used_by_remote}
URL to call with a valid token to obtain the users profile data (name, email etc)
Space seperated scope strings
i.e. https://www.googleapis.com/auth/devstorage.readonly https://www.googleapis.com/auth/prediction