par

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PushedAuthorizeHandler

type PushedAuthorizeHandler struct {
	Storage any
	Config  oauth2.Configurator
}

PushedAuthorizeHandler handles the PAR request

func (*PushedAuthorizeHandler) HandlePushedAuthorizeEndpointRequest

func (c *PushedAuthorizeHandler) HandlePushedAuthorizeEndpointRequest(ctx context.Context, requester oauth2.AuthorizeRequester, responder oauth2.PushedAuthorizeResponder) (err error)

HandlePushedAuthorizeEndpointRequest handles a pushed authorize endpoint request. To extend the handler's capabilities, the http request is passed along, if further information retrieval is required. If the handler feels that he is not responsible for the pushed authorize request, he must return nil and NOT modify session nor responder neither requester.

Jump to

Keyboard shortcuts

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