struct

Cri::Auth::OAuthTokens

Inherits Struct < Value < Object

Constructors

new(access_token : String, refresh_token : String | Nil, token_type : String, expires_in : Int64 | Nil, id_token : String | Nil = nil, account_id : String | Nil = nil)
Source

Instance methods

access_token
account_id
clone
Source
copy_with(access_token _access_token = @access_token, refresh_token _refresh_token = @refresh_token, token_type _token_type = @token_type, expires_in _expires_in = @expires_in, id_token _id_token = @id_token, account_id _account_id = @account_id)
Source
expires_in
id_token
refresh_token
to_json(json : JSON::Builder)
Source
token_type