Documentation ¶
Index ¶
- Variables
- type CodeChallenge
- func (*CodeChallenge) Descriptor() ([]byte, []int)deprecated
- func (x *CodeChallenge) GetCanonicalPhoneNumber() string
- func (x *CodeChallenge) GetCodeLength() int32
- func (x *CodeChallenge) GetExpiresIn() int32
- func (x *CodeChallenge) GetMethod() CodeChallenge_Method
- func (*CodeChallenge) ProtoMessage()
- func (x *CodeChallenge) ProtoReflect() protoreflect.Message
- func (x *CodeChallenge) Reset()
- func (x *CodeChallenge) String() string
- type CodeChallenge_Method
- func (CodeChallenge_Method) Descriptor() protoreflect.EnumDescriptor
- func (x CodeChallenge_Method) Enum() *CodeChallenge_Method
- func (CodeChallenge_Method) EnumDescriptor() ([]byte, []int)deprecated
- func (x CodeChallenge_Method) Number() protoreflect.EnumNumber
- func (x CodeChallenge_Method) String() string
- func (CodeChallenge_Method) Type() protoreflect.EnumType
- type CodeSolution
- type HashcashChallenge
- func (*HashcashChallenge) Descriptor() ([]byte, []int)deprecated
- func (x *HashcashChallenge) GetLength() int32
- func (x *HashcashChallenge) GetPrefix() []byte
- func (*HashcashChallenge) ProtoMessage()
- func (x *HashcashChallenge) ProtoReflect() protoreflect.Message
- func (x *HashcashChallenge) Reset()
- func (x *HashcashChallenge) String() string
- type HashcashSolution
- func (*HashcashSolution) Descriptor() ([]byte, []int)deprecated
- func (x *HashcashSolution) GetDuration() *google.Duration
- func (x *HashcashSolution) GetSuffix() []byte
- func (*HashcashSolution) ProtoMessage()
- func (x *HashcashSolution) ProtoReflect() protoreflect.Message
- func (x *HashcashSolution) Reset()
- func (x *HashcashSolution) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CodeChallenge_Method_name = map[int32]string{ 0: "UNKNOWN", 1: "SMS", } CodeChallenge_Method_value = map[string]int32{ "UNKNOWN": 0, "SMS": 1, } )
Enum value maps for CodeChallenge_Method.
View Source
var File_login5_challenges_code_proto protoreflect.FileDescriptor
View Source
var File_login5_challenges_hashcash_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CodeChallenge ¶
type CodeChallenge struct { Method CodeChallenge_Method `protobuf:"varint,1,opt,name=method,proto3,enum=spotify.login5.v3.challenges.CodeChallenge_Method" json:"method,omitempty"` CodeLength int32 `protobuf:"varint,2,opt,name=code_length,json=codeLength,proto3" json:"code_length,omitempty"` ExpiresIn int32 `protobuf:"varint,3,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` CanonicalPhoneNumber string `protobuf:"bytes,4,opt,name=canonical_phone_number,json=canonicalPhoneNumber,proto3" json:"canonical_phone_number,omitempty"` // contains filtered or unexported fields }
func (*CodeChallenge) Descriptor
deprecated
func (*CodeChallenge) Descriptor() ([]byte, []int)
Deprecated: Use CodeChallenge.ProtoReflect.Descriptor instead.
func (*CodeChallenge) GetCanonicalPhoneNumber ¶
func (x *CodeChallenge) GetCanonicalPhoneNumber() string
func (*CodeChallenge) GetCodeLength ¶
func (x *CodeChallenge) GetCodeLength() int32
func (*CodeChallenge) GetExpiresIn ¶
func (x *CodeChallenge) GetExpiresIn() int32
func (*CodeChallenge) GetMethod ¶
func (x *CodeChallenge) GetMethod() CodeChallenge_Method
func (*CodeChallenge) ProtoMessage ¶
func (*CodeChallenge) ProtoMessage()
func (*CodeChallenge) ProtoReflect ¶
func (x *CodeChallenge) ProtoReflect() protoreflect.Message
func (*CodeChallenge) Reset ¶
func (x *CodeChallenge) Reset()
func (*CodeChallenge) String ¶
func (x *CodeChallenge) String() string
type CodeChallenge_Method ¶
type CodeChallenge_Method int32
const ( CodeChallenge_UNKNOWN CodeChallenge_Method = 0 CodeChallenge_SMS CodeChallenge_Method = 1 )
func (CodeChallenge_Method) Descriptor ¶
func (CodeChallenge_Method) Descriptor() protoreflect.EnumDescriptor
func (CodeChallenge_Method) Enum ¶
func (x CodeChallenge_Method) Enum() *CodeChallenge_Method
func (CodeChallenge_Method) EnumDescriptor
deprecated
func (CodeChallenge_Method) EnumDescriptor() ([]byte, []int)
Deprecated: Use CodeChallenge_Method.Descriptor instead.
func (CodeChallenge_Method) Number ¶
func (x CodeChallenge_Method) Number() protoreflect.EnumNumber
func (CodeChallenge_Method) String ¶
func (x CodeChallenge_Method) String() string
func (CodeChallenge_Method) Type ¶
func (CodeChallenge_Method) Type() protoreflect.EnumType
type CodeSolution ¶
type CodeSolution struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*CodeSolution) Descriptor
deprecated
func (*CodeSolution) Descriptor() ([]byte, []int)
Deprecated: Use CodeSolution.ProtoReflect.Descriptor instead.
func (*CodeSolution) GetCode ¶
func (x *CodeSolution) GetCode() string
func (*CodeSolution) ProtoMessage ¶
func (*CodeSolution) ProtoMessage()
func (*CodeSolution) ProtoReflect ¶
func (x *CodeSolution) ProtoReflect() protoreflect.Message
func (*CodeSolution) Reset ¶
func (x *CodeSolution) Reset()
func (*CodeSolution) String ¶
func (x *CodeSolution) String() string
type HashcashChallenge ¶
type HashcashChallenge struct { Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` Length int32 `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"` // contains filtered or unexported fields }
func (*HashcashChallenge) Descriptor
deprecated
func (*HashcashChallenge) Descriptor() ([]byte, []int)
Deprecated: Use HashcashChallenge.ProtoReflect.Descriptor instead.
func (*HashcashChallenge) GetLength ¶
func (x *HashcashChallenge) GetLength() int32
func (*HashcashChallenge) GetPrefix ¶
func (x *HashcashChallenge) GetPrefix() []byte
func (*HashcashChallenge) ProtoMessage ¶
func (*HashcashChallenge) ProtoMessage()
func (*HashcashChallenge) ProtoReflect ¶
func (x *HashcashChallenge) ProtoReflect() protoreflect.Message
func (*HashcashChallenge) Reset ¶
func (x *HashcashChallenge) Reset()
func (*HashcashChallenge) String ¶
func (x *HashcashChallenge) String() string
type HashcashSolution ¶
type HashcashSolution struct { Suffix []byte `protobuf:"bytes,1,opt,name=suffix,proto3" json:"suffix,omitempty"` Duration *google.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*HashcashSolution) Descriptor
deprecated
func (*HashcashSolution) Descriptor() ([]byte, []int)
Deprecated: Use HashcashSolution.ProtoReflect.Descriptor instead.
func (*HashcashSolution) GetDuration ¶
func (x *HashcashSolution) GetDuration() *google.Duration
func (*HashcashSolution) GetSuffix ¶
func (x *HashcashSolution) GetSuffix() []byte
func (*HashcashSolution) ProtoMessage ¶
func (*HashcashSolution) ProtoMessage()
func (*HashcashSolution) ProtoReflect ¶
func (x *HashcashSolution) ProtoReflect() protoreflect.Message
func (*HashcashSolution) Reset ¶
func (x *HashcashSolution) Reset()
func (*HashcashSolution) String ¶
func (x *HashcashSolution) String() string
Click to show internal directories.
Click to hide internal directories.