Authly::SocialProfile
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(provider : String, uid : String, email : String | Nil = nil, email_verified : Bool = false, name : String | Nil = nil, first_name : String | Nil = nil, last_name : String | Nil = nil, nickname : String | Nil = nil, avatar_url : String | Nil = nil, access_token : String | Nil = nil, id_token : String | Nil = nil, refresh_token : String | Nil = nil, expires_in : Int64 | Nil = nil, raw_attributes : Hash(String, JSON::Any) = {} of String => JSON::Any)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
access_token
Sourceaccess_token=(access_token : String | Nil)
Sourceavatar_url
Sourceavatar_url=(avatar_url : String | Nil)
Sourceemail
Sourceemail=(email : String | Nil)
Sourceemail_verified=(email_verified : Bool)
Sourceemail_verified?
Sourceexpires_in
Sourceexpires_in=(expires_in : Int64 | Nil)
Sourcefirst_name
Sourcefirst_name=(first_name : String | Nil)
Sourceid_token
Sourceid_token=(id_token : String | Nil)
Sourcelast_name
Sourcelast_name=(last_name : String | Nil)
Sourcename
Sourcename=(name : String | Nil)
Sourcenickname
Sourcenickname=(nickname : String | Nil)
Sourceprovider
Sourceprovider=(provider : String)
Sourceraw_attributes
Sourceraw_attributes=(raw_attributes : Hash(String, JSON::Any))
Sourcerefresh_token
Sourcerefresh_token=(refresh_token : String | Nil)
Sourceuid
Sourceuid=(uid : String)
Source