policy

package
v2.0.0-...-c383979 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SecondFactorType_name = map[int32]string{
		0: "SECOND_FACTOR_TYPE_UNSPECIFIED",
		1: "SECOND_FACTOR_TYPE_OTP",
		2: "SECOND_FACTOR_TYPE_U2F",
	}
	SecondFactorType_value = map[string]int32{
		"SECOND_FACTOR_TYPE_UNSPECIFIED": 0,
		"SECOND_FACTOR_TYPE_OTP":         1,
		"SECOND_FACTOR_TYPE_U2F":         2,
	}
)

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 organisation'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. Details about this scope in https://docs.zitadel.com/concepts#Reserved_Scopes
	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 warn 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"`
	// 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) 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"`
	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) 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"`
	// contains filtered or unexported fields
}

func (*LoginPolicy) Descriptor deprecated

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

Deprecated: Use LoginPolicy.ProtoReflect.Descriptor instead.

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

func (x *LoginPolicy) GetExternalLoginCheckLifetime() *durationpb.Duration

func (*LoginPolicy) GetForceMfa

func (x *LoginPolicy) GetForceMfa() 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 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"`
	// 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 (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
	SecondFactorType_SECOND_FACTOR_TYPE_OTP         SecondFactorType = 1
	SecondFactorType_SECOND_FACTOR_TYPE_U2F         SecondFactorType = 2
)

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

Jump to

Keyboard shortcuts

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