manager

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 9 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultManager

type DefaultManager struct {
	Config                              *sdk.Config
	TokenRequestContextFactory          sdk.TokenRequestContextFactory
	TokenResponseWriter                 sdk.TokenResponseWriter
	JsonErrorWriter                     sdk.JsonErrorWriter
	AuthenticationRequestContextFactory sdk.AuthenticationRequestContextFactory
	AuthenticationResponseWriter        sdk.AuthenticationResponseWriter
	RedirectErrorWriter                 sdk.RedirectErrorWriter
	AuthEPHandlers                      []sdk.IAuthEPHandler
	TokenEPHandlers                     []sdk.ITokenEPHandler
	IntrospectionEPHandlers             []sdk.IIntrospectionEPHandler
	RevocationEPHandlers                []sdk.IRevocationEPHandler
	ErrorStrategy                       sdk.ErrorStrategy
	UserSessionManager                  sdk.ISessionManager
	LoginPageHandler                    http.HandlerFunc
	ConsentPageHandler                  http.HandlerFunc
	IntrospectionRequestContextFactory  sdk.IntrospectionRequestContextFactory
	IntrospectionResponseWriter         sdk.IntrospectionResponseWriter
	RevocationRequestContextFactory     sdk.RevocationRequestContextFactory
	RevocationResponseWriter            sdk.RevocationResponseWriter
	SecretStore                         sdk.ISecretStore
}

func (*DefaultManager) ProcessAuthorizationEP

func (d *DefaultManager) ProcessAuthorizationEP(w http.ResponseWriter, r *http.Request)

func (*DefaultManager) ProcessDiscoveryEP added in v0.3.0

func (d *DefaultManager) ProcessDiscoveryEP(writer http.ResponseWriter, _ *http.Request)

func (*DefaultManager) ProcessIntrospectionEP

func (d *DefaultManager) ProcessIntrospectionEP(writer http.ResponseWriter, request *http.Request)

func (*DefaultManager) ProcessKeysEP added in v0.3.0

func (d *DefaultManager) ProcessKeysEP(writer http.ResponseWriter, _ *http.Request)

func (*DefaultManager) ProcessRevocationEP

func (d *DefaultManager) ProcessRevocationEP(writer http.ResponseWriter, request *http.Request)

func (*DefaultManager) ProcessTokenEP

func (d *DefaultManager) ProcessTokenEP(w http.ResponseWriter, r *http.Request)

type DiscoveryMetadata added in v0.3.0

type DiscoveryMetadata struct {
	Issuer                            string   `json:"issuer,omitempty"`
	AuthorizationEndpoint             string   `json:"authorization_endpoint,omitempty"`
	TokenEndpoint                     string   `json:"token_endpoint,omitempty"`
	IntrospectionEndpoint             string   `json:"introspection_endpoint,omitempty"`
	RevocationEndpoint                string   `json:"revocation_endpoint,omitempty"`
	UserInfoEndpoint                  string   `json:"user_info_endpoint,omitempty"`
	JwksUri                           string   `json:"jwks_uri,omitempty"`
	ScopesSupported                   []string `json:"scopes_supported,omitempty"`
	ResponseTypesSupported            []string `json:"response_types_supported,omitempty"`
	ResponseModesSupported            []string `json:"response_modes_supported,omitempty"`
	GrantTypesSupported               []string `json:"grant_types_supported,omitempty"`
	SubjectTypesSupported             []string `json:"subject_types_supported,omitempty"`
	IdTokenSigningAlgValuesSupported  []string `json:"id_token_signing_alg_values_supported,omitempty"`
	TokenEndpointAuthMethodsSupported []string `json:"token_endpoint_auth_methods_supported,omitempty"`
	ClaimsSupported                   []string `json:"claims_supported,omitempty"`
}

Jump to

Keyboard shortcuts

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