systemdefaults

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainVerification added in v0.69.0

type DomainVerification struct {
	VerificationKey       *crypto.KeyConfig
	VerificationGenerator crypto.GeneratorConfig
}

type Endpoints added in v0.17.0

type Endpoints struct {
	InitCode      string
	PasswordReset string
	VerifyEmail   string
	DomainClaimed string
}

type KeyConfig added in v0.119.0

type KeyConfig struct {
	Size                     int
	PrivateKeyLifetime       types.Duration
	PublicKeyLifetime        types.Duration
	EncryptionConfig         *crypto.KeyConfig
	SigningKeyRotationCheck  types.Duration
	SigningKeyGracefulPeriod types.Duration
}

type MultifactorConfig added in v0.10.0

type MultifactorConfig struct {
	OTP OTPConfig
}

type Notifications added in v0.17.0

type Notifications struct {
	DebugMode    bool
	Endpoints    Endpoints
	Providers    Providers
	TemplateData TemplateData
}

type OTPConfig added in v0.10.0

type OTPConfig struct {
	Issuer          string
	VerificationKey *crypto.KeyConfig
}

type Providers added in v0.17.0

type Providers struct {
	Chat   chat.ChatConfig
	Email  email.EmailConfig
	Twilio twilio.TwilioConfig
}

type SecretGenerators added in v0.10.0

type SecretGenerators struct {
	PasswordSaltCost         int
	ClientSecretGenerator    crypto.GeneratorConfig
	InitializeUserCode       crypto.GeneratorConfig
	EmailVerificationCode    crypto.GeneratorConfig
	PhoneVerificationCode    crypto.GeneratorConfig
	PasswordVerificationCode crypto.GeneratorConfig
	MachineKeySize           uint32
	ApplicationKeySize       uint32
}

type SystemDefaults

type SystemDefaults struct {
	DefaultLanguage          language.Tag
	Domain                   string
	ZitadelDocs              ZitadelDocs
	SecretGenerators         SecretGenerators
	UserVerificationKey      *crypto.KeyConfig
	IDPConfigVerificationKey *crypto.KeyConfig
	Multifactors             MultifactorConfig
	VerificationLifetimes    VerificationLifetimes
	DomainVerification       DomainVerification
	IamID                    string
	Notifications            Notifications
	WebAuthN                 WebAuthN
	KeyConfig                KeyConfig
}

type TemplateData added in v0.17.0

type TemplateData struct {
	InitCode      templates.TemplateData
	PasswordReset templates.TemplateData
	VerifyEmail   templates.TemplateData
	VerifyPhone   templates.TemplateData
	DomainClaimed templates.TemplateData
}

type VerificationLifetimes added in v0.16.0

type VerificationLifetimes struct {
	PasswordCheck      types.Duration
	ExternalLoginCheck types.Duration
	MFAInitSkip        types.Duration
	SecondFactorCheck  types.Duration
	MultiFactorCheck   types.Duration
}

type WebAuthN added in v0.108.0

type WebAuthN struct {
	ID            string
	OriginLogin   string
	OriginConsole string
	DisplayName   string
}

type ZitadelDocs added in v0.64.0

type ZitadelDocs struct {
	Issuer            string
	DiscoveryEndpoint string
}

Jump to

Keyboard shortcuts

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