sso

package
v0.0.0-...-cc59c3f Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const CAS = `` /* 262-byte string literal not displayed */

CAS 配置信息

View Source
const LDAP = `` /* 388-byte string literal not displayed */

LDAP 配置信息

View Source
const OAuth2 = `` /* 555-byte string literal not displayed */

OAuth2 配置信息

View Source
const OIDC = `` /* 276-byte string literal not displayed */

OIDC 配置信息

Variables

This section is empty.

Functions

This section is empty.

Types

type SsoClient

type SsoClient struct {
	OIDC   *oidcx.SsoClient
	LDAP   *ldapx.SsoClient
	CAS    *cas.SsoClient
	OAuth2 *oauth2x.SsoClient
}

定义了一个 SsoClient 结构体,用于存储不同类型的 SSO 客户端配置,包括 OIDC、LDAP、CAS 和 OAuth2

func Init

func Init(center cconf.Center, ctx *ctx.Context) *SsoClient

初始化和配置不同类型的单点登录客户端

Jump to

Keyboard shortcuts

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