oidc

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitOIDCConfig

func InitOIDCConfig() error

初始化OIDC配置

Types

type OIDCConfig

type OIDCConfig struct {
	Provider     *oidc.Provider
	OAuth2Config *oauth2.Config
	Verifier     *oidc.IDTokenVerifier
	LoginURL     func(state string) string
}

func GetOIDCConfigInstance

func GetOIDCConfigInstance() (*OIDCConfig, error)

获取 OIDCConfig 实例,如果未初始化则进行初始化

Jump to

Keyboard shortcuts

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