routeroidc

package
v5.4.6 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextMiddleware

func ContextMiddleware(next http.Handler) http.Handler

func InitOidc

func InitOidc(oidcIssuerURL string, oidcClientID string, oidcClientSecret string, oidcRedirectURL string, oidcScopes []string) error

func OIDCMiddleware

func OIDCMiddleware(next http.Handler) http.Handler

Types

type OidcInstance

type OidcInstance struct {
	OidcConfig oauth2.Config
	Provider   *oidc.Provider
}

func GetOidcInstance

func GetOidcInstance() (*OidcInstance, error)

Jump to

Keyboard shortcuts

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