Documentation
¶
Index ¶
- Variables
- type Challenge
- func (*Challenge) Descriptor() ([]byte, []int)deprecated
- func (m *Challenge) GetChallenge() isChallenge_Challenge
- func (x *Challenge) GetCode() *challenges.CodeChallenge
- func (x *Challenge) GetHashcash() *challenges.HashcashChallenge
- func (*Challenge) ProtoMessage()
- func (x *Challenge) ProtoReflect() protoreflect.Message
- func (x *Challenge) Reset()
- func (x *Challenge) String() string
- type ChallengeSolution
- func (*ChallengeSolution) Descriptor() ([]byte, []int)deprecated
- func (x *ChallengeSolution) GetCode() *challenges.CodeSolution
- func (x *ChallengeSolution) GetHashcash() *challenges.HashcashSolution
- func (m *ChallengeSolution) GetSolution() isChallengeSolution_Solution
- func (*ChallengeSolution) ProtoMessage()
- func (x *ChallengeSolution) ProtoReflect() protoreflect.Message
- func (x *ChallengeSolution) Reset()
- func (x *ChallengeSolution) String() string
- type ChallengeSolution_Code
- type ChallengeSolution_Hashcash
- type ChallengeSolutions
- func (*ChallengeSolutions) Descriptor() ([]byte, []int)deprecated
- func (x *ChallengeSolutions) GetSolutions() []*ChallengeSolution
- func (*ChallengeSolutions) ProtoMessage()
- func (x *ChallengeSolutions) ProtoReflect() protoreflect.Message
- func (x *ChallengeSolutions) Reset()
- func (x *ChallengeSolutions) String() string
- type Challenge_Code
- type Challenge_Hashcash
- type Challenges
- type ClientInfo
- type LoginError
- type LoginOk
- func (*LoginOk) Descriptor() ([]byte, []int)deprecated
- func (x *LoginOk) GetAccessToken() string
- func (x *LoginOk) GetAccessTokenExpiresIn() int32
- func (x *LoginOk) GetStoredCredential() []byte
- func (x *LoginOk) GetUsername() string
- func (*LoginOk) ProtoMessage()
- func (x *LoginOk) ProtoReflect() protoreflect.Message
- func (x *LoginOk) Reset()
- func (x *LoginOk) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetAppleSignInCredential() *credentials.AppleSignInCredential
- func (x *LoginRequest) GetChallengeSolutions() *ChallengeSolutions
- func (x *LoginRequest) GetClientInfo() *ClientInfo
- func (x *LoginRequest) GetFacebookAccessToken() *credentials.FacebookAccessToken
- func (x *LoginRequest) GetGoogleSignInCredential() *credentials.GoogleSignInCredential
- func (x *LoginRequest) GetLoginContext() []byte
- func (m *LoginRequest) GetLoginMethod() isLoginRequest_LoginMethod
- func (x *LoginRequest) GetOneTimeToken() *credentials.OneTimeToken
- func (x *LoginRequest) GetParentChildCredential() *credentials.ParentChildCredential
- func (x *LoginRequest) GetPassword() *credentials.Password
- func (x *LoginRequest) GetPhoneNumber() *identifiers.PhoneNumber
- func (x *LoginRequest) GetSamsungSignInCredential() *credentials.SamsungSignInCredential
- func (x *LoginRequest) GetStoredCredential() *credentials.StoredCredential
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginRequest_AppleSignInCredential
- type LoginRequest_FacebookAccessToken
- type LoginRequest_GoogleSignInCredential
- type LoginRequest_OneTimeToken
- type LoginRequest_ParentChildCredential
- type LoginRequest_Password
- type LoginRequest_PhoneNumber
- type LoginRequest_SamsungSignInCredential
- type LoginRequest_StoredCredential
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetChallenges() *Challenges
- func (x *LoginResponse) GetError() LoginError
- func (x *LoginResponse) GetIdentifierToken() string
- func (x *LoginResponse) GetLoginContext() []byte
- func (x *LoginResponse) GetOk() *LoginOk
- func (m *LoginResponse) GetResponse() isLoginResponse_Response
- func (x *LoginResponse) GetUserInfo() *UserInfo
- func (x *LoginResponse) GetWarnings() []LoginResponse_Warnings
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type LoginResponse_Challenges
- type LoginResponse_Error
- type LoginResponse_Ok
- type LoginResponse_Warnings
- func (LoginResponse_Warnings) Descriptor() protoreflect.EnumDescriptor
- func (x LoginResponse_Warnings) Enum() *LoginResponse_Warnings
- func (LoginResponse_Warnings) EnumDescriptor() ([]byte, []int)deprecated
- func (x LoginResponse_Warnings) Number() protoreflect.EnumNumber
- func (x LoginResponse_Warnings) String() string
- func (LoginResponse_Warnings) Type() protoreflect.EnumType
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfo) GetBirthdate() string
- func (x *UserInfo) GetEmail() string
- func (x *UserInfo) GetEmailAlreadyRegistered() bool
- func (x *UserInfo) GetEmailVerified() bool
- func (x *UserInfo) GetGender() UserInfo_Gender
- func (x *UserInfo) GetName() string
- func (x *UserInfo) GetPhoneNumber() string
- func (x *UserInfo) GetPhoneNumberVerified() bool
- func (*UserInfo) ProtoMessage()
- func (x *UserInfo) ProtoReflect() protoreflect.Message
- func (x *UserInfo) Reset()
- func (x *UserInfo) String() string
- type UserInfo_Gender
- func (UserInfo_Gender) Descriptor() protoreflect.EnumDescriptor
- func (x UserInfo_Gender) Enum() *UserInfo_Gender
- func (UserInfo_Gender) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserInfo_Gender) Number() protoreflect.EnumNumber
- func (x UserInfo_Gender) String() string
- func (UserInfo_Gender) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( LoginError_name = map[int32]string{ 0: "UNKNOWN_ERROR", 1: "INVALID_CREDENTIALS", 2: "BAD_REQUEST", 3: "UNSUPPORTED_LOGIN_PROTOCOL", 4: "TIMEOUT", 5: "UNKNOWN_IDENTIFIER", 6: "TOO_MANY_ATTEMPTS", 7: "INVALID_PHONENUMBER", 8: "TRY_AGAIN_LATER", } LoginError_value = map[string]int32{ "UNKNOWN_ERROR": 0, "INVALID_CREDENTIALS": 1, "BAD_REQUEST": 2, "UNSUPPORTED_LOGIN_PROTOCOL": 3, "TIMEOUT": 4, "UNKNOWN_IDENTIFIER": 5, "TOO_MANY_ATTEMPTS": 6, "INVALID_PHONENUMBER": 7, "TRY_AGAIN_LATER": 8, } )
Enum value maps for LoginError.
var ( LoginResponse_Warnings_name = map[int32]string{ 0: "UNKNOWN_WARNING", 1: "DEPRECATED_PROTOCOL_VERSION", } LoginResponse_Warnings_value = map[string]int32{ "UNKNOWN_WARNING": 0, "DEPRECATED_PROTOCOL_VERSION": 1, } )
Enum value maps for LoginResponse_Warnings.
var ( UserInfo_Gender_name = map[int32]string{ 0: "UNKNOWN", 1: "MALE", 2: "FEMALE", 3: "NEUTRAL", } UserInfo_Gender_value = map[string]int32{ "UNKNOWN": 0, "MALE": 1, "FEMALE": 2, "NEUTRAL": 3, } )
Enum value maps for UserInfo_Gender.
var File_login5_client_info_proto protoreflect.FileDescriptor
var File_login5_proto protoreflect.FileDescriptor
var File_login5_user_info_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Challenge ¶
type Challenge struct { // Types that are assignable to Challenge: // // *Challenge_Hashcash // *Challenge_Code Challenge isChallenge_Challenge `protobuf_oneof:"challenge"` // contains filtered or unexported fields }
func (*Challenge) Descriptor
deprecated
func (*Challenge) GetChallenge ¶
func (m *Challenge) GetChallenge() isChallenge_Challenge
func (*Challenge) GetCode ¶
func (x *Challenge) GetCode() *challenges.CodeChallenge
func (*Challenge) GetHashcash ¶
func (x *Challenge) GetHashcash() *challenges.HashcashChallenge
func (*Challenge) ProtoMessage ¶
func (*Challenge) ProtoMessage()
func (*Challenge) ProtoReflect ¶
func (x *Challenge) ProtoReflect() protoreflect.Message
type ChallengeSolution ¶
type ChallengeSolution struct { // Types that are assignable to Solution: // // *ChallengeSolution_Hashcash // *ChallengeSolution_Code Solution isChallengeSolution_Solution `protobuf_oneof:"solution"` // contains filtered or unexported fields }
func (*ChallengeSolution) Descriptor
deprecated
func (*ChallengeSolution) Descriptor() ([]byte, []int)
Deprecated: Use ChallengeSolution.ProtoReflect.Descriptor instead.
func (*ChallengeSolution) GetCode ¶
func (x *ChallengeSolution) GetCode() *challenges.CodeSolution
func (*ChallengeSolution) GetHashcash ¶
func (x *ChallengeSolution) GetHashcash() *challenges.HashcashSolution
func (*ChallengeSolution) GetSolution ¶
func (m *ChallengeSolution) GetSolution() isChallengeSolution_Solution
func (*ChallengeSolution) ProtoMessage ¶
func (*ChallengeSolution) ProtoMessage()
func (*ChallengeSolution) ProtoReflect ¶
func (x *ChallengeSolution) ProtoReflect() protoreflect.Message
func (*ChallengeSolution) Reset ¶
func (x *ChallengeSolution) Reset()
func (*ChallengeSolution) String ¶
func (x *ChallengeSolution) String() string
type ChallengeSolution_Code ¶
type ChallengeSolution_Code struct {
Code *challenges.CodeSolution `protobuf:"bytes,2,opt,name=code,proto3,oneof"`
}
type ChallengeSolution_Hashcash ¶
type ChallengeSolution_Hashcash struct {
Hashcash *challenges.HashcashSolution `protobuf:"bytes,1,opt,name=hashcash,proto3,oneof"`
}
type ChallengeSolutions ¶
type ChallengeSolutions struct { Solutions []*ChallengeSolution `protobuf:"bytes,1,rep,name=solutions,proto3" json:"solutions,omitempty"` // contains filtered or unexported fields }
func (*ChallengeSolutions) Descriptor
deprecated
func (*ChallengeSolutions) Descriptor() ([]byte, []int)
Deprecated: Use ChallengeSolutions.ProtoReflect.Descriptor instead.
func (*ChallengeSolutions) GetSolutions ¶
func (x *ChallengeSolutions) GetSolutions() []*ChallengeSolution
func (*ChallengeSolutions) ProtoMessage ¶
func (*ChallengeSolutions) ProtoMessage()
func (*ChallengeSolutions) ProtoReflect ¶
func (x *ChallengeSolutions) ProtoReflect() protoreflect.Message
func (*ChallengeSolutions) Reset ¶
func (x *ChallengeSolutions) Reset()
func (*ChallengeSolutions) String ¶
func (x *ChallengeSolutions) String() string
type Challenge_Code ¶
type Challenge_Code struct {
Code *challenges.CodeChallenge `protobuf:"bytes,2,opt,name=code,proto3,oneof"`
}
type Challenge_Hashcash ¶
type Challenge_Hashcash struct {
Hashcash *challenges.HashcashChallenge `protobuf:"bytes,1,opt,name=hashcash,proto3,oneof"`
}
type Challenges ¶
type Challenges struct { Challenges []*Challenge `protobuf:"bytes,1,rep,name=challenges,proto3" json:"challenges,omitempty"` // contains filtered or unexported fields }
func (*Challenges) Descriptor
deprecated
func (*Challenges) Descriptor() ([]byte, []int)
Deprecated: Use Challenges.ProtoReflect.Descriptor instead.
func (*Challenges) GetChallenges ¶
func (x *Challenges) GetChallenges() []*Challenge
func (*Challenges) ProtoMessage ¶
func (*Challenges) ProtoMessage()
func (*Challenges) ProtoReflect ¶
func (x *Challenges) ProtoReflect() protoreflect.Message
func (*Challenges) Reset ¶
func (x *Challenges) Reset()
func (*Challenges) String ¶
func (x *Challenges) String() string
type ClientInfo ¶
type ClientInfo struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // contains filtered or unexported fields }
func (*ClientInfo) Descriptor
deprecated
func (*ClientInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.
func (*ClientInfo) GetClientId ¶
func (x *ClientInfo) GetClientId() string
func (*ClientInfo) GetDeviceId ¶
func (x *ClientInfo) GetDeviceId() string
func (*ClientInfo) ProtoMessage ¶
func (*ClientInfo) ProtoMessage()
func (*ClientInfo) ProtoReflect ¶
func (x *ClientInfo) ProtoReflect() protoreflect.Message
func (*ClientInfo) Reset ¶
func (x *ClientInfo) Reset()
func (*ClientInfo) String ¶
func (x *ClientInfo) String() string
type LoginError ¶
type LoginError int32
const ( LoginError_UNKNOWN_ERROR LoginError = 0 LoginError_INVALID_CREDENTIALS LoginError = 1 LoginError_BAD_REQUEST LoginError = 2 LoginError_UNSUPPORTED_LOGIN_PROTOCOL LoginError = 3 LoginError_TIMEOUT LoginError = 4 LoginError_UNKNOWN_IDENTIFIER LoginError = 5 LoginError_TOO_MANY_ATTEMPTS LoginError = 6 LoginError_INVALID_PHONENUMBER LoginError = 7 LoginError_TRY_AGAIN_LATER LoginError = 8 )
func (LoginError) Descriptor ¶
func (LoginError) Descriptor() protoreflect.EnumDescriptor
func (LoginError) Enum ¶
func (x LoginError) Enum() *LoginError
func (LoginError) EnumDescriptor
deprecated
func (LoginError) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoginError.Descriptor instead.
func (LoginError) Number ¶
func (x LoginError) Number() protoreflect.EnumNumber
func (LoginError) String ¶
func (x LoginError) String() string
func (LoginError) Type ¶
func (LoginError) Type() protoreflect.EnumType
type LoginOk ¶
type LoginOk struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` StoredCredential []byte `protobuf:"bytes,3,opt,name=stored_credential,json=storedCredential,proto3" json:"stored_credential,omitempty"` AccessTokenExpiresIn int32 `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*LoginOk) Descriptor
deprecated
func (*LoginOk) GetAccessToken ¶
func (*LoginOk) GetAccessTokenExpiresIn ¶
func (*LoginOk) GetStoredCredential ¶
func (*LoginOk) GetUsername ¶
func (*LoginOk) ProtoMessage ¶
func (*LoginOk) ProtoMessage()
func (*LoginOk) ProtoReflect ¶
func (x *LoginOk) ProtoReflect() protoreflect.Message
type LoginRequest ¶
type LoginRequest struct { ClientInfo *ClientInfo `protobuf:"bytes,1,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"` LoginContext []byte `protobuf:"bytes,2,opt,name=login_context,json=loginContext,proto3" json:"login_context,omitempty"` ChallengeSolutions *ChallengeSolutions `protobuf:"bytes,3,opt,name=challenge_solutions,json=challengeSolutions,proto3" json:"challenge_solutions,omitempty"` // Types that are assignable to LoginMethod: // // *LoginRequest_StoredCredential // *LoginRequest_Password // *LoginRequest_FacebookAccessToken // *LoginRequest_PhoneNumber // *LoginRequest_OneTimeToken // *LoginRequest_ParentChildCredential // *LoginRequest_AppleSignInCredential // *LoginRequest_SamsungSignInCredential // *LoginRequest_GoogleSignInCredential LoginMethod isLoginRequest_LoginMethod `protobuf_oneof:"login_method"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetAppleSignInCredential ¶
func (x *LoginRequest) GetAppleSignInCredential() *credentials.AppleSignInCredential
func (*LoginRequest) GetChallengeSolutions ¶
func (x *LoginRequest) GetChallengeSolutions() *ChallengeSolutions
func (*LoginRequest) GetClientInfo ¶
func (x *LoginRequest) GetClientInfo() *ClientInfo
func (*LoginRequest) GetFacebookAccessToken ¶
func (x *LoginRequest) GetFacebookAccessToken() *credentials.FacebookAccessToken
func (*LoginRequest) GetGoogleSignInCredential ¶
func (x *LoginRequest) GetGoogleSignInCredential() *credentials.GoogleSignInCredential
func (*LoginRequest) GetLoginContext ¶
func (x *LoginRequest) GetLoginContext() []byte
func (*LoginRequest) GetLoginMethod ¶
func (m *LoginRequest) GetLoginMethod() isLoginRequest_LoginMethod
func (*LoginRequest) GetOneTimeToken ¶
func (x *LoginRequest) GetOneTimeToken() *credentials.OneTimeToken
func (*LoginRequest) GetParentChildCredential ¶
func (x *LoginRequest) GetParentChildCredential() *credentials.ParentChildCredential
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() *credentials.Password
func (*LoginRequest) GetPhoneNumber ¶
func (x *LoginRequest) GetPhoneNumber() *identifiers.PhoneNumber
func (*LoginRequest) GetSamsungSignInCredential ¶
func (x *LoginRequest) GetSamsungSignInCredential() *credentials.SamsungSignInCredential
func (*LoginRequest) GetStoredCredential ¶
func (x *LoginRequest) GetStoredCredential() *credentials.StoredCredential
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginRequest_AppleSignInCredential ¶
type LoginRequest_AppleSignInCredential struct {
AppleSignInCredential *credentials.AppleSignInCredential `protobuf:"bytes,106,opt,name=apple_sign_in_credential,json=appleSignInCredential,proto3,oneof"`
}
type LoginRequest_FacebookAccessToken ¶
type LoginRequest_FacebookAccessToken struct {
FacebookAccessToken *credentials.FacebookAccessToken `protobuf:"bytes,102,opt,name=facebook_access_token,json=facebookAccessToken,proto3,oneof"`
}
type LoginRequest_GoogleSignInCredential ¶
type LoginRequest_GoogleSignInCredential struct {
GoogleSignInCredential *credentials.GoogleSignInCredential `protobuf:"bytes,108,opt,name=google_sign_in_credential,json=googleSignInCredential,proto3,oneof"`
}
type LoginRequest_OneTimeToken ¶
type LoginRequest_OneTimeToken struct {
OneTimeToken *credentials.OneTimeToken `protobuf:"bytes,104,opt,name=one_time_token,json=oneTimeToken,proto3,oneof"`
}
type LoginRequest_ParentChildCredential ¶
type LoginRequest_ParentChildCredential struct {
ParentChildCredential *credentials.ParentChildCredential `protobuf:"bytes,105,opt,name=parent_child_credential,json=parentChildCredential,proto3,oneof"`
}
type LoginRequest_Password ¶
type LoginRequest_Password struct {
Password *credentials.Password `protobuf:"bytes,101,opt,name=password,proto3,oneof"`
}
type LoginRequest_PhoneNumber ¶
type LoginRequest_PhoneNumber struct {
PhoneNumber *identifiers.PhoneNumber `protobuf:"bytes,103,opt,name=phone_number,json=phoneNumber,proto3,oneof"`
}
type LoginRequest_SamsungSignInCredential ¶
type LoginRequest_SamsungSignInCredential struct {
SamsungSignInCredential *credentials.SamsungSignInCredential `protobuf:"bytes,107,opt,name=samsung_sign_in_credential,json=samsungSignInCredential,proto3,oneof"`
}
type LoginRequest_StoredCredential ¶
type LoginRequest_StoredCredential struct {
StoredCredential *credentials.StoredCredential `protobuf:"bytes,100,opt,name=stored_credential,json=storedCredential,proto3,oneof"`
}
type LoginResponse ¶
type LoginResponse struct { Warnings []LoginResponse_Warnings `protobuf:"varint,4,rep,packed,name=warnings,proto3,enum=spotify.login5.v3.LoginResponse_Warnings" json:"warnings,omitempty"` LoginContext []byte `protobuf:"bytes,5,opt,name=login_context,json=loginContext,proto3" json:"login_context,omitempty"` IdentifierToken string `protobuf:"bytes,6,opt,name=identifier_token,json=identifierToken,proto3" json:"identifier_token,omitempty"` UserInfo *UserInfo `protobuf:"bytes,7,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"` // Types that are assignable to Response: // // *LoginResponse_Ok // *LoginResponse_Error // *LoginResponse_Challenges Response isLoginResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetChallenges ¶
func (x *LoginResponse) GetChallenges() *Challenges
func (*LoginResponse) GetError ¶
func (x *LoginResponse) GetError() LoginError
func (*LoginResponse) GetIdentifierToken ¶
func (x *LoginResponse) GetIdentifierToken() string
func (*LoginResponse) GetLoginContext ¶
func (x *LoginResponse) GetLoginContext() []byte
func (*LoginResponse) GetOk ¶
func (x *LoginResponse) GetOk() *LoginOk
func (*LoginResponse) GetResponse ¶
func (m *LoginResponse) GetResponse() isLoginResponse_Response
func (*LoginResponse) GetUserInfo ¶
func (x *LoginResponse) GetUserInfo() *UserInfo
func (*LoginResponse) GetWarnings ¶
func (x *LoginResponse) GetWarnings() []LoginResponse_Warnings
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type LoginResponse_Challenges ¶
type LoginResponse_Challenges struct {
Challenges *Challenges `protobuf:"bytes,3,opt,name=challenges,proto3,oneof"`
}
type LoginResponse_Error ¶
type LoginResponse_Error struct {
Error LoginError `protobuf:"varint,2,opt,name=error,proto3,enum=spotify.login5.v3.LoginError,oneof"`
}
type LoginResponse_Ok ¶
type LoginResponse_Ok struct {
Ok *LoginOk `protobuf:"bytes,1,opt,name=ok,proto3,oneof"`
}
type LoginResponse_Warnings ¶
type LoginResponse_Warnings int32
const ( LoginResponse_UNKNOWN_WARNING LoginResponse_Warnings = 0 LoginResponse_DEPRECATED_PROTOCOL_VERSION LoginResponse_Warnings = 1 )
func (LoginResponse_Warnings) Descriptor ¶
func (LoginResponse_Warnings) Descriptor() protoreflect.EnumDescriptor
func (LoginResponse_Warnings) Enum ¶
func (x LoginResponse_Warnings) Enum() *LoginResponse_Warnings
func (LoginResponse_Warnings) EnumDescriptor
deprecated
func (LoginResponse_Warnings) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoginResponse_Warnings.Descriptor instead.
func (LoginResponse_Warnings) Number ¶
func (x LoginResponse_Warnings) Number() protoreflect.EnumNumber
func (LoginResponse_Warnings) String ¶
func (x LoginResponse_Warnings) String() string
func (LoginResponse_Warnings) Type ¶
func (LoginResponse_Warnings) Type() protoreflect.EnumType
type UserInfo ¶
type UserInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` EmailVerified bool `protobuf:"varint,3,opt,name=email_verified,json=emailVerified,proto3" json:"email_verified,omitempty"` Birthdate string `protobuf:"bytes,4,opt,name=birthdate,proto3" json:"birthdate,omitempty"` Gender UserInfo_Gender `protobuf:"varint,5,opt,name=gender,proto3,enum=spotify.login5.v3.UserInfo_Gender" json:"gender,omitempty"` PhoneNumber string `protobuf:"bytes,6,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` PhoneNumberVerified bool `protobuf:"varint,7,opt,name=phone_number_verified,json=phoneNumberVerified,proto3" json:"phone_number_verified,omitempty"` EmailAlreadyRegistered bool `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UserInfo) Descriptor
deprecated
func (*UserInfo) GetBirthdate ¶
func (*UserInfo) GetEmailAlreadyRegistered ¶
func (*UserInfo) GetEmailVerified ¶
func (*UserInfo) GetGender ¶
func (x *UserInfo) GetGender() UserInfo_Gender
func (*UserInfo) GetPhoneNumber ¶
func (*UserInfo) GetPhoneNumberVerified ¶
func (*UserInfo) ProtoMessage ¶
func (*UserInfo) ProtoMessage()
func (*UserInfo) ProtoReflect ¶
func (x *UserInfo) ProtoReflect() protoreflect.Message
type UserInfo_Gender ¶
type UserInfo_Gender int32
const ( UserInfo_UNKNOWN UserInfo_Gender = 0 UserInfo_MALE UserInfo_Gender = 1 UserInfo_FEMALE UserInfo_Gender = 2 UserInfo_NEUTRAL UserInfo_Gender = 3 )
func (UserInfo_Gender) Descriptor ¶
func (UserInfo_Gender) Descriptor() protoreflect.EnumDescriptor
func (UserInfo_Gender) Enum ¶
func (x UserInfo_Gender) Enum() *UserInfo_Gender
func (UserInfo_Gender) EnumDescriptor
deprecated
func (UserInfo_Gender) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserInfo_Gender.Descriptor instead.
func (UserInfo_Gender) Number ¶
func (x UserInfo_Gender) Number() protoreflect.EnumNumber
func (UserInfo_Gender) String ¶
func (x UserInfo_Gender) String() string
func (UserInfo_Gender) Type ¶
func (UserInfo_Gender) Type() protoreflect.EnumType