handlers

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OAuth2PreAuthorizeFactory

func OAuth2PreAuthorizeFactory(config fosite.Configurator, storage interface{}, strategy interface{}) interface{}

OAuth2PreAuthorizeFactory creates an OAuth2 pre-authorize code grant handler.

Types

type PreAuthorizeGrantHandler

func (*PreAuthorizeGrantHandler) CanHandleTokenEndpointRequest

func (c *PreAuthorizeGrantHandler) CanHandleTokenEndpointRequest(
	_ context.Context,
	requester fosite.AccessRequester,
) bool

func (*PreAuthorizeGrantHandler) CanSkipClientAuth

func (c *PreAuthorizeGrantHandler) CanSkipClientAuth(
	_ context.Context,
	_ fosite.AccessRequester,
) bool

func (*PreAuthorizeGrantHandler) HandleTokenEndpointRequest

func (c *PreAuthorizeGrantHandler) HandleTokenEndpointRequest(
	_ context.Context,
	_ fosite.AccessRequester,
) error

func (*PreAuthorizeGrantHandler) PopulateTokenEndpointResponse

func (c *PreAuthorizeGrantHandler) PopulateTokenEndpointResponse(
	ctx context.Context,
	requester fosite.AccessRequester,
	responder fosite.AccessResponder,
) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL