Documentation ¶
Index ¶
- type Config
- func (c *Config) Clone() (*Config, error)
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetConfig() isConfig_Config
- func (m *Config) GetDuoConfig() *DuoConfig
- func (m *Config) GetID() string
- func (m *Config) GetMountAccessor() string
- func (m *Config) GetName() string
- func (m *Config) GetOktaConfig() *OktaConfig
- func (m *Config) GetPingIDConfig() *PingIDConfig
- func (m *Config) GetTOTPConfig() *TOTPConfig
- func (m *Config) GetType() string
- func (m *Config) GetUsernameFormat() string
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (c *Config) SentinelGet(key string) (interface{}, error)
- func (c *Config) SentinelKeys() []string
- func (m *Config) String() string
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Config) XXX_Merge(src proto.Message)
- func (*Config) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- type Config_DuoConfig
- type Config_OktaConfig
- type Config_PingIDConfig
- type Config_TOTPConfig
- type DuoConfig
- func (*DuoConfig) Descriptor() ([]byte, []int)
- func (m *DuoConfig) GetAPIHostname() string
- func (m *DuoConfig) GetIntegrationKey() string
- func (m *DuoConfig) GetPushInfo() string
- func (m *DuoConfig) GetSecretKey() string
- func (*DuoConfig) ProtoMessage()
- func (m *DuoConfig) Reset()
- func (m *DuoConfig) String() string
- func (m *DuoConfig) XXX_DiscardUnknown()
- func (m *DuoConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DuoConfig) XXX_Merge(src proto.Message)
- func (m *DuoConfig) XXX_Size() int
- func (m *DuoConfig) XXX_Unmarshal(b []byte) error
- type OktaConfig
- func (*OktaConfig) Descriptor() ([]byte, []int)
- func (m *OktaConfig) GetAPIToken() string
- func (m *OktaConfig) GetBaseURL() string
- func (m *OktaConfig) GetOrgName() string
- func (m *OktaConfig) GetPrimaryEmail() bool
- func (m *OktaConfig) GetProduction() bool
- func (*OktaConfig) ProtoMessage()
- func (m *OktaConfig) Reset()
- func (m *OktaConfig) String() string
- func (m *OktaConfig) XXX_DiscardUnknown()
- func (m *OktaConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OktaConfig) XXX_Merge(src proto.Message)
- func (m *OktaConfig) XXX_Size() int
- func (m *OktaConfig) XXX_Unmarshal(b []byte) error
- type PingIDConfig
- func (*PingIDConfig) Descriptor() ([]byte, []int)
- func (m *PingIDConfig) GetAdminURL() string
- func (m *PingIDConfig) GetAuthenticatorURL() string
- func (m *PingIDConfig) GetIDPURL() string
- func (m *PingIDConfig) GetOrgAlias() string
- func (m *PingIDConfig) GetToken() string
- func (m *PingIDConfig) GetUseBase64Key() string
- func (m *PingIDConfig) GetUseSignature() bool
- func (*PingIDConfig) ProtoMessage()
- func (m *PingIDConfig) Reset()
- func (m *PingIDConfig) String() string
- func (m *PingIDConfig) XXX_DiscardUnknown()
- func (m *PingIDConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PingIDConfig) XXX_Merge(src proto.Message)
- func (m *PingIDConfig) XXX_Size() int
- func (m *PingIDConfig) XXX_Unmarshal(b []byte) error
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)
- func (m *Secret) GetMethodName() string
- func (m *Secret) GetTOTPSecret() *TOTPSecret
- func (m *Secret) GetValue() isSecret_Value
- func (*Secret) ProtoMessage()
- func (m *Secret) Reset()
- func (m *Secret) String() string
- func (m *Secret) XXX_DiscardUnknown()
- func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Secret) XXX_Merge(src proto.Message)
- func (*Secret) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Secret) XXX_Size() int
- func (m *Secret) XXX_Unmarshal(b []byte) error
- type Secret_TOTPSecret
- type TOTPConfig
- func (*TOTPConfig) Descriptor() ([]byte, []int)
- func (m *TOTPConfig) GetAlgorithm() int32
- func (m *TOTPConfig) GetDigits() int32
- func (m *TOTPConfig) GetIssuer() string
- func (m *TOTPConfig) GetKeySize() uint32
- func (m *TOTPConfig) GetPeriod() uint32
- func (m *TOTPConfig) GetQRSize() int32
- func (m *TOTPConfig) GetSkew() uint32
- func (*TOTPConfig) ProtoMessage()
- func (m *TOTPConfig) Reset()
- func (m *TOTPConfig) String() string
- func (m *TOTPConfig) XXX_DiscardUnknown()
- func (m *TOTPConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TOTPConfig) XXX_Merge(src proto.Message)
- func (m *TOTPConfig) XXX_Size() int
- func (m *TOTPConfig) XXX_Unmarshal(b []byte) error
- type TOTPSecret
- func (*TOTPSecret) Descriptor() ([]byte, []int)
- func (m *TOTPSecret) GetAccountName() string
- func (m *TOTPSecret) GetAlgorithm() int32
- func (m *TOTPSecret) GetDigits() int32
- func (m *TOTPSecret) GetIssuer() string
- func (m *TOTPSecret) GetKey() string
- func (m *TOTPSecret) GetKeySize() uint32
- func (m *TOTPSecret) GetPeriod() uint32
- func (m *TOTPSecret) GetSkew() uint32
- func (*TOTPSecret) ProtoMessage()
- func (m *TOTPSecret) Reset()
- func (m *TOTPSecret) String() string
- func (m *TOTPSecret) XXX_DiscardUnknown()
- func (m *TOTPSecret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TOTPSecret) XXX_Merge(src proto.Message)
- func (m *TOTPSecret) XXX_Size() int
- func (m *TOTPSecret) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v1.1.1
type Config struct { Type string `sentinel:"" protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Name string `sentinel:"" protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ID string `sentinel:"" protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` MountAccessor string `sentinel:"" protobuf:"bytes,4,opt,name=mount_accessor,json=mountAccessor,proto3" json:"mount_accessor,omitempty"` UsernameFormat string `sentinel:"" protobuf:"bytes,5,opt,name=username_format,json=usernameFormat,proto3" json:"username_format,omitempty"` // Types that are valid to be assigned to Config: // *Config_TOTPConfig // *Config_OktaConfig // *Config_DuoConfig // *Config_PingIDConfig Config isConfig_Config `protobuf_oneof:"config"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Config represents the configuration information used *along with* the MFA secret tied to caller's identity, to verify the MFA credentials supplied. Configuration information differs by type. Handler of each type should know what to expect from the Config field.
func (*Config) Descriptor ¶ added in v1.1.1
func (*Config) GetDuoConfig ¶ added in v1.1.1
func (*Config) GetMountAccessor ¶ added in v1.1.1
func (*Config) GetOktaConfig ¶ added in v1.1.1
func (m *Config) GetOktaConfig() *OktaConfig
func (*Config) GetPingIDConfig ¶ added in v1.1.1
func (m *Config) GetPingIDConfig() *PingIDConfig
func (*Config) GetTOTPConfig ¶ added in v1.1.1
func (m *Config) GetTOTPConfig() *TOTPConfig
func (*Config) GetUsernameFormat ¶ added in v1.1.1
func (*Config) ProtoMessage ¶ added in v1.1.1
func (*Config) ProtoMessage()
func (*Config) SentinelGet ¶ added in v1.1.1
func (*Config) SentinelKeys ¶ added in v1.1.1
func (*Config) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶ added in v1.1.1
func (*Config) XXX_OneofFuncs ¶ added in v1.1.1
func (*Config) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Config) XXX_Unmarshal ¶ added in v1.1.1
type Config_DuoConfig ¶ added in v1.1.1
type Config_DuoConfig struct {
DuoConfig *DuoConfig `sentinel:"" protobuf:"bytes,8,opt,name=duo_config,json=duoConfig,proto3,oneof"`
}
type Config_OktaConfig ¶ added in v1.1.1
type Config_OktaConfig struct {
OktaConfig *OktaConfig `sentinel:"" protobuf:"bytes,7,opt,name=okta_config,json=oktaConfig,proto3,oneof"`
}
type Config_PingIDConfig ¶ added in v1.1.1
type Config_PingIDConfig struct {
PingIDConfig *PingIDConfig `sentinel:"" protobuf:"bytes,9,opt,name=pingid_config,json=pingidConfig,proto3,oneof"`
}
type Config_TOTPConfig ¶ added in v1.1.1
type Config_TOTPConfig struct {
TOTPConfig *TOTPConfig `sentinel:"" protobuf:"bytes,6,opt,name=totp_config,json=totpConfig,proto3,oneof"`
}
type DuoConfig ¶ added in v1.1.1
type DuoConfig struct { IntegrationKey string `sentinel:"" protobuf:"bytes,1,opt,name=integration_key,json=integrationKey,proto3" json:"integration_key,omitempty"` SecretKey string `sentinel:"" protobuf:"bytes,2,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` APIHostname string `sentinel:"" protobuf:"bytes,3,opt,name=api_hostname,json=apiHostname,proto3" json:"api_hostname,omitempty"` PushInfo string `sentinel:"" protobuf:"bytes,4,opt,name=push_info,json=pushInfo,proto3" json:"push_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DuoConfig represents the configuration information required to perform Duo authentication.
func (*DuoConfig) Descriptor ¶ added in v1.1.1
func (*DuoConfig) GetAPIHostname ¶ added in v1.1.1
func (*DuoConfig) GetIntegrationKey ¶ added in v1.1.1
func (*DuoConfig) GetPushInfo ¶ added in v1.1.1
func (*DuoConfig) GetSecretKey ¶ added in v1.1.1
func (*DuoConfig) ProtoMessage ¶ added in v1.1.1
func (*DuoConfig) ProtoMessage()
func (*DuoConfig) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *DuoConfig) XXX_DiscardUnknown()
func (*DuoConfig) XXX_Marshal ¶ added in v1.1.1
func (*DuoConfig) XXX_Unmarshal ¶ added in v1.1.1
type OktaConfig ¶ added in v1.1.1
type OktaConfig struct { OrgName string `sentinel:"" protobuf:"bytes,1,opt,name=org_name,json=orgName,proto3" json:"org_name,omitempty"` APIToken string `sentinel:"" protobuf:"bytes,2,opt,name=api_token,json=apiToken,proto3" json:"api_token,omitempty"` Production bool `sentinel:"" protobuf:"varint,3,opt,name=production,proto3" json:"production,omitempty"` BaseURL string `sentinel:"" protobuf:"bytes,4,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"` PrimaryEmail bool `sentinel:"" protobuf:"varint,5,opt,name=primary_email,json=primaryEmail,proto3" json:"primary_email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
OktaConfig contains Okta configuration parameters required to perform Okta authentication.
func (*OktaConfig) Descriptor ¶ added in v1.1.1
func (*OktaConfig) Descriptor() ([]byte, []int)
func (*OktaConfig) GetAPIToken ¶ added in v1.1.1
func (m *OktaConfig) GetAPIToken() string
func (*OktaConfig) GetBaseURL ¶ added in v1.1.1
func (m *OktaConfig) GetBaseURL() string
func (*OktaConfig) GetOrgName ¶ added in v1.1.1
func (m *OktaConfig) GetOrgName() string
func (*OktaConfig) GetPrimaryEmail ¶ added in v1.1.1
func (m *OktaConfig) GetPrimaryEmail() bool
func (*OktaConfig) GetProduction ¶ added in v1.1.1
func (m *OktaConfig) GetProduction() bool
func (*OktaConfig) ProtoMessage ¶ added in v1.1.1
func (*OktaConfig) ProtoMessage()
func (*OktaConfig) Reset ¶ added in v1.1.1
func (m *OktaConfig) Reset()
func (*OktaConfig) String ¶ added in v1.1.1
func (m *OktaConfig) String() string
func (*OktaConfig) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *OktaConfig) XXX_DiscardUnknown()
func (*OktaConfig) XXX_Marshal ¶ added in v1.1.1
func (m *OktaConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OktaConfig) XXX_Merge ¶ added in v1.1.1
func (m *OktaConfig) XXX_Merge(src proto.Message)
func (*OktaConfig) XXX_Size ¶ added in v1.1.1
func (m *OktaConfig) XXX_Size() int
func (*OktaConfig) XXX_Unmarshal ¶ added in v1.1.1
func (m *OktaConfig) XXX_Unmarshal(b []byte) error
type PingIDConfig ¶ added in v1.1.1
type PingIDConfig struct { UseBase64Key string `sentinel:"" protobuf:"bytes,1,opt,name=use_base64_key,json=useBase64Key,proto3" json:"use_base64_key,omitempty"` UseSignature bool `sentinel:"" protobuf:"varint,2,opt,name=use_signature,json=useSignature,proto3" json:"use_signature,omitempty"` Token string `sentinel:"" protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` IDPURL string `sentinel:"" protobuf:"bytes,4,opt,name=idp_url,json=idpUrl,proto3" json:"idp_url,omitempty"` OrgAlias string `sentinel:"" protobuf:"bytes,5,opt,name=org_alias,json=orgAlias,proto3" json:"org_alias,omitempty"` AdminURL string `sentinel:"" protobuf:"bytes,6,opt,name=admin_url,json=adminUrl,proto3" json:"admin_url,omitempty"` AuthenticatorURL string `sentinel:"" protobuf:"bytes,7,opt,name=authenticator_url,json=authenticatorUrl,proto3" json:"authenticator_url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
PingIDConfig contains PingID configuration information
func (*PingIDConfig) Descriptor ¶ added in v1.1.1
func (*PingIDConfig) Descriptor() ([]byte, []int)
func (*PingIDConfig) GetAdminURL ¶ added in v1.1.1
func (m *PingIDConfig) GetAdminURL() string
func (*PingIDConfig) GetAuthenticatorURL ¶ added in v1.1.1
func (m *PingIDConfig) GetAuthenticatorURL() string
func (*PingIDConfig) GetIDPURL ¶ added in v1.1.1
func (m *PingIDConfig) GetIDPURL() string
func (*PingIDConfig) GetOrgAlias ¶ added in v1.1.1
func (m *PingIDConfig) GetOrgAlias() string
func (*PingIDConfig) GetToken ¶ added in v1.1.1
func (m *PingIDConfig) GetToken() string
func (*PingIDConfig) GetUseBase64Key ¶ added in v1.1.1
func (m *PingIDConfig) GetUseBase64Key() string
func (*PingIDConfig) GetUseSignature ¶ added in v1.1.1
func (m *PingIDConfig) GetUseSignature() bool
func (*PingIDConfig) ProtoMessage ¶ added in v1.1.1
func (*PingIDConfig) ProtoMessage()
func (*PingIDConfig) Reset ¶ added in v1.1.1
func (m *PingIDConfig) Reset()
func (*PingIDConfig) String ¶ added in v1.1.1
func (m *PingIDConfig) String() string
func (*PingIDConfig) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *PingIDConfig) XXX_DiscardUnknown()
func (*PingIDConfig) XXX_Marshal ¶ added in v1.1.1
func (m *PingIDConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PingIDConfig) XXX_Merge ¶ added in v1.1.1
func (m *PingIDConfig) XXX_Merge(src proto.Message)
func (*PingIDConfig) XXX_Size ¶ added in v1.1.1
func (m *PingIDConfig) XXX_Size() int
func (*PingIDConfig) XXX_Unmarshal ¶ added in v1.1.1
func (m *PingIDConfig) XXX_Unmarshal(b []byte) error
type Secret ¶
type Secret struct { MethodName string `sentinel:"" protobuf:"bytes,1,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"` // Types that are valid to be assigned to Value: // *Secret_TOTPSecret Value isSecret_Value `protobuf_oneof:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Secret represents all the types of secrets which the entity can hold. Each MFA type should add a secret type to the oneof block in this message.
func (*Secret) Descriptor ¶
func (*Secret) GetMethodName ¶ added in v1.1.1
func (*Secret) GetTOTPSecret ¶ added in v1.1.1
func (m *Secret) GetTOTPSecret() *TOTPSecret
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) XXX_DiscardUnknown ¶
func (m *Secret) XXX_DiscardUnknown()
func (*Secret) XXX_Marshal ¶
func (*Secret) XXX_OneofFuncs ¶ added in v1.1.1
func (*Secret) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Secret) XXX_Unmarshal ¶
type Secret_TOTPSecret ¶ added in v1.1.1
type Secret_TOTPSecret struct {
TOTPSecret *TOTPSecret `sentinel:"" protobuf:"bytes,2,opt,name=totp_secret,json=totpSecret,proto3,oneof"`
}
type TOTPConfig ¶ added in v1.1.1
type TOTPConfig struct { Issuer string `sentinel:"" protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` Period uint32 `sentinel:"" protobuf:"varint,2,opt,name=period,proto3" json:"period,omitempty"` Algorithm int32 `sentinel:"" protobuf:"varint,3,opt,name=algorithm,proto3" json:"algorithm,omitempty"` Digits int32 `sentinel:"" protobuf:"varint,4,opt,name=digits,proto3" json:"digits,omitempty"` Skew uint32 `sentinel:"" protobuf:"varint,5,opt,name=skew,proto3" json:"skew,omitempty"` KeySize uint32 `sentinel:"" protobuf:"varint,6,opt,name=key_size,json=keySize,proto3" json:"key_size,omitempty"` QRSize int32 `sentinel:"" protobuf:"varint,7,opt,name=qr_size,json=qrSize,proto3" json:"qr_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TOTPConfig represents the configuration information required to generate a TOTP key. The generated key will be stored in the entity along with these options. Validation of credentials supplied over the API will be validated by the information stored in the entity and not from the values in the configuration.
func (*TOTPConfig) Descriptor ¶ added in v1.1.1
func (*TOTPConfig) Descriptor() ([]byte, []int)
func (*TOTPConfig) GetAlgorithm ¶ added in v1.1.1
func (m *TOTPConfig) GetAlgorithm() int32
func (*TOTPConfig) GetDigits ¶ added in v1.1.1
func (m *TOTPConfig) GetDigits() int32
func (*TOTPConfig) GetIssuer ¶ added in v1.1.1
func (m *TOTPConfig) GetIssuer() string
func (*TOTPConfig) GetKeySize ¶ added in v1.1.1
func (m *TOTPConfig) GetKeySize() uint32
func (*TOTPConfig) GetPeriod ¶ added in v1.1.1
func (m *TOTPConfig) GetPeriod() uint32
func (*TOTPConfig) GetQRSize ¶ added in v1.1.1
func (m *TOTPConfig) GetQRSize() int32
func (*TOTPConfig) GetSkew ¶ added in v1.1.1
func (m *TOTPConfig) GetSkew() uint32
func (*TOTPConfig) ProtoMessage ¶ added in v1.1.1
func (*TOTPConfig) ProtoMessage()
func (*TOTPConfig) Reset ¶ added in v1.1.1
func (m *TOTPConfig) Reset()
func (*TOTPConfig) String ¶ added in v1.1.1
func (m *TOTPConfig) String() string
func (*TOTPConfig) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *TOTPConfig) XXX_DiscardUnknown()
func (*TOTPConfig) XXX_Marshal ¶ added in v1.1.1
func (m *TOTPConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TOTPConfig) XXX_Merge ¶ added in v1.1.1
func (m *TOTPConfig) XXX_Merge(src proto.Message)
func (*TOTPConfig) XXX_Size ¶ added in v1.1.1
func (m *TOTPConfig) XXX_Size() int
func (*TOTPConfig) XXX_Unmarshal ¶ added in v1.1.1
func (m *TOTPConfig) XXX_Unmarshal(b []byte) error
type TOTPSecret ¶ added in v1.1.1
type TOTPSecret struct { Issuer string `sentinel:"" protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` Period uint32 `sentinel:"" protobuf:"varint,2,opt,name=period,proto3" json:"period,omitempty"` Algorithm int32 `sentinel:"" protobuf:"varint,3,opt,name=algorithm,proto3" json:"algorithm,omitempty"` Digits int32 `sentinel:"" protobuf:"varint,4,opt,name=digits,proto3" json:"digits,omitempty"` Skew uint32 `sentinel:"" protobuf:"varint,5,opt,name=skew,proto3" json:"skew,omitempty"` KeySize uint32 `sentinel:"" protobuf:"varint,6,opt,name=key_size,json=keySize,proto3" json:"key_size,omitempty"` // reserving 7 here just to keep parity with the config message above AccountName string `sentinel:"" protobuf:"bytes,8,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"` Key string `sentinel:"" protobuf:"bytes,9,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TOTPSecret represents the secret that gets stored in the entity about a particular MFA method. This information is used to validate the MFA credential supplied over the API during request time.
func (*TOTPSecret) Descriptor ¶ added in v1.1.1
func (*TOTPSecret) Descriptor() ([]byte, []int)
func (*TOTPSecret) GetAccountName ¶ added in v1.1.1
func (m *TOTPSecret) GetAccountName() string
func (*TOTPSecret) GetAlgorithm ¶ added in v1.1.1
func (m *TOTPSecret) GetAlgorithm() int32
func (*TOTPSecret) GetDigits ¶ added in v1.1.1
func (m *TOTPSecret) GetDigits() int32
func (*TOTPSecret) GetIssuer ¶ added in v1.1.1
func (m *TOTPSecret) GetIssuer() string
func (*TOTPSecret) GetKey ¶ added in v1.1.1
func (m *TOTPSecret) GetKey() string
func (*TOTPSecret) GetKeySize ¶ added in v1.1.1
func (m *TOTPSecret) GetKeySize() uint32
func (*TOTPSecret) GetPeriod ¶ added in v1.1.1
func (m *TOTPSecret) GetPeriod() uint32
func (*TOTPSecret) GetSkew ¶ added in v1.1.1
func (m *TOTPSecret) GetSkew() uint32
func (*TOTPSecret) ProtoMessage ¶ added in v1.1.1
func (*TOTPSecret) ProtoMessage()
func (*TOTPSecret) Reset ¶ added in v1.1.1
func (m *TOTPSecret) Reset()
func (*TOTPSecret) String ¶ added in v1.1.1
func (m *TOTPSecret) String() string
func (*TOTPSecret) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *TOTPSecret) XXX_DiscardUnknown()
func (*TOTPSecret) XXX_Marshal ¶ added in v1.1.1
func (m *TOTPSecret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TOTPSecret) XXX_Merge ¶ added in v1.1.1
func (m *TOTPSecret) XXX_Merge(src proto.Message)
func (*TOTPSecret) XXX_Size ¶ added in v1.1.1
func (m *TOTPSecret) XXX_Size() int
func (*TOTPSecret) XXX_Unmarshal ¶ added in v1.1.1
func (m *TOTPSecret) XXX_Unmarshal(b []byte) error