PlaceOS::Client::API::Models::OAuthAuthentication
Inherits PlaceOS::Client::API::Models::Timestamps < PlaceOS::Client::API::Models::Response < PlaceOS::Client::API::Models::Response::Init < JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
SourceInstance methods
authority_id
Sourceauthorize_url
The SSO providers URL for authorization, defaults to: oauth/authorize
Google is /o/oauth2/auth
client_secret
Sourceid
Sourcename
Sourceraw_info_url
URL to call with a valid token to obtain the users profile data (name, email etc)
scope
Space seperated scope strings
i.e. https://www.googleapis.com/auth/devstorage.readonly https://www.googleapis.com/auth/prediction