struct Authly::Code

Included Modules

Defined in:

authly/code.cr

Constant Summary

CODE_TTL = Authly.config.code_ttl
ISSUER = Authly.config.issuer

Constructors

Instance Method Summary

Constructor Detail

def self.new(client_id : String, scope : String, redirect_uri : String, challenge : String = "", method : String = "", user_id : String = "") #

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

[View source]

Instance Method Detail

def challenge : String #

[View source]
def client_id : String #

[View source]
def code : String #

[View source]
def jwt #

[View source]
def method : String #

[View source]
def redirect_uri : String #

[View source]
def scope : String #

[View source]
def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]
def user_id : String #

[View source]