Authly::SocialGrant
Inherits Authly::GrantStrategy < Reference < Object
Constants
GRANT_TYPES = ["social", "urn:ietf:params:oauth:grant-type:social"]
Constructors
new(client_id : String, client_secret : String = "", provider_name : String = "", code : String = "", redirect_uri : String = "", verifier : String = "", subject_token : String = "", id_token : String = "", scope : String = "", grant_type : String = "social")
SourceClass methods
resolve_owner(profile : SocialProfile) : String | Nil
SourceInstance methods
authorized?
Sourceclient_id
Sourceclient_secret
Sourcecode
Sourcegrant_type
Sourcegranted_scope
The scope the strategy resolved itself (the refresh token grant); nil when the grant
does not know it and Grant reads it from the authorization code.
id_token
Sourceprofile
Sourceprovider_name
Sourceredirect_uri
Sourcescope
Sourcesubject
Who the issued token is about, when the grant identifies someone it can trust: the client for the client credentials grant, the resource owner for grants that authenticated one. Nil leaves the token with an anonymous subject.
subject_token
Sourceverifier
Source