global

package
v1.19.30 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigDir = "config"
View Source
const ThisAppName = "统一授权系统"

Variables

View Source
var CaIssuer *ca.Issuer
View Source
var Config _Config
View Source
var JwtEd25519 _Ed25519Keypair

Functions

This section is empty.

Types

type DingTalk added in v1.17.19

type DingTalk struct {
	ClientID string `yaml:"clientID"`
	Secret   string `yaml:"secret"`
}

type Feishu added in v1.17.19

type Feishu struct {
	ClientID                 string `yaml:"clientID"`
	Secret                   string `yaml:"secret"`
	WebhookVerificationToken string `json:"webhook_verification_token"`
}

type Jwt added in v1.17.19

type Jwt struct {
	SignKey string `yaml:"signKey"`
}

type Sms added in v1.17.19

type Sms struct {
	SpCode    string `yaml:"spCode"`
	LoginName string `yaml:"loginName"`
	Password  string `yaml:"password"`
}

type SshDev added in v1.17.19

type SshDev struct {
	Token string `yaml:"token" config:"omitempty"`
}

type WebAuthn added in v1.17.19

type WebAuthn struct {
	ID     string `yaml:"id"`
	Origin string `yaml:"origin"`
}

Jump to

Keyboard shortcuts

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