Documentation
¶
Index ¶
- type Handler
- func (c *Handler) CanHandleTokenEndpointRequest(_ context.Context, requester fosite.AccessRequester) bool
- func (c *Handler) CanSkipClientAuth(context.Context, fosite.AccessRequester) bool
- func (c *Handler) HandleTokenEndpointRequest(ctx context.Context, request fosite.AccessRequester) error
- func (c *Handler) PopulateTokenEndpointResponse(ctx context.Context, request fosite.AccessRequester, ...) error
- type NonceManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { Config interface { fosite.VerifiableCredentialsNonceLifespanProvider } NonceManager }
func (*Handler) CanHandleTokenEndpointRequest ¶
func (*Handler) CanSkipClientAuth ¶
func (*Handler) HandleTokenEndpointRequest ¶
func (*Handler) PopulateTokenEndpointResponse ¶
func (c *Handler) PopulateTokenEndpointResponse( ctx context.Context, request fosite.AccessRequester, response fosite.AccessResponder, ) error
type NonceManager ¶
type NonceManager interface { // NewNonce creates a new nonce bound to the access token valid until the given expiry time. NewNonce(ctx context.Context, accessToken string, expiresAt time.Time) (string, error) // IsNonceValid checks if the given nonce is valid for the given access token and not expired. IsNonceValid(ctx context.Context, accessToken string, nonce string) error }
Click to show internal directories.
Click to hide internal directories.