class Google::TokenAuth
- Google::TokenAuth
- Google::Auth
- Reference
- Object
Defined in:
auth/token_auth.crConstructors
- .new(access_token : String, expires_at : Int64, user_agent : String = DEFAULT_USER_AGENT)
- .new(refresh_token : String, access_token : String, expires_at : Int64, user_agent : String = DEFAULT_USER_AGENT)
Instance Method Summary
Instance methods inherited from class Google::Auth
client_email : String
client_email,
get_token : Token
get_token,
issuer : String
issuer,
signing_key : String
signing_key,
user_agent : String
user_agent,
user_agent=(user_agent : String)
user_agent=
Constructor methods inherited from class Google::Auth
new(issuer : String, signing_key : String, scopes : String | Array(String), sub : String = "", user_agent : String = DEFAULT_USER_AGENT)
new
Constructor Detail
def self.new(access_token : String, expires_at : Int64, user_agent : String = DEFAULT_USER_AGENT)
#
def self.new(refresh_token : String, access_token : String, expires_at : Int64, user_agent : String = DEFAULT_USER_AGENT)
#