Documentation ¶
Index ¶
- type Handler
- func (c *Handler) CanHandleTokenEndpointRequest(ctx context.Context, requester fosite.AccessRequester) bool
- func (c *Handler) CanSkipClientAuth(ctx context.Context, requester fosite.AccessRequester) bool
- func (c *Handler) HandleAuthorizeEndpointRequest(ctx context.Context, ar fosite.AuthorizeRequester, ...) error
- func (c *Handler) HandleTokenEndpointRequest(ctx context.Context, request fosite.AccessRequester) error
- func (c *Handler) PopulateTokenEndpointResponse(ctx context.Context, requester fosite.AccessRequester, ...) error
- type PKCERequestStorage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { AuthorizeCodeStrategy oauth2.AuthorizeCodeStrategy Storage PKCERequestStorage Config interface { fosite.EnforcePKCEProvider fosite.EnforcePKCEForPublicClientsProvider fosite.EnablePKCEPlainChallengeMethodProvider } }
func (*Handler) CanHandleTokenEndpointRequest ¶ added in v0.37.0
func (*Handler) CanSkipClientAuth ¶ added in v0.37.0
func (*Handler) HandleAuthorizeEndpointRequest ¶
func (c *Handler) HandleAuthorizeEndpointRequest(ctx context.Context, ar fosite.AuthorizeRequester, resp fosite.AuthorizeResponder) error
func (*Handler) HandleTokenEndpointRequest ¶
func (*Handler) PopulateTokenEndpointResponse ¶
func (c *Handler) PopulateTokenEndpointResponse(ctx context.Context, requester fosite.AccessRequester, responder fosite.AccessResponder) error
type PKCERequestStorage ¶ added in v0.17.0
type PKCERequestStorage interface { GetPKCERequestSession(ctx context.Context, signature string, session fosite.Session) (fosite.Requester, error) CreatePKCERequestSession(ctx context.Context, signature string, requester fosite.Requester) error DeletePKCERequestSession(ctx context.Context, signature string) error }
Click to show internal directories.
Click to hide internal directories.