handler

package
v0.0.0-...-c4f7e29 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DependencySet = wire.NewSet(
	wire.Struct(new(EndSessionHandler), "*"),
)

Functions

This section is empty.

Types

type CookieManager

type CookieManager interface {
	GetCookie(r *http.Request, def *httputil.CookieDef) (*http.Cookie, error)
}

type EndSessionHandler

type EndSessionHandler struct {
	Config           *config.OAuthConfig
	Endpoints        oidc.EndpointsProvider
	URLs             WebAppURLsProvider
	SessionManager   LogoutSessionManager
	SessionCookieDef session.CookieDef
	Cookies          CookieManager
}

func (*EndSessionHandler) Handle

type LogoutSessionManager

type LogoutSessionManager interface {
	Logout(session.Session, http.ResponseWriter) error
}

type WebAppURLsProvider

type WebAppURLsProvider interface {
	LogoutURL(redirectURI *url.URL) *url.URL
	SettingsURL() *url.URL
}

Jump to

Keyboard shortcuts

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