struct CB::Token

Included Modules

Defined in:

cb/token.cr

Constant Summary

CONFIG = Creds::CONFIG

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(host : String, token : String, expires : Int64, user_id : String, name : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.for_host(host) : Token | Nil #

[View source]

Instance Method Detail

def expires : Int64 #

[View source]
def host : String #

[View source]
def name : String #

[View source]
def store #

[View source]
def token : String #

[View source]
def user_id : String #

[View source]