global

package
v1.19.28 Latest Latest
Warning

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

Go to latest
Published: May 17, 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

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

type Feishu

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

type Jwt

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

type Sms

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

type SshDev

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

type WebAuthn

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