Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
authly
v1.2.8
Authly
AccessToken
AccessTokenHandler
AuthorizableClient
AuthorizableOwner
AuthorizationCode
AuthorizationHandler
Client
ClientCredentials
Clients
Code
CodeChallenge
CodeChallengeBuilder
Empty
Plain
S256
Configuration
Error
Grant
GrantFactory
GrantStrategy
Handler
InMemoryStateStore
InMemoryStore
IntrospectHandler
JWTToken
OpaqueToken
Owner
Owners
Password
RefreshToken
RefreshTokenHandler
ResponseHelper
ResponseType
RevokeHandler
StateStore
TokenManager
TokenStore
TokenStrategy
TokenStrategyFactory
Generated using Crystal 1.11.2
2024-10-12 08:48:14 UTC
class
Authly::
Grant
Authly::Grant
Reference
Object
Defined in:
authly/grant.cr
Constructors
.new
(grant_type : String, **args)
Instance Method Summary
#authorized?
#code
: String
#code=
(code : String)
#refresh_token_grant
#token
: AccessToken
Constructor Detail
def self.
new
(grant_type : String, **args)
#
[
View source
]
Instance Method Detail
def
authorized?
#
[
View source
]
def
code
: String
#
[
View source
]
def
code=
(code : String)
#
[
View source
]
def
refresh_token_grant
#
[
View source
]
def
token
:
AccessToken
#
[
View source
]