struct OAuth2Controller::AuthorizationCode

Defined in:

controllers/oauth2.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(account_id : Int64, client_id : String, redirect_uri : String, code_challenge : String, code_challenge_method : String, expires_at : Time) #

[View source]

Instance Method Detail

def account_id : Int64 #

def client_id : String #

def clone #

[View source]
def code_challenge : String #

def code_challenge_method : String #

def copy_with(account_id _account_id = @account_id, client_id _client_id = @client_id, redirect_uri _redirect_uri = @redirect_uri, code_challenge _code_challenge = @code_challenge, code_challenge_method _code_challenge_method = @code_challenge_method, expires_at _expires_at = @expires_at) #

[View source]
def expires_at : Time #

def redirect_uri : String #