package
0.0.0-20241226230300
Repository: https://github.com/jing-ze/oauth2-proxy.git
Documentation: pkg.go.dev

# Functions

AddRequestScope adds a RequestScope to a request.
CreateTokenToSessionFunc provides a handler that is a default implementation for converting a JWT into a session.
GetRequestScope returns the current request scope from the given request.

# Constants

RequestScopeKey uses a typed string to reduce likelihood of clashing with other context keys.

# Structs

RequestScope contains information regarding the request that is being made.

# Type aliases

TokenToSessionFunc takes a raw ID Token and converts it into a SessionState.
VerifyFunc takes a raw bearer token and verifies it returning the converted oidc.IDToken representation of the token.