struct CB::Tempkey

Included Modules

Extended Modules

Defined in:

cb/tempkey.cr

Constructors

Instance Method Summary

Instance methods inherited from module CB::Cacheable

expires_at : Time expires_at, key key, store store

Macros inherited from module CB::Cacheable

include(key) include

Constructor Detail

def self.for_cluster(cluster_id : Identifier, client) : Tempkey #

[View source]
def self.new(private_key : String, public_key : String, cluster_id : String, team_id : String, expires_at : Time) #

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

Instance Method Detail

def clone #

[View source]
def cluster_id : String #

def copy_with(private_key _private_key = @private_key, public_key _public_key = @public_key, cluster_id _cluster_id = @cluster_id, team_id _team_id = @team_id, expires_at _expires_at = @expires_at) #

[View source]
def expires_at : Time #

def key #

[View source]
def private_key : String #

def public_key : String #

def team_id : String #