oidcAuth

package
v5.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 19 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