manager

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 10 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
	RequestContextFactory   sdk.IRequestContextFactory
	ErrorWriter             sdk.IErrorWriter
	ResponseWriter          sdk.IResponseWriter
	ErrorStrategy           sdk.ErrorStrategy
	UserSessionManager      sdk.ISessionManager
	SecretStore             sdk.ISecretStore
	PageResponseHandler     sdk.IPageResponseHandler
	RPILogoutEPHandlers     []sdk.IRPILogoutEPHandler
	AuthEPHandlers          []sdk.IAuthEPHandler
	TokenEPHandlers         []sdk.ITokenEPHandler
	IntrospectionEPHandlers []sdk.IIntrospectionEPHandler
	RevocationEPHandlers    []sdk.IRevocationEPHandler
	UserInfoEPHandlers      []sdk.IUserInfoEPHandler
}

func NewDefaultManager added in v0.7.0

func NewDefaultManager(config *sdk.Config, options *Options) *DefaultManager

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, req *http.Request)

func (*DefaultManager) ProcessRPILogoutEP added in v0.8.0

func (d *DefaultManager) ProcessRPILogoutEP(w http.ResponseWriter, r *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)

func (*DefaultManager) ProcessUserInfoEP added in v0.6.0

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

func (*DefaultManager) SetErrorStrategy added in v0.7.0

func (d *DefaultManager) SetErrorStrategy(strategy sdk.ErrorStrategy)

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"`
	LogoutUri                         string   `json:"end_session_endpoint,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"`
}

type Options added in v0.7.0

type Options struct {
	PageResponseHandler   sdk.IPageResponseHandler
	RequestContextFactory sdk.IRequestContextFactory
	ErrorWriter           sdk.IErrorWriter
	ResponseWriter        sdk.IResponseWriter
	UserSessionManager    sdk.ISessionManager
	SecretStore           sdk.ISecretStore
	Sequence              []interface{}
}

Jump to

Keyboard shortcuts

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