Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RefreshTokenGrantHandler ¶
type RefreshTokenGrantHandler struct { AccessTokenStrategy core.AccessTokenStrategy RefreshTokenStrategy core.RefreshTokenStrategy // Store is used to persist session data across requests. Store RefreshTokenGrantStorage // AccessTokenLifespan defines the lifetime of an access token. AccessTokenLifespan time.Duration }
func (*RefreshTokenGrantHandler) HandleTokenEndpointRequest ¶
func (c *RefreshTokenGrantHandler) HandleTokenEndpointRequest(ctx context.Context, req *http.Request, requester fosite.AccessRequester, responder fosite.AccessResponder) error
HandleTokenEndpointRequest implements https://tools.ietf.org/html/rfc6749#section-6
func (*RefreshTokenGrantHandler) ValidateTokenEndpointRequest ¶
func (c *RefreshTokenGrantHandler) ValidateTokenEndpointRequest(ctx context.Context, req *http.Request, request fosite.AccessRequester) error
ValidateTokenEndpointRequest implements https://tools.ietf.org/html/rfc6749#section-6
type RefreshTokenGrantStorage ¶
type RefreshTokenGrantStorage interface { core.AccessTokenStorage core.RefreshTokenStorage }
Click to show internal directories.
Click to hide internal directories.