Documentation ¶
Index ¶
- Variables
- type AccountCryptoChallenge
- func (*AccountCryptoChallenge) Descriptor() ([]byte, []int)deprecated
- func (x *AccountCryptoChallenge) GetChallenge() string
- func (*AccountCryptoChallenge) ProtoMessage()
- func (x *AccountCryptoChallenge) ProtoReflect() protoreflect.Message
- func (x *AccountCryptoChallenge) Reset()
- func (x *AccountCryptoChallenge) String() string
- type CodeStrategy
- func (CodeStrategy) Descriptor() protoreflect.EnumDescriptor
- func (x CodeStrategy) Enum() *CodeStrategy
- func (CodeStrategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x CodeStrategy) Number() protoreflect.EnumNumber
- func (x CodeStrategy) String() string
- func (CodeStrategy) Type() protoreflect.EnumType
- type FlowType
- type StateChallenge
- func (*StateChallenge) Descriptor() ([]byte, []int)deprecated
- func (x *StateChallenge) GetBertyLink() string
- func (x *StateChallenge) GetNonce() []byte
- func (x *StateChallenge) GetRedirectUri() string
- func (x *StateChallenge) GetState() string
- func (x *StateChallenge) GetTimestamp() []byte
- func (*StateChallenge) ProtoMessage()
- func (x *StateChallenge) ProtoReflect() protoreflect.Message
- func (x *StateChallenge) Reset()
- func (x *StateChallenge) String() string
- type StateCode
- func (*StateCode) Descriptor() ([]byte, []int)deprecated
- func (x *StateCode) GetBertyLink() string
- func (x *StateCode) GetCode() string
- func (x *StateCode) GetCodeStrategy() CodeStrategy
- func (x *StateCode) GetIdentifier() string
- func (x *StateCode) GetRedirectUri() string
- func (x *StateCode) GetState() string
- func (x *StateCode) GetTimestamp() []byte
- func (*StateCode) ProtoMessage()
- func (x *StateCode) ProtoReflect() protoreflect.Message
- func (x *StateCode) Reset()
- func (x *StateCode) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FlowType_name = map[int32]string{ 0: "FlowTypeUndefined", 1: "FlowTypeCode", 2: "FlowTypeAuth", 3: "FlowTypeProof", } FlowType_value = map[string]int32{ "FlowTypeUndefined": 0, "FlowTypeCode": 1, "FlowTypeAuth": 2, "FlowTypeProof": 3, } )
Enum value maps for FlowType.
View Source
var ( CodeStrategy_name = map[int32]string{ 0: "CodeStrategyUndefined", 1: "CodeStrategy6Digits", 2: "CodeStrategy10Chars", 999: "CodeStrategyMocked6Zeroes", } CodeStrategy_value = map[string]int32{ "CodeStrategyUndefined": 0, "CodeStrategy6Digits": 1, "CodeStrategy10Chars": 2, "CodeStrategyMocked6Zeroes": 999, } )
Enum value maps for CodeStrategy.
View Source
var File_verifiablecredstypes_bertyverifiablecreds_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AccountCryptoChallenge ¶
type AccountCryptoChallenge struct { Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"` // contains filtered or unexported fields }
func (*AccountCryptoChallenge) Descriptor
deprecated
func (*AccountCryptoChallenge) Descriptor() ([]byte, []int)
Deprecated: Use AccountCryptoChallenge.ProtoReflect.Descriptor instead.
func (*AccountCryptoChallenge) GetChallenge ¶
func (x *AccountCryptoChallenge) GetChallenge() string
func (*AccountCryptoChallenge) ProtoMessage ¶
func (*AccountCryptoChallenge) ProtoMessage()
func (*AccountCryptoChallenge) ProtoReflect ¶
func (x *AccountCryptoChallenge) ProtoReflect() protoreflect.Message
func (*AccountCryptoChallenge) Reset ¶
func (x *AccountCryptoChallenge) Reset()
func (*AccountCryptoChallenge) String ¶
func (x *AccountCryptoChallenge) String() string
type CodeStrategy ¶
type CodeStrategy int32
const ( CodeStrategy_CodeStrategyUndefined CodeStrategy = 0 // CodeStrategy6Digits currently unimplemented CodeStrategy_CodeStrategy6Digits CodeStrategy = 1 // CodeStrategy10Chars currently unimplemented CodeStrategy_CodeStrategy10Chars CodeStrategy = 2 // CodeStrategyMocked6Zeroes must only be used in testing CodeStrategy_CodeStrategyMocked6Zeroes CodeStrategy = 999 )
func (CodeStrategy) Descriptor ¶
func (CodeStrategy) Descriptor() protoreflect.EnumDescriptor
func (CodeStrategy) Enum ¶
func (x CodeStrategy) Enum() *CodeStrategy
func (CodeStrategy) EnumDescriptor
deprecated
func (CodeStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use CodeStrategy.Descriptor instead.
func (CodeStrategy) Number ¶
func (x CodeStrategy) Number() protoreflect.EnumNumber
func (CodeStrategy) String ¶
func (x CodeStrategy) String() string
func (CodeStrategy) Type ¶
func (CodeStrategy) Type() protoreflect.EnumType
type FlowType ¶
type FlowType int32
func (FlowType) Descriptor ¶
func (FlowType) Descriptor() protoreflect.EnumDescriptor
func (FlowType) EnumDescriptor
deprecated
func (FlowType) Number ¶
func (x FlowType) Number() protoreflect.EnumNumber
func (FlowType) Type ¶
func (FlowType) Type() protoreflect.EnumType
type StateChallenge ¶
type StateChallenge struct { Timestamp []byte `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Nonce []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` BertyLink string `protobuf:"bytes,3,opt,name=berty_link,json=bertyLink,proto3" json:"berty_link,omitempty"` RedirectUri string `protobuf:"bytes,4,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"` State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
StateChallenge serialized and signed state used when requesting a challenge
func (*StateChallenge) Descriptor
deprecated
func (*StateChallenge) Descriptor() ([]byte, []int)
Deprecated: Use StateChallenge.ProtoReflect.Descriptor instead.
func (*StateChallenge) GetBertyLink ¶
func (x *StateChallenge) GetBertyLink() string
func (*StateChallenge) GetNonce ¶
func (x *StateChallenge) GetNonce() []byte
func (*StateChallenge) GetRedirectUri ¶
func (x *StateChallenge) GetRedirectUri() string
func (*StateChallenge) GetState ¶
func (x *StateChallenge) GetState() string
func (*StateChallenge) GetTimestamp ¶
func (x *StateChallenge) GetTimestamp() []byte
func (*StateChallenge) ProtoMessage ¶
func (*StateChallenge) ProtoMessage()
func (*StateChallenge) ProtoReflect ¶
func (x *StateChallenge) ProtoReflect() protoreflect.Message
func (*StateChallenge) Reset ¶
func (x *StateChallenge) Reset()
func (*StateChallenge) String ¶
func (x *StateChallenge) String() string
type StateCode ¶
type StateCode struct { Timestamp []byte `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` BertyLink string `protobuf:"bytes,2,opt,name=berty_link,json=bertyLink,proto3" json:"berty_link,omitempty"` CodeStrategy CodeStrategy `` /* 135-byte string literal not displayed */ Identifier string `protobuf:"bytes,4,opt,name=identifier,proto3" json:"identifier,omitempty"` Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"` RedirectUri string `protobuf:"bytes,6,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"` State string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
StateCode serialized and signed state used when requesting a code
func (*StateCode) Descriptor
deprecated
func (*StateCode) GetBertyLink ¶
func (*StateCode) GetCodeStrategy ¶
func (x *StateCode) GetCodeStrategy() CodeStrategy
func (*StateCode) GetIdentifier ¶
func (*StateCode) GetRedirectUri ¶
func (*StateCode) GetTimestamp ¶
func (*StateCode) ProtoMessage ¶
func (*StateCode) ProtoMessage()
func (*StateCode) ProtoReflect ¶
func (x *StateCode) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.