OAuth2::AccessToken::Mac
Inherits OAuth2::AccessToken / Reference / Object
Constructors
new(access_token : String, expires_in, mac_algorithm : String, mac_key : String, refresh_token : String | Nil = nil, scope : String | Nil = nil, issued_at : Int64 = Time.utc.to_unix, extra : Hash(String, String) | Nil = nil)
Sourcenew(pull : JSON::PullParser) : self
SourceClass methods
Instance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
authenticate(request : HTTP::Request, tls)
Sourcehash(hasher)
See Object#hash(hasher)
issued_at
Sourcemac_algorithm
Sourcemac_key
Sourcetoken_type
Source