config

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnableSelfSignSSL        = "true"
	EnableSkipTLSCertVerify  = "true"
	DefaultIssuerPort        = "9998"
	DefaultSigningAlgorithms = "RS256,RS384,RS512,PS256,PS384,PS512,ES256,ES384,ES512,EdDSA,HS256,HS384,HS512"
)

Variables

This section is empty.

Functions

func DefaultSigningAlgorithmsSlice

func DefaultSigningAlgorithmsSlice() []string

Types

type Config

type Config struct {
	Port              string
	RedirectURI       []string
	UsersFile         string
	Issuer            string
	SigningAlgorithms []string
	CryptoMethod      string
	TLSCertFile       string
	TLSKeyFile        string
}

func FromEnvVars

func FromEnvVars(defaults *Config) *Config

Jump to

Keyboard shortcuts

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