Documentation ¶
Index ¶
- Variables
- type DomainPolicy
- func (*DomainPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *DomainPolicy) GetDetails() *object.ObjectDetails
- func (x *DomainPolicy) GetIsDefault() bool
- func (x *DomainPolicy) GetSmtpSenderAddressMatchesInstanceDomain() bool
- func (x *DomainPolicy) GetUserLoginMustBeDomain() bool
- func (x *DomainPolicy) GetValidateOrgDomains() bool
- func (*DomainPolicy) ProtoMessage()
- func (x *DomainPolicy) ProtoReflect() protoreflect.Message
- func (x *DomainPolicy) Reset()
- func (x *DomainPolicy) String() string
- type LabelPolicy
- func (*LabelPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *LabelPolicy) GetBackgroundColor() string
- func (x *LabelPolicy) GetBackgroundColorDark() string
- func (x *LabelPolicy) GetDetails() *object.ObjectDetails
- func (x *LabelPolicy) GetDisableWatermark() bool
- func (x *LabelPolicy) GetFontColor() string
- func (x *LabelPolicy) GetFontColorDark() string
- func (x *LabelPolicy) GetFontUrl() string
- func (x *LabelPolicy) GetHideLoginNameSuffix() bool
- func (x *LabelPolicy) GetIconUrl() string
- func (x *LabelPolicy) GetIconUrlDark() string
- func (x *LabelPolicy) GetIsDefault() bool
- func (x *LabelPolicy) GetLogoUrl() string
- func (x *LabelPolicy) GetLogoUrlDark() string
- func (x *LabelPolicy) GetPrimaryColor() string
- func (x *LabelPolicy) GetPrimaryColorDark() string
- func (x *LabelPolicy) GetThemeMode() ThemeMode
- func (x *LabelPolicy) GetWarnColor() string
- func (x *LabelPolicy) GetWarnColorDark() string
- func (*LabelPolicy) ProtoMessage()
- func (x *LabelPolicy) ProtoReflect() protoreflect.Message
- func (x *LabelPolicy) Reset()
- func (x *LabelPolicy) String() string
- type LockoutPolicy
- func (*LockoutPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *LockoutPolicy) GetDetails() *object.ObjectDetails
- func (x *LockoutPolicy) GetIsDefault() bool
- func (x *LockoutPolicy) GetMaxOtpAttempts() uint64
- func (x *LockoutPolicy) GetMaxPasswordAttempts() uint64
- func (*LockoutPolicy) ProtoMessage()
- func (x *LockoutPolicy) ProtoReflect() protoreflect.Message
- func (x *LockoutPolicy) Reset()
- func (x *LockoutPolicy) String() string
- type LoginPolicy
- func (*LoginPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *LoginPolicy) GetAllowDomainDiscovery() bool
- func (x *LoginPolicy) GetAllowExternalIdp() bool
- func (x *LoginPolicy) GetAllowRegister() bool
- func (x *LoginPolicy) GetAllowUsernamePassword() bool
- func (x *LoginPolicy) GetDefaultRedirectUri() string
- func (x *LoginPolicy) GetDetails() *object.ObjectDetails
- func (x *LoginPolicy) GetDisableLoginWithEmail() bool
- func (x *LoginPolicy) GetDisableLoginWithPhone() bool
- func (x *LoginPolicy) GetExternalLoginCheckLifetime() *durationpb.Duration
- func (x *LoginPolicy) GetForceMfa() bool
- func (x *LoginPolicy) GetForceMfaLocalOnly() bool
- func (x *LoginPolicy) GetHidePasswordReset() bool
- func (x *LoginPolicy) GetIdps() []*idp.IDPLoginPolicyLink
- func (x *LoginPolicy) GetIgnoreUnknownUsernames() bool
- func (x *LoginPolicy) GetIsDefault() bool
- func (x *LoginPolicy) GetMfaInitSkipLifetime() *durationpb.Duration
- func (x *LoginPolicy) GetMultiFactorCheckLifetime() *durationpb.Duration
- func (x *LoginPolicy) GetMultiFactors() []MultiFactorType
- func (x *LoginPolicy) GetPasswordCheckLifetime() *durationpb.Duration
- func (x *LoginPolicy) GetPasswordlessType() PasswordlessType
- func (x *LoginPolicy) GetSecondFactorCheckLifetime() *durationpb.Duration
- func (x *LoginPolicy) GetSecondFactors() []SecondFactorType
- func (*LoginPolicy) ProtoMessage()
- func (x *LoginPolicy) ProtoReflect() protoreflect.Message
- func (x *LoginPolicy) Reset()
- func (x *LoginPolicy) String() string
- type MultiFactorType
- func (MultiFactorType) Descriptor() protoreflect.EnumDescriptor
- func (x MultiFactorType) Enum() *MultiFactorType
- func (MultiFactorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MultiFactorType) Number() protoreflect.EnumNumber
- func (x MultiFactorType) String() string
- func (MultiFactorType) Type() protoreflect.EnumType
- type NotificationPolicy
- func (*NotificationPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationPolicy) GetDetails() *object.ObjectDetails
- func (x *NotificationPolicy) GetIsDefault() bool
- func (x *NotificationPolicy) GetPasswordChange() bool
- func (*NotificationPolicy) ProtoMessage()
- func (x *NotificationPolicy) ProtoReflect() protoreflect.Message
- func (x *NotificationPolicy) Reset()
- func (x *NotificationPolicy) String() string
- type OrgIAMPolicy
- func (*OrgIAMPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *OrgIAMPolicy) GetDetails() *object.ObjectDetails
- func (x *OrgIAMPolicy) GetIsDefault() bool
- func (x *OrgIAMPolicy) GetUserLoginMustBeDomain() bool
- func (*OrgIAMPolicy) ProtoMessage()
- func (x *OrgIAMPolicy) ProtoReflect() protoreflect.Message
- func (x *OrgIAMPolicy) Reset()
- func (x *OrgIAMPolicy) String() string
- type PasswordAgePolicy
- func (*PasswordAgePolicy) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordAgePolicy) GetDetails() *object.ObjectDetails
- func (x *PasswordAgePolicy) GetExpireWarnDays() uint64
- func (x *PasswordAgePolicy) GetIsDefault() bool
- func (x *PasswordAgePolicy) GetMaxAgeDays() uint64
- func (*PasswordAgePolicy) ProtoMessage()
- func (x *PasswordAgePolicy) ProtoReflect() protoreflect.Message
- func (x *PasswordAgePolicy) Reset()
- func (x *PasswordAgePolicy) String() string
- type PasswordComplexityPolicy
- func (*PasswordComplexityPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordComplexityPolicy) GetDetails() *object.ObjectDetails
- func (x *PasswordComplexityPolicy) GetHasLowercase() bool
- func (x *PasswordComplexityPolicy) GetHasNumber() bool
- func (x *PasswordComplexityPolicy) GetHasSymbol() bool
- func (x *PasswordComplexityPolicy) GetHasUppercase() bool
- func (x *PasswordComplexityPolicy) GetIsDefault() bool
- func (x *PasswordComplexityPolicy) GetMinLength() uint64
- func (*PasswordComplexityPolicy) ProtoMessage()
- func (x *PasswordComplexityPolicy) ProtoReflect() protoreflect.Message
- func (x *PasswordComplexityPolicy) Reset()
- func (x *PasswordComplexityPolicy) String() string
- type PasswordlessType
- func (PasswordlessType) Descriptor() protoreflect.EnumDescriptor
- func (x PasswordlessType) Enum() *PasswordlessType
- func (PasswordlessType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PasswordlessType) Number() protoreflect.EnumNumber
- func (x PasswordlessType) String() string
- func (PasswordlessType) Type() protoreflect.EnumType
- type PrivacyPolicy
- func (*PrivacyPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *PrivacyPolicy) GetCustomLink() string
- func (x *PrivacyPolicy) GetCustomLinkText() string
- func (x *PrivacyPolicy) GetDetails() *object.ObjectDetails
- func (x *PrivacyPolicy) GetDocsLink() string
- func (x *PrivacyPolicy) GetHelpLink() string
- func (x *PrivacyPolicy) GetIsDefault() bool
- func (x *PrivacyPolicy) GetPrivacyLink() string
- func (x *PrivacyPolicy) GetSupportEmail() string
- func (x *PrivacyPolicy) GetTosLink() string
- func (*PrivacyPolicy) ProtoMessage()
- func (x *PrivacyPolicy) ProtoReflect() protoreflect.Message
- func (x *PrivacyPolicy) Reset()
- func (x *PrivacyPolicy) String() string
- type SecondFactorType
- func (SecondFactorType) Descriptor() protoreflect.EnumDescriptor
- func (x SecondFactorType) Enum() *SecondFactorType
- func (SecondFactorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecondFactorType) Number() protoreflect.EnumNumber
- func (x SecondFactorType) String() string
- func (SecondFactorType) Type() protoreflect.EnumType
- type ThemeMode
Constants ¶
This section is empty.
Variables ¶
var ( ThemeMode_name = map[int32]string{ 0: "THEME_MODE_UNSPECIFIED", 1: "THEME_MODE_AUTO", 2: "THEME_MODE_DARK", 3: "THEME_MODE_LIGHT", } ThemeMode_value = map[string]int32{ "THEME_MODE_UNSPECIFIED": 0, "THEME_MODE_AUTO": 1, "THEME_MODE_DARK": 2, "THEME_MODE_LIGHT": 3, } )
Enum value maps for ThemeMode.
var ( SecondFactorType_name = map[int32]string{ 0: "SECOND_FACTOR_TYPE_UNSPECIFIED", 1: "SECOND_FACTOR_TYPE_OTP", 2: "SECOND_FACTOR_TYPE_U2F", 3: "SECOND_FACTOR_TYPE_OTP_EMAIL", 4: "SECOND_FACTOR_TYPE_OTP_SMS", } SecondFactorType_value = map[string]int32{ "SECOND_FACTOR_TYPE_UNSPECIFIED": 0, "SECOND_FACTOR_TYPE_OTP": 1, "SECOND_FACTOR_TYPE_U2F": 2, "SECOND_FACTOR_TYPE_OTP_EMAIL": 3, "SECOND_FACTOR_TYPE_OTP_SMS": 4, } )
Enum value maps for SecondFactorType.
var ( MultiFactorType_name = map[int32]string{ 0: "MULTI_FACTOR_TYPE_UNSPECIFIED", 1: "MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION", } MultiFactorType_value = map[string]int32{ "MULTI_FACTOR_TYPE_UNSPECIFIED": 0, "MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION": 1, } )
Enum value maps for MultiFactorType.
var ( PasswordlessType_name = map[int32]string{ 0: "PASSWORDLESS_TYPE_NOT_ALLOWED", 1: "PASSWORDLESS_TYPE_ALLOWED", } PasswordlessType_value = map[string]int32{ "PASSWORDLESS_TYPE_NOT_ALLOWED": 0, "PASSWORDLESS_TYPE_ALLOWED": 1, } )
Enum value maps for PasswordlessType.
var File_zitadel_policy_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DomainPolicy ¶
type DomainPolicy struct { Details *object.ObjectDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` UserLoginMustBeDomain bool `` /* 131-byte string literal not displayed */ IsDefault bool `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` ValidateOrgDomains bool `protobuf:"varint,4,opt,name=validate_org_domains,json=validateOrgDomains,proto3" json:"validate_org_domains,omitempty"` SmtpSenderAddressMatchesInstanceDomain bool `` /* 184-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DomainPolicy) Descriptor
deprecated
func (*DomainPolicy) Descriptor() ([]byte, []int)
Deprecated: Use DomainPolicy.ProtoReflect.Descriptor instead.
func (*DomainPolicy) GetDetails ¶
func (x *DomainPolicy) GetDetails() *object.ObjectDetails
func (*DomainPolicy) GetIsDefault ¶
func (x *DomainPolicy) GetIsDefault() bool
func (*DomainPolicy) GetSmtpSenderAddressMatchesInstanceDomain ¶
func (x *DomainPolicy) GetSmtpSenderAddressMatchesInstanceDomain() bool
func (*DomainPolicy) GetUserLoginMustBeDomain ¶
func (x *DomainPolicy) GetUserLoginMustBeDomain() bool
func (*DomainPolicy) GetValidateOrgDomains ¶
func (x *DomainPolicy) GetValidateOrgDomains() bool
func (*DomainPolicy) ProtoMessage ¶
func (*DomainPolicy) ProtoMessage()
func (*DomainPolicy) ProtoReflect ¶
func (x *DomainPolicy) ProtoReflect() protoreflect.Message
func (*DomainPolicy) Reset ¶
func (x *DomainPolicy) Reset()
func (*DomainPolicy) String ¶
func (x *DomainPolicy) String() string
type LabelPolicy ¶
type LabelPolicy struct { Details *object.ObjectDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` // hex value for primary color PrimaryColor string `protobuf:"bytes,2,opt,name=primary_color,json=primaryColor,proto3" json:"primary_color,omitempty"` // defines if the organization's admin changed the policy IsDefault bool `protobuf:"varint,4,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // hides the org suffix on the login form if the scope \"urn:zitadel:iam:org:domain:primary:{domainname}\" is set HideLoginNameSuffix bool `protobuf:"varint,5,opt,name=hide_login_name_suffix,json=hideLoginNameSuffix,proto3" json:"hide_login_name_suffix,omitempty"` // hex value for secondary color WarnColor string `protobuf:"bytes,6,opt,name=warn_color,json=warnColor,proto3" json:"warn_color,omitempty"` // hex value for background color BackgroundColor string `protobuf:"bytes,7,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"` // hex value for font color FontColor string `protobuf:"bytes,8,opt,name=font_color,json=fontColor,proto3" json:"font_color,omitempty"` // hex value for primary color dark theme PrimaryColorDark string `protobuf:"bytes,9,opt,name=primary_color_dark,json=primaryColorDark,proto3" json:"primary_color_dark,omitempty"` // hex value for background color dark theme BackgroundColorDark string `protobuf:"bytes,10,opt,name=background_color_dark,json=backgroundColorDark,proto3" json:"background_color_dark,omitempty"` // hex value for warning color dark theme WarnColorDark string `protobuf:"bytes,11,opt,name=warn_color_dark,json=warnColorDark,proto3" json:"warn_color_dark,omitempty"` // hex value for font color dark theme FontColorDark string `protobuf:"bytes,12,opt,name=font_color_dark,json=fontColorDark,proto3" json:"font_color_dark,omitempty"` DisableWatermark bool `protobuf:"varint,13,opt,name=disable_watermark,json=disableWatermark,proto3" json:"disable_watermark,omitempty"` LogoUrl string `protobuf:"bytes,14,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"` IconUrl string `protobuf:"bytes,15,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"` LogoUrlDark string `protobuf:"bytes,16,opt,name=logo_url_dark,json=logoUrlDark,proto3" json:"logo_url_dark,omitempty"` IconUrlDark string `protobuf:"bytes,17,opt,name=icon_url_dark,json=iconUrlDark,proto3" json:"icon_url_dark,omitempty"` FontUrl string `protobuf:"bytes,18,opt,name=font_url,json=fontUrl,proto3" json:"font_url,omitempty"` ThemeMode ThemeMode `protobuf:"varint,19,opt,name=theme_mode,json=themeMode,proto3,enum=zitadel.policy.v1.ThemeMode" json:"theme_mode,omitempty"` // contains filtered or unexported fields }
func (*LabelPolicy) Descriptor
deprecated
func (*LabelPolicy) Descriptor() ([]byte, []int)
Deprecated: Use LabelPolicy.ProtoReflect.Descriptor instead.
func (*LabelPolicy) GetBackgroundColor ¶
func (x *LabelPolicy) GetBackgroundColor() string
func (*LabelPolicy) GetBackgroundColorDark ¶
func (x *LabelPolicy) GetBackgroundColorDark() string
func (*LabelPolicy) GetDetails ¶
func (x *LabelPolicy) GetDetails() *object.ObjectDetails
func (*LabelPolicy) GetDisableWatermark ¶
func (x *LabelPolicy) GetDisableWatermark() bool
func (*LabelPolicy) GetFontColor ¶
func (x *LabelPolicy) GetFontColor() string
func (*LabelPolicy) GetFontColorDark ¶
func (x *LabelPolicy) GetFontColorDark() string
func (*LabelPolicy) GetFontUrl ¶
func (x *LabelPolicy) GetFontUrl() string
func (*LabelPolicy) GetHideLoginNameSuffix ¶
func (x *LabelPolicy) GetHideLoginNameSuffix() bool
func (*LabelPolicy) GetIconUrl ¶
func (x *LabelPolicy) GetIconUrl() string
func (*LabelPolicy) GetIconUrlDark ¶
func (x *LabelPolicy) GetIconUrlDark() string
func (*LabelPolicy) GetIsDefault ¶
func (x *LabelPolicy) GetIsDefault() bool
func (*LabelPolicy) GetLogoUrl ¶
func (x *LabelPolicy) GetLogoUrl() string
func (*LabelPolicy) GetLogoUrlDark ¶
func (x *LabelPolicy) GetLogoUrlDark() string
func (*LabelPolicy) GetPrimaryColor ¶
func (x *LabelPolicy) GetPrimaryColor() string
func (*LabelPolicy) GetPrimaryColorDark ¶
func (x *LabelPolicy) GetPrimaryColorDark() string
func (*LabelPolicy) GetThemeMode ¶
func (x *LabelPolicy) GetThemeMode() ThemeMode
func (*LabelPolicy) GetWarnColor ¶
func (x *LabelPolicy) GetWarnColor() string
func (*LabelPolicy) GetWarnColorDark ¶
func (x *LabelPolicy) GetWarnColorDark() string
func (*LabelPolicy) ProtoMessage ¶
func (*LabelPolicy) ProtoMessage()
func (*LabelPolicy) ProtoReflect ¶
func (x *LabelPolicy) ProtoReflect() protoreflect.Message
func (*LabelPolicy) Reset ¶
func (x *LabelPolicy) Reset()
func (*LabelPolicy) String ¶
func (x *LabelPolicy) String() string
type LockoutPolicy ¶
type LockoutPolicy struct { Details *object.ObjectDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` MaxPasswordAttempts uint64 `protobuf:"varint,2,opt,name=max_password_attempts,json=maxPasswordAttempts,proto3" json:"max_password_attempts,omitempty"` MaxOtpAttempts uint64 `protobuf:"varint,3,opt,name=max_otp_attempts,json=maxOtpAttempts,proto3" json:"max_otp_attempts,omitempty"` IsDefault bool `protobuf:"varint,4,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // contains filtered or unexported fields }
func (*LockoutPolicy) Descriptor
deprecated
func (*LockoutPolicy) Descriptor() ([]byte, []int)
Deprecated: Use LockoutPolicy.ProtoReflect.Descriptor instead.
func (*LockoutPolicy) GetDetails ¶
func (x *LockoutPolicy) GetDetails() *object.ObjectDetails
func (*LockoutPolicy) GetIsDefault ¶
func (x *LockoutPolicy) GetIsDefault() bool
func (*LockoutPolicy) GetMaxOtpAttempts ¶
func (x *LockoutPolicy) GetMaxOtpAttempts() uint64
func (*LockoutPolicy) GetMaxPasswordAttempts ¶
func (x *LockoutPolicy) GetMaxPasswordAttempts() uint64
func (*LockoutPolicy) ProtoMessage ¶
func (*LockoutPolicy) ProtoMessage()
func (*LockoutPolicy) ProtoReflect ¶
func (x *LockoutPolicy) ProtoReflect() protoreflect.Message
func (*LockoutPolicy) Reset ¶
func (x *LockoutPolicy) Reset()
func (*LockoutPolicy) String ¶
func (x *LockoutPolicy) String() string
type LoginPolicy ¶
type LoginPolicy struct { Details *object.ObjectDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` AllowUsernamePassword bool `` /* 127-byte string literal not displayed */ AllowRegister bool `protobuf:"varint,3,opt,name=allow_register,json=allowRegister,proto3" json:"allow_register,omitempty"` AllowExternalIdp bool `protobuf:"varint,4,opt,name=allow_external_idp,json=allowExternalIdp,proto3" json:"allow_external_idp,omitempty"` ForceMfa bool `protobuf:"varint,5,opt,name=force_mfa,json=forceMfa,proto3" json:"force_mfa,omitempty"` PasswordlessType PasswordlessType `` /* 150-byte string literal not displayed */ IsDefault bool `protobuf:"varint,7,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` HidePasswordReset bool `protobuf:"varint,8,opt,name=hide_password_reset,json=hidePasswordReset,proto3" json:"hide_password_reset,omitempty"` IgnoreUnknownUsernames bool `` /* 130-byte string literal not displayed */ DefaultRedirectUri string `protobuf:"bytes,10,opt,name=default_redirect_uri,json=defaultRedirectUri,proto3" json:"default_redirect_uri,omitempty"` PasswordCheckLifetime *durationpb.Duration `` /* 127-byte string literal not displayed */ ExternalLoginCheckLifetime *durationpb.Duration `` /* 144-byte string literal not displayed */ MfaInitSkipLifetime *durationpb.Duration `protobuf:"bytes,13,opt,name=mfa_init_skip_lifetime,json=mfaInitSkipLifetime,proto3" json:"mfa_init_skip_lifetime,omitempty"` SecondFactorCheckLifetime *durationpb.Duration `` /* 141-byte string literal not displayed */ MultiFactorCheckLifetime *durationpb.Duration `` /* 138-byte string literal not displayed */ SecondFactors []SecondFactorType `` /* 149-byte string literal not displayed */ MultiFactors []MultiFactorType `` /* 145-byte string literal not displayed */ Idps []*idp.IDPLoginPolicyLink `protobuf:"bytes,18,rep,name=idps,proto3" json:"idps,omitempty"` // If set to true, the suffix (@domain.com) of an unknown username input on the login screen will be matched against the org domains and will redirect to the registration of that organization on success. AllowDomainDiscovery bool `protobuf:"varint,19,opt,name=allow_domain_discovery,json=allowDomainDiscovery,proto3" json:"allow_domain_discovery,omitempty"` DisableLoginWithEmail bool `` /* 130-byte string literal not displayed */ DisableLoginWithPhone bool `` /* 130-byte string literal not displayed */ ForceMfaLocalOnly bool `protobuf:"varint,22,opt,name=force_mfa_local_only,json=forceMfaLocalOnly,proto3" json:"force_mfa_local_only,omitempty"` // contains filtered or unexported fields }
func (*LoginPolicy) Descriptor
deprecated
func (*LoginPolicy) Descriptor() ([]byte, []int)
Deprecated: Use LoginPolicy.ProtoReflect.Descriptor instead.
func (*LoginPolicy) GetAllowDomainDiscovery ¶
func (x *LoginPolicy) GetAllowDomainDiscovery() bool
func (*LoginPolicy) GetAllowExternalIdp ¶
func (x *LoginPolicy) GetAllowExternalIdp() bool
func (*LoginPolicy) GetAllowRegister ¶
func (x *LoginPolicy) GetAllowRegister() bool
func (*LoginPolicy) GetAllowUsernamePassword ¶
func (x *LoginPolicy) GetAllowUsernamePassword() bool
func (*LoginPolicy) GetDefaultRedirectUri ¶
func (x *LoginPolicy) GetDefaultRedirectUri() string
func (*LoginPolicy) GetDetails ¶
func (x *LoginPolicy) GetDetails() *object.ObjectDetails
func (*LoginPolicy) GetDisableLoginWithEmail ¶
func (x *LoginPolicy) GetDisableLoginWithEmail() bool
func (*LoginPolicy) GetDisableLoginWithPhone ¶
func (x *LoginPolicy) GetDisableLoginWithPhone() bool
func (*LoginPolicy) GetExternalLoginCheckLifetime ¶
func (x *LoginPolicy) GetExternalLoginCheckLifetime() *durationpb.Duration
func (*LoginPolicy) GetForceMfa ¶
func (x *LoginPolicy) GetForceMfa() bool
func (*LoginPolicy) GetForceMfaLocalOnly ¶
func (x *LoginPolicy) GetForceMfaLocalOnly() bool
func (*LoginPolicy) GetHidePasswordReset ¶
func (x *LoginPolicy) GetHidePasswordReset() bool
func (*LoginPolicy) GetIdps ¶
func (x *LoginPolicy) GetIdps() []*idp.IDPLoginPolicyLink
func (*LoginPolicy) GetIgnoreUnknownUsernames ¶
func (x *LoginPolicy) GetIgnoreUnknownUsernames() bool
func (*LoginPolicy) GetIsDefault ¶
func (x *LoginPolicy) GetIsDefault() bool
func (*LoginPolicy) GetMfaInitSkipLifetime ¶
func (x *LoginPolicy) GetMfaInitSkipLifetime() *durationpb.Duration
func (*LoginPolicy) GetMultiFactorCheckLifetime ¶
func (x *LoginPolicy) GetMultiFactorCheckLifetime() *durationpb.Duration
func (*LoginPolicy) GetMultiFactors ¶
func (x *LoginPolicy) GetMultiFactors() []MultiFactorType
func (*LoginPolicy) GetPasswordCheckLifetime ¶
func (x *LoginPolicy) GetPasswordCheckLifetime() *durationpb.Duration
func (*LoginPolicy) GetPasswordlessType ¶
func (x *LoginPolicy) GetPasswordlessType() PasswordlessType
func (*LoginPolicy) GetSecondFactorCheckLifetime ¶
func (x *LoginPolicy) GetSecondFactorCheckLifetime() *durationpb.Duration
func (*LoginPolicy) GetSecondFactors ¶
func (x *LoginPolicy) GetSecondFactors() []SecondFactorType
func (*LoginPolicy) ProtoMessage ¶
func (*LoginPolicy) ProtoMessage()
func (*LoginPolicy) ProtoReflect ¶
func (x *LoginPolicy) ProtoReflect() protoreflect.Message
func (*LoginPolicy) Reset ¶
func (x *LoginPolicy) Reset()
func (*LoginPolicy) String ¶
func (x *LoginPolicy) String() string
type MultiFactorType ¶
type MultiFactorType int32
const ( MultiFactorType_MULTI_FACTOR_TYPE_UNSPECIFIED MultiFactorType = 0 MultiFactorType_MULTI_FACTOR_TYPE_U2F_WITH_VERIFICATION MultiFactorType = 1 )
func (MultiFactorType) Descriptor ¶
func (MultiFactorType) Descriptor() protoreflect.EnumDescriptor
func (MultiFactorType) Enum ¶
func (x MultiFactorType) Enum() *MultiFactorType
func (MultiFactorType) EnumDescriptor
deprecated
func (MultiFactorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MultiFactorType.Descriptor instead.
func (MultiFactorType) Number ¶
func (x MultiFactorType) Number() protoreflect.EnumNumber
func (MultiFactorType) String ¶
func (x MultiFactorType) String() string
func (MultiFactorType) Type ¶
func (MultiFactorType) Type() protoreflect.EnumType
type NotificationPolicy ¶
type NotificationPolicy struct { Details *object.ObjectDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` IsDefault bool `protobuf:"varint,2,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` PasswordChange bool `protobuf:"varint,3,opt,name=password_change,json=passwordChange,proto3" json:"password_change,omitempty"` // contains filtered or unexported fields }
func (*NotificationPolicy) Descriptor
deprecated
func (*NotificationPolicy) Descriptor() ([]byte, []int)
Deprecated: Use NotificationPolicy.ProtoReflect.Descriptor instead.
func (*NotificationPolicy) GetDetails ¶
func (x *NotificationPolicy) GetDetails() *object.ObjectDetails
func (*NotificationPolicy) GetIsDefault ¶
func (x *NotificationPolicy) GetIsDefault() bool
func (*NotificationPolicy) GetPasswordChange ¶
func (x *NotificationPolicy) GetPasswordChange() bool
func (*NotificationPolicy) ProtoMessage ¶
func (*NotificationPolicy) ProtoMessage()
func (*NotificationPolicy) ProtoReflect ¶
func (x *NotificationPolicy) ProtoReflect() protoreflect.Message
func (*NotificationPolicy) Reset ¶
func (x *NotificationPolicy) Reset()
func (*NotificationPolicy) String ¶
func (x *NotificationPolicy) String() string
type OrgIAMPolicy ¶
type OrgIAMPolicy struct { Details *object.ObjectDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` UserLoginMustBeDomain bool `` /* 131-byte string literal not displayed */ IsDefault bool `protobuf:"varint,3,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // contains filtered or unexported fields }
deprecated: please use DomainPolicy instead
func (*OrgIAMPolicy) Descriptor
deprecated
func (*OrgIAMPolicy) Descriptor() ([]byte, []int)
Deprecated: Use OrgIAMPolicy.ProtoReflect.Descriptor instead.
func (*OrgIAMPolicy) GetDetails ¶
func (x *OrgIAMPolicy) GetDetails() *object.ObjectDetails
func (*OrgIAMPolicy) GetIsDefault ¶
func (x *OrgIAMPolicy) GetIsDefault() bool
func (*OrgIAMPolicy) GetUserLoginMustBeDomain ¶
func (x *OrgIAMPolicy) GetUserLoginMustBeDomain() bool
func (*OrgIAMPolicy) ProtoMessage ¶
func (*OrgIAMPolicy) ProtoMessage()
func (*OrgIAMPolicy) ProtoReflect ¶
func (x *OrgIAMPolicy) ProtoReflect() protoreflect.Message
func (*OrgIAMPolicy) Reset ¶
func (x *OrgIAMPolicy) Reset()
func (*OrgIAMPolicy) String ¶
func (x *OrgIAMPolicy) String() string
type PasswordAgePolicy ¶
type PasswordAgePolicy struct { Details *object.ObjectDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` // Amount of days after which a password will expire. The user will be forced to change the password on the following authentication. MaxAgeDays uint64 `protobuf:"varint,2,opt,name=max_age_days,json=maxAgeDays,proto3" json:"max_age_days,omitempty"` // Amount of days after which the user should be notified of the upcoming expiry. ZITADEL will not notify the user. ExpireWarnDays uint64 `protobuf:"varint,3,opt,name=expire_warn_days,json=expireWarnDays,proto3" json:"expire_warn_days,omitempty"` // If true, the returned values represent the instance settings, e.g. by an organization without custom settings. IsDefault bool `protobuf:"varint,4,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // contains filtered or unexported fields }
func (*PasswordAgePolicy) Descriptor
deprecated
func (*PasswordAgePolicy) Descriptor() ([]byte, []int)
Deprecated: Use PasswordAgePolicy.ProtoReflect.Descriptor instead.
func (*PasswordAgePolicy) GetDetails ¶
func (x *PasswordAgePolicy) GetDetails() *object.ObjectDetails
func (*PasswordAgePolicy) GetExpireWarnDays ¶
func (x *PasswordAgePolicy) GetExpireWarnDays() uint64
func (*PasswordAgePolicy) GetIsDefault ¶
func (x *PasswordAgePolicy) GetIsDefault() bool
func (*PasswordAgePolicy) GetMaxAgeDays ¶
func (x *PasswordAgePolicy) GetMaxAgeDays() uint64
func (*PasswordAgePolicy) ProtoMessage ¶
func (*PasswordAgePolicy) ProtoMessage()
func (*PasswordAgePolicy) ProtoReflect ¶
func (x *PasswordAgePolicy) ProtoReflect() protoreflect.Message
func (*PasswordAgePolicy) Reset ¶
func (x *PasswordAgePolicy) Reset()
func (*PasswordAgePolicy) String ¶
func (x *PasswordAgePolicy) String() string
type PasswordComplexityPolicy ¶
type PasswordComplexityPolicy struct { Details *object.ObjectDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` MinLength uint64 `protobuf:"varint,2,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"` HasUppercase bool `protobuf:"varint,3,opt,name=has_uppercase,json=hasUppercase,proto3" json:"has_uppercase,omitempty"` HasLowercase bool `protobuf:"varint,4,opt,name=has_lowercase,json=hasLowercase,proto3" json:"has_lowercase,omitempty"` HasNumber bool `protobuf:"varint,5,opt,name=has_number,json=hasNumber,proto3" json:"has_number,omitempty"` HasSymbol bool `protobuf:"varint,6,opt,name=has_symbol,json=hasSymbol,proto3" json:"has_symbol,omitempty"` IsDefault bool `protobuf:"varint,7,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` // contains filtered or unexported fields }
func (*PasswordComplexityPolicy) Descriptor
deprecated
func (*PasswordComplexityPolicy) Descriptor() ([]byte, []int)
Deprecated: Use PasswordComplexityPolicy.ProtoReflect.Descriptor instead.
func (*PasswordComplexityPolicy) GetDetails ¶
func (x *PasswordComplexityPolicy) GetDetails() *object.ObjectDetails
func (*PasswordComplexityPolicy) GetHasLowercase ¶
func (x *PasswordComplexityPolicy) GetHasLowercase() bool
func (*PasswordComplexityPolicy) GetHasNumber ¶
func (x *PasswordComplexityPolicy) GetHasNumber() bool
func (*PasswordComplexityPolicy) GetHasSymbol ¶
func (x *PasswordComplexityPolicy) GetHasSymbol() bool
func (*PasswordComplexityPolicy) GetHasUppercase ¶
func (x *PasswordComplexityPolicy) GetHasUppercase() bool
func (*PasswordComplexityPolicy) GetIsDefault ¶
func (x *PasswordComplexityPolicy) GetIsDefault() bool
func (*PasswordComplexityPolicy) GetMinLength ¶
func (x *PasswordComplexityPolicy) GetMinLength() uint64
func (*PasswordComplexityPolicy) ProtoMessage ¶
func (*PasswordComplexityPolicy) ProtoMessage()
func (*PasswordComplexityPolicy) ProtoReflect ¶
func (x *PasswordComplexityPolicy) ProtoReflect() protoreflect.Message
func (*PasswordComplexityPolicy) Reset ¶
func (x *PasswordComplexityPolicy) Reset()
func (*PasswordComplexityPolicy) String ¶
func (x *PasswordComplexityPolicy) String() string
type PasswordlessType ¶
type PasswordlessType int32
const ( PasswordlessType_PASSWORDLESS_TYPE_NOT_ALLOWED PasswordlessType = 0 PasswordlessType_PASSWORDLESS_TYPE_ALLOWED PasswordlessType = 1 //PLANNED: PASSWORDLESS_TYPE_WITH_CERT )
func (PasswordlessType) Descriptor ¶
func (PasswordlessType) Descriptor() protoreflect.EnumDescriptor
func (PasswordlessType) Enum ¶
func (x PasswordlessType) Enum() *PasswordlessType
func (PasswordlessType) EnumDescriptor
deprecated
func (PasswordlessType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PasswordlessType.Descriptor instead.
func (PasswordlessType) Number ¶
func (x PasswordlessType) Number() protoreflect.EnumNumber
func (PasswordlessType) String ¶
func (x PasswordlessType) String() string
func (PasswordlessType) Type ¶
func (PasswordlessType) Type() protoreflect.EnumType
type PrivacyPolicy ¶
type PrivacyPolicy struct { Details *object.ObjectDetails `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` TosLink string `protobuf:"bytes,2,opt,name=tos_link,json=tosLink,proto3" json:"tos_link,omitempty"` PrivacyLink string `protobuf:"bytes,3,opt,name=privacy_link,json=privacyLink,proto3" json:"privacy_link,omitempty"` IsDefault bool `protobuf:"varint,4,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"` HelpLink string `protobuf:"bytes,5,opt,name=help_link,json=helpLink,proto3" json:"help_link,omitempty"` SupportEmail string `protobuf:"bytes,6,opt,name=support_email,json=supportEmail,proto3" json:"support_email,omitempty"` DocsLink string `protobuf:"bytes,7,opt,name=docs_link,json=docsLink,proto3" json:"docs_link,omitempty"` CustomLink string `protobuf:"bytes,8,opt,name=custom_link,json=customLink,proto3" json:"custom_link,omitempty"` CustomLinkText string `protobuf:"bytes,9,opt,name=custom_link_text,json=customLinkText,proto3" json:"custom_link_text,omitempty"` // contains filtered or unexported fields }
func (*PrivacyPolicy) Descriptor
deprecated
func (*PrivacyPolicy) Descriptor() ([]byte, []int)
Deprecated: Use PrivacyPolicy.ProtoReflect.Descriptor instead.
func (*PrivacyPolicy) GetCustomLink ¶
func (x *PrivacyPolicy) GetCustomLink() string
func (*PrivacyPolicy) GetCustomLinkText ¶
func (x *PrivacyPolicy) GetCustomLinkText() string
func (*PrivacyPolicy) GetDetails ¶
func (x *PrivacyPolicy) GetDetails() *object.ObjectDetails
func (*PrivacyPolicy) GetDocsLink ¶
func (x *PrivacyPolicy) GetDocsLink() string
func (*PrivacyPolicy) GetHelpLink ¶
func (x *PrivacyPolicy) GetHelpLink() string
func (*PrivacyPolicy) GetIsDefault ¶
func (x *PrivacyPolicy) GetIsDefault() bool
func (*PrivacyPolicy) GetPrivacyLink ¶
func (x *PrivacyPolicy) GetPrivacyLink() string
func (*PrivacyPolicy) GetSupportEmail ¶
func (x *PrivacyPolicy) GetSupportEmail() string
func (*PrivacyPolicy) GetTosLink ¶
func (x *PrivacyPolicy) GetTosLink() string
func (*PrivacyPolicy) ProtoMessage ¶
func (*PrivacyPolicy) ProtoMessage()
func (*PrivacyPolicy) ProtoReflect ¶
func (x *PrivacyPolicy) ProtoReflect() protoreflect.Message
func (*PrivacyPolicy) Reset ¶
func (x *PrivacyPolicy) Reset()
func (*PrivacyPolicy) String ¶
func (x *PrivacyPolicy) String() string
type SecondFactorType ¶
type SecondFactorType int32
const ( SecondFactorType_SECOND_FACTOR_TYPE_UNSPECIFIED SecondFactorType = 0 // SECOND_FACTOR_TYPE_OTP is the type for TOTP SecondFactorType_SECOND_FACTOR_TYPE_OTP SecondFactorType = 1 SecondFactorType_SECOND_FACTOR_TYPE_U2F SecondFactorType = 2 SecondFactorType_SECOND_FACTOR_TYPE_OTP_EMAIL SecondFactorType = 3 SecondFactorType_SECOND_FACTOR_TYPE_OTP_SMS SecondFactorType = 4 )
func (SecondFactorType) Descriptor ¶
func (SecondFactorType) Descriptor() protoreflect.EnumDescriptor
func (SecondFactorType) Enum ¶
func (x SecondFactorType) Enum() *SecondFactorType
func (SecondFactorType) EnumDescriptor
deprecated
func (SecondFactorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecondFactorType.Descriptor instead.
func (SecondFactorType) Number ¶
func (x SecondFactorType) Number() protoreflect.EnumNumber
func (SecondFactorType) String ¶
func (x SecondFactorType) String() string
func (SecondFactorType) Type ¶
func (SecondFactorType) Type() protoreflect.EnumType
type ThemeMode ¶
type ThemeMode int32
func (ThemeMode) Descriptor ¶
func (ThemeMode) Descriptor() protoreflect.EnumDescriptor
func (ThemeMode) EnumDescriptor
deprecated
func (ThemeMode) Number ¶
func (x ThemeMode) Number() protoreflect.EnumNumber
func (ThemeMode) Type ¶
func (ThemeMode) Type() protoreflect.EnumType