Documentation ¶
Index ¶
- type Handler
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { // If set to true, public clients must use PKCE. Force bool // Whether or not to allow the plain challenge method (S256 should be used whenever possible, plain is really discouraged). EnablePlainChallengeMethod bool AuthorizeCodeStrategy oauth2.AuthorizeCodeStrategy CoreStorage oauth2.CoreStorage }
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
Click to show internal directories.
Click to hide internal directories.