Skip to content

class OAuth2::AccessToken::Mac
inherits OAuth2::AccessToken

Class methods

.signature(ts, nonce, method, uri, host, port, ext, mac_algorithm, mac_key)

View source

.new(access_token, expires_in, mac_algorithm, mac_key, refresh_token = nil, scope = nil, issued_at = Time.utc.to_unix, extra = nil)

View source

Methods

#==(other : self)

Returns true if this reference is the same as other. Invokes same?.

#authenticate(request : HTTP::Request, tls)

View source

#hash(hasher)

#issued_at : Int64

View source

#issued_at=(issued_at : Int64)

View source

#mac_algorithm : String

View source

#mac_algorithm=(mac_algorithm : String)

View source

#mac_key : String

View source

#mac_key=(mac_key : String)

View source

#to_json(json : JSON::Builder)

View source

#token_type

View source