handler

package
v0.0.0-...-f83813f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 11 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
}

type LogoutSessionManager

type LogoutSessionManager interface {
	Logout(ctx context.Context, sessionBase session.SessionBase, w http.ResponseWriter) ([]session.ListableSession, 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