policy

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: 9 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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 added in v2.1.2

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 added in v2.1.13

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 added in v2.0.15

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) Enum

func (x MultiFactorType) Enum() *MultiFactorType

func (MultiFactorType) EnumDescriptor deprecated

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

Deprecated: Use MultiFactorType.Descriptor instead.

func (MultiFactorType) Number

func (MultiFactorType) String

func (x MultiFactorType) String() string

func (MultiFactorType) Type

type NotificationPolicy added in v2.0.9

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 added in v2.0.9

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

Deprecated: Use NotificationPolicy.ProtoReflect.Descriptor instead.

func (*NotificationPolicy) GetDetails added in v2.0.9

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

func (*NotificationPolicy) GetIsDefault added in v2.0.9

func (x *NotificationPolicy) GetIsDefault() bool

func (*NotificationPolicy) GetPasswordChange added in v2.0.9

func (x *NotificationPolicy) GetPasswordChange() bool

func (*NotificationPolicy) ProtoMessage added in v2.0.9

func (*NotificationPolicy) ProtoMessage()

func (*NotificationPolicy) ProtoReflect added in v2.0.9

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

func (*NotificationPolicy) Reset added in v2.0.9

func (x *NotificationPolicy) Reset()

func (*NotificationPolicy) String added in v2.0.9

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"`
	MaxAgeDays     uint64                `protobuf:"varint,2,opt,name=max_age_days,json=maxAgeDays,proto3" json:"max_age_days,omitempty"`
	ExpireWarnDays uint64                `protobuf:"varint,3,opt,name=expire_warn_days,json=expireWarnDays,proto3" json:"expire_warn_days,omitempty"`
	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 (*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) Enum

func (PasswordlessType) EnumDescriptor deprecated

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

Deprecated: Use PasswordlessType.Descriptor instead.

func (PasswordlessType) Number

func (PasswordlessType) String

func (x PasswordlessType) String() string

func (PasswordlessType) Type

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"`
	// contains filtered or unexported fields
}

func (*PrivacyPolicy) Descriptor deprecated

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

Deprecated: Use PrivacyPolicy.ProtoReflect.Descriptor instead.

func (*PrivacyPolicy) GetDetails

func (x *PrivacyPolicy) GetDetails() *object.ObjectDetails
func (x *PrivacyPolicy) GetHelpLink() string

func (*PrivacyPolicy) GetIsDefault

func (x *PrivacyPolicy) GetIsDefault() bool
func (x *PrivacyPolicy) GetPrivacyLink() string

func (*PrivacyPolicy) GetSupportEmail added in v2.0.13

func (x *PrivacyPolicy) GetSupportEmail() string
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) Enum

func (SecondFactorType) EnumDescriptor deprecated

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

Deprecated: Use SecondFactorType.Descriptor instead.

func (SecondFactorType) Number

func (SecondFactorType) String

func (x SecondFactorType) String() string

func (SecondFactorType) Type

type ThemeMode added in v2.1.2

type ThemeMode int32
const (
	ThemeMode_THEME_MODE_UNSPECIFIED ThemeMode = 0
	ThemeMode_THEME_MODE_AUTO        ThemeMode = 1
	ThemeMode_THEME_MODE_DARK        ThemeMode = 2
	ThemeMode_THEME_MODE_LIGHT       ThemeMode = 3
)

func (ThemeMode) Descriptor added in v2.1.2

func (ThemeMode) Descriptor() protoreflect.EnumDescriptor

func (ThemeMode) Enum added in v2.1.2

func (x ThemeMode) Enum() *ThemeMode

func (ThemeMode) EnumDescriptor deprecated added in v2.1.2

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

Deprecated: Use ThemeMode.Descriptor instead.

func (ThemeMode) Number added in v2.1.2

func (x ThemeMode) Number() protoreflect.EnumNumber

func (ThemeMode) String added in v2.1.2

func (x ThemeMode) String() string

func (ThemeMode) Type added in v2.1.2

Jump to

Keyboard shortcuts

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