settings

package
v2.2.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SMTPConfigState_name = map[int32]string{
		0: "SMTP_CONFIG_STATE_UNSPECIFIED",
		1: "SMTP_CONFIG_ACTIVE",
		2: "SMTP_CONFIG_INACTIVE",
	}
	SMTPConfigState_value = map[string]int32{
		"SMTP_CONFIG_STATE_UNSPECIFIED": 0,
		"SMTP_CONFIG_ACTIVE":            1,
		"SMTP_CONFIG_INACTIVE":          2,
	}
)

Enum value maps for SMTPConfigState.

View Source
var (
	SecretGeneratorType_name = map[int32]string{
		0: "SECRET_GENERATOR_TYPE_UNSPECIFIED",
		1: "SECRET_GENERATOR_TYPE_INIT_CODE",
		2: "SECRET_GENERATOR_TYPE_VERIFY_EMAIL_CODE",
		3: "SECRET_GENERATOR_TYPE_VERIFY_PHONE_CODE",
		4: "SECRET_GENERATOR_TYPE_PASSWORD_RESET_CODE",
		5: "SECRET_GENERATOR_TYPE_PASSWORDLESS_INIT_CODE",
		6: "SECRET_GENERATOR_TYPE_APP_SECRET",
		7: "SECRET_GENERATOR_TYPE_OTP_SMS",
		8: "SECRET_GENERATOR_TYPE_OTP_EMAIL",
	}
	SecretGeneratorType_value = map[string]int32{
		"SECRET_GENERATOR_TYPE_UNSPECIFIED":            0,
		"SECRET_GENERATOR_TYPE_INIT_CODE":              1,
		"SECRET_GENERATOR_TYPE_VERIFY_EMAIL_CODE":      2,
		"SECRET_GENERATOR_TYPE_VERIFY_PHONE_CODE":      3,
		"SECRET_GENERATOR_TYPE_PASSWORD_RESET_CODE":    4,
		"SECRET_GENERATOR_TYPE_PASSWORDLESS_INIT_CODE": 5,
		"SECRET_GENERATOR_TYPE_APP_SECRET":             6,
		"SECRET_GENERATOR_TYPE_OTP_SMS":                7,
		"SECRET_GENERATOR_TYPE_OTP_EMAIL":              8,
	}
)

Enum value maps for SecretGeneratorType.

View Source
var (
	SMSProviderConfigState_name = map[int32]string{
		0: "SMS_PROVIDER_CONFIG_STATE_UNSPECIFIED",
		1: "SMS_PROVIDER_CONFIG_ACTIVE",
		2: "SMS_PROVIDER_CONFIG_INACTIVE",
	}
	SMSProviderConfigState_value = map[string]int32{
		"SMS_PROVIDER_CONFIG_STATE_UNSPECIFIED": 0,
		"SMS_PROVIDER_CONFIG_ACTIVE":            1,
		"SMS_PROVIDER_CONFIG_INACTIVE":          2,
	}
)

Enum value maps for SMSProviderConfigState.

View Source
var File_zitadel_settings_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DebugNotificationProvider

type DebugNotificationProvider struct {
	Details *object.ObjectDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	Compact bool                  `protobuf:"varint,2,opt,name=compact,proto3" json:"compact,omitempty"`
	// contains filtered or unexported fields
}

func (*DebugNotificationProvider) Descriptor deprecated

func (*DebugNotificationProvider) Descriptor() ([]byte, []int)

Deprecated: Use DebugNotificationProvider.ProtoReflect.Descriptor instead.

func (*DebugNotificationProvider) GetCompact

func (x *DebugNotificationProvider) GetCompact() bool

func (*DebugNotificationProvider) GetDetails

func (*DebugNotificationProvider) ProtoMessage

func (*DebugNotificationProvider) ProtoMessage()

func (*DebugNotificationProvider) ProtoReflect

func (*DebugNotificationProvider) Reset

func (x *DebugNotificationProvider) Reset()

func (*DebugNotificationProvider) String

func (x *DebugNotificationProvider) String() string

type OIDCSettings

type OIDCSettings struct {
	Details                    *object.ObjectDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	AccessTokenLifetime        *durationpb.Duration  `protobuf:"bytes,2,opt,name=access_token_lifetime,json=accessTokenLifetime,proto3" json:"access_token_lifetime,omitempty"`
	IdTokenLifetime            *durationpb.Duration  `protobuf:"bytes,3,opt,name=id_token_lifetime,json=idTokenLifetime,proto3" json:"id_token_lifetime,omitempty"`
	RefreshTokenIdleExpiration *durationpb.Duration  `` /* 143-byte string literal not displayed */
	RefreshTokenExpiration     *durationpb.Duration  `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OIDCSettings) Descriptor deprecated

func (*OIDCSettings) Descriptor() ([]byte, []int)

Deprecated: Use OIDCSettings.ProtoReflect.Descriptor instead.

func (*OIDCSettings) GetAccessTokenLifetime

func (x *OIDCSettings) GetAccessTokenLifetime() *durationpb.Duration

func (*OIDCSettings) GetDetails

func (x *OIDCSettings) GetDetails() *object.ObjectDetails

func (*OIDCSettings) GetIdTokenLifetime

func (x *OIDCSettings) GetIdTokenLifetime() *durationpb.Duration

func (*OIDCSettings) GetRefreshTokenExpiration

func (x *OIDCSettings) GetRefreshTokenExpiration() *durationpb.Duration

func (*OIDCSettings) GetRefreshTokenIdleExpiration

func (x *OIDCSettings) GetRefreshTokenIdleExpiration() *durationpb.Duration

func (*OIDCSettings) ProtoMessage

func (*OIDCSettings) ProtoMessage()

func (*OIDCSettings) ProtoReflect

func (x *OIDCSettings) ProtoReflect() protoreflect.Message

func (*OIDCSettings) Reset

func (x *OIDCSettings) Reset()

func (*OIDCSettings) String

func (x *OIDCSettings) String() string

type SMSProvider

type SMSProvider struct {
	Details *object.ObjectDetails  `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	Id      string                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	State   SMSProviderConfigState `protobuf:"varint,3,opt,name=state,proto3,enum=zitadel.settings.v1.SMSProviderConfigState" json:"state,omitempty"`
	// Types that are assignable to Config:
	//
	//	*SMSProvider_Twilio
	Config isSMSProvider_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

func (*SMSProvider) Descriptor deprecated

func (*SMSProvider) Descriptor() ([]byte, []int)

Deprecated: Use SMSProvider.ProtoReflect.Descriptor instead.

func (*SMSProvider) GetConfig

func (m *SMSProvider) GetConfig() isSMSProvider_Config

func (*SMSProvider) GetDetails

func (x *SMSProvider) GetDetails() *object.ObjectDetails

func (*SMSProvider) GetId

func (x *SMSProvider) GetId() string

func (*SMSProvider) GetState

func (x *SMSProvider) GetState() SMSProviderConfigState

func (*SMSProvider) GetTwilio

func (x *SMSProvider) GetTwilio() *TwilioConfig

func (*SMSProvider) ProtoMessage

func (*SMSProvider) ProtoMessage()

func (*SMSProvider) ProtoReflect

func (x *SMSProvider) ProtoReflect() protoreflect.Message

func (*SMSProvider) Reset

func (x *SMSProvider) Reset()

func (*SMSProvider) String

func (x *SMSProvider) String() string

type SMSProviderConfigState

type SMSProviderConfigState int32
const (
	SMSProviderConfigState_SMS_PROVIDER_CONFIG_STATE_UNSPECIFIED SMSProviderConfigState = 0
	SMSProviderConfigState_SMS_PROVIDER_CONFIG_ACTIVE            SMSProviderConfigState = 1
	SMSProviderConfigState_SMS_PROVIDER_CONFIG_INACTIVE          SMSProviderConfigState = 2
)

func (SMSProviderConfigState) Descriptor

func (SMSProviderConfigState) Enum

func (SMSProviderConfigState) EnumDescriptor deprecated

func (SMSProviderConfigState) EnumDescriptor() ([]byte, []int)

Deprecated: Use SMSProviderConfigState.Descriptor instead.

func (SMSProviderConfigState) Number

func (SMSProviderConfigState) String

func (x SMSProviderConfigState) String() string

func (SMSProviderConfigState) Type

type SMSProvider_Twilio

type SMSProvider_Twilio struct {
	Twilio *TwilioConfig `protobuf:"bytes,4,opt,name=twilio,proto3,oneof"`
}

type SMTPConfig

type SMTPConfig struct {
	Details        *object.ObjectDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	SenderAddress  string                `protobuf:"bytes,2,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"`
	SenderName     string                `protobuf:"bytes,3,opt,name=sender_name,json=senderName,proto3" json:"sender_name,omitempty"`
	Tls            bool                  `protobuf:"varint,4,opt,name=tls,proto3" json:"tls,omitempty"`
	Host           string                `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"`
	User           string                `protobuf:"bytes,6,opt,name=user,proto3" json:"user,omitempty"`
	ReplyToAddress string                `protobuf:"bytes,7,opt,name=reply_to_address,json=replyToAddress,proto3" json:"reply_to_address,omitempty"`
	State          SMTPConfigState       `protobuf:"varint,8,opt,name=state,proto3,enum=zitadel.settings.v1.SMTPConfigState" json:"state,omitempty"`
	Description    string                `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	Id             string                `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*SMTPConfig) Descriptor deprecated

func (*SMTPConfig) Descriptor() ([]byte, []int)

Deprecated: Use SMTPConfig.ProtoReflect.Descriptor instead.

func (*SMTPConfig) GetDescription added in v2.1.13

func (x *SMTPConfig) GetDescription() string

func (*SMTPConfig) GetDetails

func (x *SMTPConfig) GetDetails() *object.ObjectDetails

func (*SMTPConfig) GetHost

func (x *SMTPConfig) GetHost() string

func (*SMTPConfig) GetId added in v2.1.13

func (x *SMTPConfig) GetId() string

func (*SMTPConfig) GetReplyToAddress added in v2.0.18

func (x *SMTPConfig) GetReplyToAddress() string

func (*SMTPConfig) GetSenderAddress

func (x *SMTPConfig) GetSenderAddress() string

func (*SMTPConfig) GetSenderName

func (x *SMTPConfig) GetSenderName() string

func (*SMTPConfig) GetState added in v2.1.13

func (x *SMTPConfig) GetState() SMTPConfigState

func (*SMTPConfig) GetTls

func (x *SMTPConfig) GetTls() bool

func (*SMTPConfig) GetUser

func (x *SMTPConfig) GetUser() string

func (*SMTPConfig) ProtoMessage

func (*SMTPConfig) ProtoMessage()

func (*SMTPConfig) ProtoReflect

func (x *SMTPConfig) ProtoReflect() protoreflect.Message

func (*SMTPConfig) Reset

func (x *SMTPConfig) Reset()

func (*SMTPConfig) String

func (x *SMTPConfig) String() string

type SMTPConfigState added in v2.1.13

type SMTPConfigState int32
const (
	SMTPConfigState_SMTP_CONFIG_STATE_UNSPECIFIED SMTPConfigState = 0
	SMTPConfigState_SMTP_CONFIG_ACTIVE            SMTPConfigState = 1
	SMTPConfigState_SMTP_CONFIG_INACTIVE          SMTPConfigState = 2
)

func (SMTPConfigState) Descriptor added in v2.1.13

func (SMTPConfigState) Enum added in v2.1.13

func (x SMTPConfigState) Enum() *SMTPConfigState

func (SMTPConfigState) EnumDescriptor deprecated added in v2.1.13

func (SMTPConfigState) EnumDescriptor() ([]byte, []int)

Deprecated: Use SMTPConfigState.Descriptor instead.

func (SMTPConfigState) Number added in v2.1.13

func (SMTPConfigState) String added in v2.1.13

func (x SMTPConfigState) String() string

func (SMTPConfigState) Type added in v2.1.13

type SecretGenerator

type SecretGenerator struct {
	GeneratorType       SecretGeneratorType   `` /* 146-byte string literal not displayed */
	Details             *object.ObjectDetails `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	Length              uint32                `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"`
	Expiry              *durationpb.Duration  `protobuf:"bytes,4,opt,name=expiry,proto3" json:"expiry,omitempty"`
	IncludeLowerLetters bool                  `protobuf:"varint,5,opt,name=include_lower_letters,json=includeLowerLetters,proto3" json:"include_lower_letters,omitempty"`
	IncludeUpperLetters bool                  `protobuf:"varint,6,opt,name=include_upper_letters,json=includeUpperLetters,proto3" json:"include_upper_letters,omitempty"`
	IncludeDigits       bool                  `protobuf:"varint,7,opt,name=include_digits,json=includeDigits,proto3" json:"include_digits,omitempty"`
	IncludeSymbols      bool                  `protobuf:"varint,8,opt,name=include_symbols,json=includeSymbols,proto3" json:"include_symbols,omitempty"`
	// contains filtered or unexported fields
}

func (*SecretGenerator) Descriptor deprecated

func (*SecretGenerator) Descriptor() ([]byte, []int)

Deprecated: Use SecretGenerator.ProtoReflect.Descriptor instead.

func (*SecretGenerator) GetDetails

func (x *SecretGenerator) GetDetails() *object.ObjectDetails

func (*SecretGenerator) GetExpiry

func (x *SecretGenerator) GetExpiry() *durationpb.Duration

func (*SecretGenerator) GetGeneratorType

func (x *SecretGenerator) GetGeneratorType() SecretGeneratorType

func (*SecretGenerator) GetIncludeDigits

func (x *SecretGenerator) GetIncludeDigits() bool

func (*SecretGenerator) GetIncludeLowerLetters

func (x *SecretGenerator) GetIncludeLowerLetters() bool

func (*SecretGenerator) GetIncludeSymbols

func (x *SecretGenerator) GetIncludeSymbols() bool

func (*SecretGenerator) GetIncludeUpperLetters

func (x *SecretGenerator) GetIncludeUpperLetters() bool

func (*SecretGenerator) GetLength

func (x *SecretGenerator) GetLength() uint32

func (*SecretGenerator) ProtoMessage

func (*SecretGenerator) ProtoMessage()

func (*SecretGenerator) ProtoReflect

func (x *SecretGenerator) ProtoReflect() protoreflect.Message

func (*SecretGenerator) Reset

func (x *SecretGenerator) Reset()

func (*SecretGenerator) String

func (x *SecretGenerator) String() string

type SecretGeneratorQuery

type SecretGeneratorQuery struct {

	// Types that are assignable to Query:
	//
	//	*SecretGeneratorQuery_TypeQuery
	Query isSecretGeneratorQuery_Query `protobuf_oneof:"query"`
	// contains filtered or unexported fields
}

func (*SecretGeneratorQuery) Descriptor deprecated

func (*SecretGeneratorQuery) Descriptor() ([]byte, []int)

Deprecated: Use SecretGeneratorQuery.ProtoReflect.Descriptor instead.

func (*SecretGeneratorQuery) GetQuery

func (m *SecretGeneratorQuery) GetQuery() isSecretGeneratorQuery_Query

func (*SecretGeneratorQuery) GetTypeQuery

func (*SecretGeneratorQuery) ProtoMessage

func (*SecretGeneratorQuery) ProtoMessage()

func (*SecretGeneratorQuery) ProtoReflect

func (x *SecretGeneratorQuery) ProtoReflect() protoreflect.Message

func (*SecretGeneratorQuery) Reset

func (x *SecretGeneratorQuery) Reset()

func (*SecretGeneratorQuery) String

func (x *SecretGeneratorQuery) String() string

type SecretGeneratorQuery_TypeQuery

type SecretGeneratorQuery_TypeQuery struct {
	TypeQuery *SecretGeneratorTypeQuery `protobuf:"bytes,1,opt,name=type_query,json=typeQuery,proto3,oneof"`
}

type SecretGeneratorType

type SecretGeneratorType int32
const (
	SecretGeneratorType_SECRET_GENERATOR_TYPE_UNSPECIFIED            SecretGeneratorType = 0
	SecretGeneratorType_SECRET_GENERATOR_TYPE_INIT_CODE              SecretGeneratorType = 1
	SecretGeneratorType_SECRET_GENERATOR_TYPE_VERIFY_EMAIL_CODE      SecretGeneratorType = 2
	SecretGeneratorType_SECRET_GENERATOR_TYPE_VERIFY_PHONE_CODE      SecretGeneratorType = 3
	SecretGeneratorType_SECRET_GENERATOR_TYPE_PASSWORD_RESET_CODE    SecretGeneratorType = 4
	SecretGeneratorType_SECRET_GENERATOR_TYPE_PASSWORDLESS_INIT_CODE SecretGeneratorType = 5
	SecretGeneratorType_SECRET_GENERATOR_TYPE_APP_SECRET             SecretGeneratorType = 6
	SecretGeneratorType_SECRET_GENERATOR_TYPE_OTP_SMS                SecretGeneratorType = 7
	SecretGeneratorType_SECRET_GENERATOR_TYPE_OTP_EMAIL              SecretGeneratorType = 8
)

func (SecretGeneratorType) Descriptor

func (SecretGeneratorType) Enum

func (SecretGeneratorType) EnumDescriptor deprecated

func (SecretGeneratorType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SecretGeneratorType.Descriptor instead.

func (SecretGeneratorType) Number

func (SecretGeneratorType) String

func (x SecretGeneratorType) String() string

func (SecretGeneratorType) Type

type SecretGeneratorTypeQuery

type SecretGeneratorTypeQuery struct {
	GeneratorType SecretGeneratorType `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SecretGeneratorTypeQuery) Descriptor deprecated

func (*SecretGeneratorTypeQuery) Descriptor() ([]byte, []int)

Deprecated: Use SecretGeneratorTypeQuery.ProtoReflect.Descriptor instead.

func (*SecretGeneratorTypeQuery) GetGeneratorType

func (x *SecretGeneratorTypeQuery) GetGeneratorType() SecretGeneratorType

func (*SecretGeneratorTypeQuery) ProtoMessage

func (*SecretGeneratorTypeQuery) ProtoMessage()

func (*SecretGeneratorTypeQuery) ProtoReflect

func (x *SecretGeneratorTypeQuery) ProtoReflect() protoreflect.Message

func (*SecretGeneratorTypeQuery) Reset

func (x *SecretGeneratorTypeQuery) Reset()

func (*SecretGeneratorTypeQuery) String

func (x *SecretGeneratorTypeQuery) String() string

type SecurityPolicy added in v2.0.6

type SecurityPolicy struct {
	Details *object.ObjectDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	// states if iframe embedding is enabled or disabled
	EnableIframeEmbedding bool `` /* 127-byte string literal not displayed */
	// origins allowed loading ZITADEL in an iframe if enable_iframe_embedding is true
	AllowedOrigins []string `protobuf:"bytes,3,rep,name=allowed_origins,json=allowedOrigins,proto3" json:"allowed_origins,omitempty"`
	// allows users to impersonate other users. The impersonator needs the appropriate `*_IMPERSONATOR` roles assigned as well"
	EnableImpersonation bool `protobuf:"varint,4,opt,name=enable_impersonation,json=enableImpersonation,proto3" json:"enable_impersonation,omitempty"`
	// contains filtered or unexported fields
}

func (*SecurityPolicy) Descriptor deprecated added in v2.0.6

func (*SecurityPolicy) Descriptor() ([]byte, []int)

Deprecated: Use SecurityPolicy.ProtoReflect.Descriptor instead.

func (*SecurityPolicy) GetAllowedOrigins added in v2.0.6

func (x *SecurityPolicy) GetAllowedOrigins() []string

func (*SecurityPolicy) GetDetails added in v2.0.6

func (x *SecurityPolicy) GetDetails() *object.ObjectDetails

func (*SecurityPolicy) GetEnableIframeEmbedding added in v2.0.6

func (x *SecurityPolicy) GetEnableIframeEmbedding() bool

func (*SecurityPolicy) GetEnableImpersonation added in v2.1.9

func (x *SecurityPolicy) GetEnableImpersonation() bool

func (*SecurityPolicy) ProtoMessage added in v2.0.6

func (*SecurityPolicy) ProtoMessage()

func (*SecurityPolicy) ProtoReflect added in v2.0.6

func (x *SecurityPolicy) ProtoReflect() protoreflect.Message

func (*SecurityPolicy) Reset added in v2.0.6

func (x *SecurityPolicy) Reset()

func (*SecurityPolicy) String added in v2.0.6

func (x *SecurityPolicy) String() string

type TwilioConfig

type TwilioConfig struct {
	Sid          string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"`
	SenderNumber string `protobuf:"bytes,2,opt,name=sender_number,json=senderNumber,proto3" json:"sender_number,omitempty"`
	// contains filtered or unexported fields
}

func (*TwilioConfig) Descriptor deprecated

func (*TwilioConfig) Descriptor() ([]byte, []int)

Deprecated: Use TwilioConfig.ProtoReflect.Descriptor instead.

func (*TwilioConfig) GetSenderNumber

func (x *TwilioConfig) GetSenderNumber() string

func (*TwilioConfig) GetSid

func (x *TwilioConfig) GetSid() string

func (*TwilioConfig) ProtoMessage

func (*TwilioConfig) ProtoMessage()

func (*TwilioConfig) ProtoReflect

func (x *TwilioConfig) ProtoReflect() protoreflect.Message

func (*TwilioConfig) Reset

func (x *TwilioConfig) Reset()

func (*TwilioConfig) String

func (x *TwilioConfig) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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