MCPcopy
hub / github.com/ory/hydra / AuthorizeEndpointHandler

Interface AuthorizeEndpointHandler

fosite/handler.go:10–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type AuthorizeEndpointHandler interface {
11 // HandleAuthorizeRequest handles an authorize endpoint request. To extend the handler's capabilities, the http request
12 // is passed along, if further information retrieval is required. If the handler feels that he is not responsible for
13 // the authorize request, he must return nil and NOT modify session nor responder neither requester.
14 //
15 // The following spec is a good example of what HandleAuthorizeRequest should do.
16 // * https://tools.ietf.org/html/rfc6749#section-3.1.1
17 // response_type REQUIRED.
18 // The value MUST be one of "code" for requesting an
19 // authorization code as described by Section 4.1.1, "token" for
20 // requesting an access token (implicit grant) as described by
21 // Section 4.2.1, or a registered extension value as described by Section 8.4.
22 HandleAuthorizeEndpointRequest(ctx context.Context, requester AuthorizeRequester, responder AuthorizeResponder) error
23}
24
25type TokenEndpointHandler interface {
26 // PopulateTokenEndpointResponse is responsible for setting return values and should only be executed if

Implementers 8

MockAuthorizeEndpointHandlerfosite/internal/authorize_endpoint_han
MockAuthorizeEndpointHandlerMockRecorderfosite/internal/authorize_endpoint_han
AuthorizeImplicitGrantHandlerfosite/handler/oauth2/flow_authorize_i
AuthorizeExplicitGrantHandlerfosite/handler/oauth2/flow_authorize_c
Handlerfosite/handler/pkce/handler.go
ExplicitHandlerfosite/handler/openid/flow_explicit_au
OpenIDConnectImplicitHandlerfosite/handler/openid/flow_implicit.go
OpenIDConnectHybridHandlerfosite/handler/openid/flow_hybrid.go

Calls

no outgoing calls

Tested by

no test coverage detected