package
1.0.0-alpha.2
Repository: https://github.com/lstoll/oidc.git
Documentation: pkg.go.dev

# Functions

ClaimsFromContext returns the claims for the given request context.
NewMemorySessionStore creates a simple session store, that tracks state in memory.
RawIDTokenFromContext returns the raw JWT from the given request context.
TokenSourceFromContext returns a usable tokensource from this request context.

# Constants

DefaultKeyRefreshIterval is the default interval we try and refresh signing keys from the issuer.

# Structs

Handler wraps another http.Handler, protecting it with OIDC authentication.
SessionData contains the data this middleware needs to save/restore across requests.

# Interfaces

SessionStore are used for managing state across requests.