struct Authly::Code
- Authly::Code
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
authly/code.crConstant Summary
-
CODE_TTL =
Authly.config.code_ttl
-
ISSUER =
Authly.config.issuer
Constructors
- .new(client_id : String, scope : String, redirect_uri : String, challenge : String = "", method : String = "", user_id : String = "")
- .new(pull : JSON::PullParser)
Instance Method Summary
- #challenge : String
- #client_id : String
- #code : String
- #jwt
- #method : String
- #redirect_uri : String
- #scope : String
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #user_id : String
Constructor Detail
def self.new(client_id : String, scope : String, redirect_uri : String, challenge : String = "", method : String = "", user_id : String = "")
#
Instance Method Detail
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
.