Documentation ¶
Index ¶
- Variables
- type Challenge
- func (*Challenge) Descriptor() ([]byte, []int)deprecated
- func (x *Challenge) GetClientSecretParameters() *ClientSecretParameters
- func (x *Challenge) GetEvaluateHashcashParameters() *HashCashParameters
- func (x *Challenge) GetEvaluateJsParameters() *EvaluateJSParameters
- func (m *Challenge) GetParameters() isChallenge_Parameters
- func (x *Challenge) GetType() ChallengeType
- func (*Challenge) ProtoMessage()
- func (x *Challenge) ProtoReflect() protoreflect.Message
- func (x *Challenge) Reset()
- func (x *Challenge) String() string
- type ChallengeAnswer
- func (*ChallengeAnswer) Descriptor() ([]byte, []int)deprecated
- func (m *ChallengeAnswer) GetAnswer() isChallengeAnswer_Answer
- func (x *ChallengeAnswer) GetChallengeType() ChallengeType
- func (x *ChallengeAnswer) GetClientSecret() *ClientSecretHMACAnswer
- func (x *ChallengeAnswer) GetEvaluateJs() *EvaluateJSAnswer
- func (x *ChallengeAnswer) GetHashCash() *HashCashAnswer
- func (*ChallengeAnswer) ProtoMessage()
- func (x *ChallengeAnswer) ProtoReflect() protoreflect.Message
- func (x *ChallengeAnswer) Reset()
- func (x *ChallengeAnswer) String() string
- type ChallengeAnswer_ClientSecret
- type ChallengeAnswer_EvaluateJs
- type ChallengeAnswer_HashCash
- type ChallengeAnswersRequest
- func (*ChallengeAnswersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChallengeAnswersRequest) GetAnswers() []*ChallengeAnswer
- func (x *ChallengeAnswersRequest) GetState() string
- func (*ChallengeAnswersRequest) ProtoMessage()
- func (x *ChallengeAnswersRequest) ProtoReflect() protoreflect.Message
- func (x *ChallengeAnswersRequest) Reset()
- func (x *ChallengeAnswersRequest) String() string
- type ChallengeType
- func (ChallengeType) Descriptor() protoreflect.EnumDescriptor
- func (x ChallengeType) Enum() *ChallengeType
- func (ChallengeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ChallengeType) Number() protoreflect.EnumNumber
- func (x ChallengeType) String() string
- func (ChallengeType) Type() protoreflect.EnumType
- type Challenge_ClientSecretParameters
- type Challenge_EvaluateHashcashParameters
- type Challenge_EvaluateJsParameters
- type ChallengesResponse
- func (*ChallengesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChallengesResponse) GetChallenges() []*Challenge
- func (x *ChallengesResponse) GetState() string
- func (*ChallengesResponse) ProtoMessage()
- func (x *ChallengesResponse) ProtoReflect() protoreflect.Message
- func (x *ChallengesResponse) Reset()
- func (x *ChallengesResponse) String() string
- type ClientDataRequest
- func (*ClientDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClientDataRequest) GetClientId() string
- func (x *ClientDataRequest) GetClientVersion() string
- func (x *ClientDataRequest) GetConnectivitySdkData() *v0.ConnectivitySdkData
- func (m *ClientDataRequest) GetData() isClientDataRequest_Data
- func (*ClientDataRequest) ProtoMessage()
- func (x *ClientDataRequest) ProtoReflect() protoreflect.Message
- func (x *ClientDataRequest) Reset()
- func (x *ClientDataRequest) String() string
- type ClientDataRequest_ConnectivitySdkData
- type ClientSecretHMACAnswer
- func (*ClientSecretHMACAnswer) Descriptor() ([]byte, []int)deprecated
- func (x *ClientSecretHMACAnswer) GetHmac() string
- func (*ClientSecretHMACAnswer) ProtoMessage()
- func (x *ClientSecretHMACAnswer) ProtoReflect() protoreflect.Message
- func (x *ClientSecretHMACAnswer) Reset()
- func (x *ClientSecretHMACAnswer) String() string
- type ClientSecretParameters
- func (*ClientSecretParameters) Descriptor() ([]byte, []int)deprecated
- func (x *ClientSecretParameters) GetSalt() string
- func (*ClientSecretParameters) ProtoMessage()
- func (x *ClientSecretParameters) ProtoReflect() protoreflect.Message
- func (x *ClientSecretParameters) Reset()
- func (x *ClientSecretParameters) String() string
- type ClientTokenBadRequest
- func (*ClientTokenBadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClientTokenBadRequest) GetMessage() string
- func (*ClientTokenBadRequest) ProtoMessage()
- func (x *ClientTokenBadRequest) ProtoReflect() protoreflect.Message
- func (x *ClientTokenBadRequest) Reset()
- func (x *ClientTokenBadRequest) String() string
- type ClientTokenRequest
- func (*ClientTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClientTokenRequest) GetChallengeAnswers() *ChallengeAnswersRequest
- func (x *ClientTokenRequest) GetClientData() *ClientDataRequest
- func (m *ClientTokenRequest) GetRequest() isClientTokenRequest_Request
- func (x *ClientTokenRequest) GetRequestType() ClientTokenRequestType
- func (*ClientTokenRequest) ProtoMessage()
- func (x *ClientTokenRequest) ProtoReflect() protoreflect.Message
- func (x *ClientTokenRequest) Reset()
- func (x *ClientTokenRequest) String() string
- type ClientTokenRequestType
- func (ClientTokenRequestType) Descriptor() protoreflect.EnumDescriptor
- func (x ClientTokenRequestType) Enum() *ClientTokenRequestType
- func (ClientTokenRequestType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClientTokenRequestType) Number() protoreflect.EnumNumber
- func (x ClientTokenRequestType) String() string
- func (ClientTokenRequestType) Type() protoreflect.EnumType
- type ClientTokenRequest_ChallengeAnswers
- type ClientTokenRequest_ClientData
- type ClientTokenResponse
- func (*ClientTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClientTokenResponse) GetChallenges() *ChallengesResponse
- func (x *ClientTokenResponse) GetGrantedToken() *GrantedTokenResponse
- func (m *ClientTokenResponse) GetResponse() isClientTokenResponse_Response
- func (x *ClientTokenResponse) GetResponseType() ClientTokenResponseType
- func (*ClientTokenResponse) ProtoMessage()
- func (x *ClientTokenResponse) ProtoReflect() protoreflect.Message
- func (x *ClientTokenResponse) Reset()
- func (x *ClientTokenResponse) String() string
- type ClientTokenResponseType
- func (ClientTokenResponseType) Descriptor() protoreflect.EnumDescriptor
- func (x ClientTokenResponseType) Enum() *ClientTokenResponseType
- func (ClientTokenResponseType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClientTokenResponseType) Number() protoreflect.EnumNumber
- func (x ClientTokenResponseType) String() string
- func (ClientTokenResponseType) Type() protoreflect.EnumType
- type ClientTokenResponse_Challenges
- type ClientTokenResponse_GrantedToken
- type EvaluateJSAnswer
- type EvaluateJSParameters
- func (*EvaluateJSParameters) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateJSParameters) GetCode() string
- func (x *EvaluateJSParameters) GetLibraries() []string
- func (*EvaluateJSParameters) ProtoMessage()
- func (x *EvaluateJSParameters) ProtoReflect() protoreflect.Message
- func (x *EvaluateJSParameters) Reset()
- func (x *EvaluateJSParameters) String() string
- type GrantedTokenResponse
- func (*GrantedTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GrantedTokenResponse) GetDomains() []*TokenDomain
- func (x *GrantedTokenResponse) GetExpiresAfterSeconds() int32
- func (x *GrantedTokenResponse) GetRefreshAfterSeconds() int32
- func (x *GrantedTokenResponse) GetToken() string
- func (*GrantedTokenResponse) ProtoMessage()
- func (x *GrantedTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GrantedTokenResponse) Reset()
- func (x *GrantedTokenResponse) String() string
- type HashCashAnswer
- type HashCashParameters
- func (*HashCashParameters) Descriptor() ([]byte, []int)deprecated
- func (x *HashCashParameters) GetLength() int32
- func (x *HashCashParameters) GetPrefix() string
- func (*HashCashParameters) ProtoMessage()
- func (x *HashCashParameters) ProtoReflect() protoreflect.Message
- func (x *HashCashParameters) Reset()
- func (x *HashCashParameters) String() string
- type TokenDomain
Constants ¶
This section is empty.
Variables ¶
var ( ClientTokenRequestType_name = map[int32]string{ 0: "REQUEST_UNKNOWN", 1: "REQUEST_CLIENT_DATA_REQUEST", 2: "REQUEST_CHALLENGE_ANSWERS_REQUEST", } ClientTokenRequestType_value = map[string]int32{ "REQUEST_UNKNOWN": 0, "REQUEST_CLIENT_DATA_REQUEST": 1, "REQUEST_CHALLENGE_ANSWERS_REQUEST": 2, } )
Enum value maps for ClientTokenRequestType.
var ( ClientTokenResponseType_name = map[int32]string{ 0: "RESPONSE_UNKNOWN", 1: "RESPONSE_GRANTED_TOKEN_RESPONSE", 2: "RESPONSE_CHALLENGES_RESPONSE", } ClientTokenResponseType_value = map[string]int32{ "RESPONSE_UNKNOWN": 0, "RESPONSE_GRANTED_TOKEN_RESPONSE": 1, "RESPONSE_CHALLENGES_RESPONSE": 2, } )
Enum value maps for ClientTokenResponseType.
var ( ChallengeType_name = map[int32]string{ 0: "CHALLENGE_UNKNOWN", 1: "CHALLENGE_CLIENT_SECRET_HMAC", 2: "CHALLENGE_EVALUATE_JS", 3: "CHALLENGE_HASH_CASH", } ChallengeType_value = map[string]int32{ "CHALLENGE_UNKNOWN": 0, "CHALLENGE_CLIENT_SECRET_HMAC": 1, "CHALLENGE_EVALUATE_JS": 2, "CHALLENGE_HASH_CASH": 3, } )
Enum value maps for ChallengeType.
var File_clienttoken_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Challenge ¶
type Challenge struct { Type ChallengeType `protobuf:"varint,1,opt,name=type,proto3,enum=spotify.clienttoken.http.v0.ChallengeType" json:"type,omitempty"` // Types that are assignable to Parameters: // // *Challenge_ClientSecretParameters // *Challenge_EvaluateJsParameters // *Challenge_EvaluateHashcashParameters Parameters isChallenge_Parameters `protobuf_oneof:"parameters"` // contains filtered or unexported fields }
func (*Challenge) Descriptor
deprecated
func (*Challenge) GetClientSecretParameters ¶
func (x *Challenge) GetClientSecretParameters() *ClientSecretParameters
func (*Challenge) GetEvaluateHashcashParameters ¶
func (x *Challenge) GetEvaluateHashcashParameters() *HashCashParameters
func (*Challenge) GetEvaluateJsParameters ¶
func (x *Challenge) GetEvaluateJsParameters() *EvaluateJSParameters
func (*Challenge) GetParameters ¶
func (m *Challenge) GetParameters() isChallenge_Parameters
func (*Challenge) GetType ¶
func (x *Challenge) GetType() ChallengeType
func (*Challenge) ProtoMessage ¶
func (*Challenge) ProtoMessage()
func (*Challenge) ProtoReflect ¶
func (x *Challenge) ProtoReflect() protoreflect.Message
type ChallengeAnswer ¶
type ChallengeAnswer struct { ChallengeType ChallengeType `` /* 127-byte string literal not displayed */ // Types that are assignable to Answer: // // *ChallengeAnswer_ClientSecret // *ChallengeAnswer_EvaluateJs // *ChallengeAnswer_HashCash Answer isChallengeAnswer_Answer `protobuf_oneof:"answer"` // contains filtered or unexported fields }
func (*ChallengeAnswer) Descriptor
deprecated
func (*ChallengeAnswer) Descriptor() ([]byte, []int)
Deprecated: Use ChallengeAnswer.ProtoReflect.Descriptor instead.
func (*ChallengeAnswer) GetAnswer ¶
func (m *ChallengeAnswer) GetAnswer() isChallengeAnswer_Answer
func (*ChallengeAnswer) GetChallengeType ¶
func (x *ChallengeAnswer) GetChallengeType() ChallengeType
func (*ChallengeAnswer) GetClientSecret ¶
func (x *ChallengeAnswer) GetClientSecret() *ClientSecretHMACAnswer
func (*ChallengeAnswer) GetEvaluateJs ¶
func (x *ChallengeAnswer) GetEvaluateJs() *EvaluateJSAnswer
func (*ChallengeAnswer) GetHashCash ¶
func (x *ChallengeAnswer) GetHashCash() *HashCashAnswer
func (*ChallengeAnswer) ProtoMessage ¶
func (*ChallengeAnswer) ProtoMessage()
func (*ChallengeAnswer) ProtoReflect ¶
func (x *ChallengeAnswer) ProtoReflect() protoreflect.Message
func (*ChallengeAnswer) Reset ¶
func (x *ChallengeAnswer) Reset()
func (*ChallengeAnswer) String ¶
func (x *ChallengeAnswer) String() string
type ChallengeAnswer_ClientSecret ¶
type ChallengeAnswer_ClientSecret struct {
ClientSecret *ClientSecretHMACAnswer `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3,oneof"`
}
type ChallengeAnswer_EvaluateJs ¶
type ChallengeAnswer_EvaluateJs struct {
EvaluateJs *EvaluateJSAnswer `protobuf:"bytes,3,opt,name=evaluate_js,json=evaluateJs,proto3,oneof"`
}
type ChallengeAnswer_HashCash ¶
type ChallengeAnswer_HashCash struct {
HashCash *HashCashAnswer `protobuf:"bytes,4,opt,name=hash_cash,json=hashCash,proto3,oneof"`
}
type ChallengeAnswersRequest ¶
type ChallengeAnswersRequest struct { State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` Answers []*ChallengeAnswer `protobuf:"bytes,2,rep,name=answers,proto3" json:"answers,omitempty"` // contains filtered or unexported fields }
func (*ChallengeAnswersRequest) Descriptor
deprecated
func (*ChallengeAnswersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChallengeAnswersRequest.ProtoReflect.Descriptor instead.
func (*ChallengeAnswersRequest) GetAnswers ¶
func (x *ChallengeAnswersRequest) GetAnswers() []*ChallengeAnswer
func (*ChallengeAnswersRequest) GetState ¶
func (x *ChallengeAnswersRequest) GetState() string
func (*ChallengeAnswersRequest) ProtoMessage ¶
func (*ChallengeAnswersRequest) ProtoMessage()
func (*ChallengeAnswersRequest) ProtoReflect ¶
func (x *ChallengeAnswersRequest) ProtoReflect() protoreflect.Message
func (*ChallengeAnswersRequest) Reset ¶
func (x *ChallengeAnswersRequest) Reset()
func (*ChallengeAnswersRequest) String ¶
func (x *ChallengeAnswersRequest) String() string
type ChallengeType ¶
type ChallengeType int32
const ( ChallengeType_CHALLENGE_UNKNOWN ChallengeType = 0 ChallengeType_CHALLENGE_CLIENT_SECRET_HMAC ChallengeType = 1 ChallengeType_CHALLENGE_EVALUATE_JS ChallengeType = 2 ChallengeType_CHALLENGE_HASH_CASH ChallengeType = 3 )
func (ChallengeType) Descriptor ¶
func (ChallengeType) Descriptor() protoreflect.EnumDescriptor
func (ChallengeType) Enum ¶
func (x ChallengeType) Enum() *ChallengeType
func (ChallengeType) EnumDescriptor
deprecated
func (ChallengeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChallengeType.Descriptor instead.
func (ChallengeType) Number ¶
func (x ChallengeType) Number() protoreflect.EnumNumber
func (ChallengeType) String ¶
func (x ChallengeType) String() string
func (ChallengeType) Type ¶
func (ChallengeType) Type() protoreflect.EnumType
type Challenge_ClientSecretParameters ¶
type Challenge_ClientSecretParameters struct {
ClientSecretParameters *ClientSecretParameters `protobuf:"bytes,2,opt,name=client_secret_parameters,json=clientSecretParameters,proto3,oneof"`
}
type Challenge_EvaluateHashcashParameters ¶
type Challenge_EvaluateHashcashParameters struct {
EvaluateHashcashParameters *HashCashParameters `protobuf:"bytes,4,opt,name=evaluate_hashcash_parameters,json=evaluateHashcashParameters,proto3,oneof"`
}
type Challenge_EvaluateJsParameters ¶
type Challenge_EvaluateJsParameters struct {
EvaluateJsParameters *EvaluateJSParameters `protobuf:"bytes,3,opt,name=evaluate_js_parameters,json=evaluateJsParameters,proto3,oneof"`
}
type ChallengesResponse ¶
type ChallengesResponse struct { State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` Challenges []*Challenge `protobuf:"bytes,2,rep,name=challenges,proto3" json:"challenges,omitempty"` // contains filtered or unexported fields }
func (*ChallengesResponse) Descriptor
deprecated
func (*ChallengesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChallengesResponse.ProtoReflect.Descriptor instead.
func (*ChallengesResponse) GetChallenges ¶
func (x *ChallengesResponse) GetChallenges() []*Challenge
func (*ChallengesResponse) GetState ¶
func (x *ChallengesResponse) GetState() string
func (*ChallengesResponse) ProtoMessage ¶
func (*ChallengesResponse) ProtoMessage()
func (*ChallengesResponse) ProtoReflect ¶
func (x *ChallengesResponse) ProtoReflect() protoreflect.Message
func (*ChallengesResponse) Reset ¶
func (x *ChallengesResponse) Reset()
func (*ChallengesResponse) String ¶
func (x *ChallengesResponse) String() string
type ClientDataRequest ¶
type ClientDataRequest struct { ClientVersion string `protobuf:"bytes,1,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // Types that are assignable to Data: // // *ClientDataRequest_ConnectivitySdkData Data isClientDataRequest_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*ClientDataRequest) Descriptor
deprecated
func (*ClientDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClientDataRequest.ProtoReflect.Descriptor instead.
func (*ClientDataRequest) GetClientId ¶
func (x *ClientDataRequest) GetClientId() string
func (*ClientDataRequest) GetClientVersion ¶
func (x *ClientDataRequest) GetClientVersion() string
func (*ClientDataRequest) GetConnectivitySdkData ¶
func (x *ClientDataRequest) GetConnectivitySdkData() *v0.ConnectivitySdkData
func (*ClientDataRequest) GetData ¶
func (m *ClientDataRequest) GetData() isClientDataRequest_Data
func (*ClientDataRequest) ProtoMessage ¶
func (*ClientDataRequest) ProtoMessage()
func (*ClientDataRequest) ProtoReflect ¶
func (x *ClientDataRequest) ProtoReflect() protoreflect.Message
func (*ClientDataRequest) Reset ¶
func (x *ClientDataRequest) Reset()
func (*ClientDataRequest) String ¶
func (x *ClientDataRequest) String() string
type ClientDataRequest_ConnectivitySdkData ¶
type ClientDataRequest_ConnectivitySdkData struct {
ConnectivitySdkData *v0.ConnectivitySdkData `protobuf:"bytes,3,opt,name=connectivity_sdk_data,json=connectivitySdkData,proto3,oneof"`
}
type ClientSecretHMACAnswer ¶
type ClientSecretHMACAnswer struct { Hmac string `protobuf:"bytes,1,opt,name=hmac,proto3" json:"hmac,omitempty"` // contains filtered or unexported fields }
func (*ClientSecretHMACAnswer) Descriptor
deprecated
func (*ClientSecretHMACAnswer) Descriptor() ([]byte, []int)
Deprecated: Use ClientSecretHMACAnswer.ProtoReflect.Descriptor instead.
func (*ClientSecretHMACAnswer) GetHmac ¶
func (x *ClientSecretHMACAnswer) GetHmac() string
func (*ClientSecretHMACAnswer) ProtoMessage ¶
func (*ClientSecretHMACAnswer) ProtoMessage()
func (*ClientSecretHMACAnswer) ProtoReflect ¶
func (x *ClientSecretHMACAnswer) ProtoReflect() protoreflect.Message
func (*ClientSecretHMACAnswer) Reset ¶
func (x *ClientSecretHMACAnswer) Reset()
func (*ClientSecretHMACAnswer) String ¶
func (x *ClientSecretHMACAnswer) String() string
type ClientSecretParameters ¶
type ClientSecretParameters struct { Salt string `protobuf:"bytes,1,opt,name=salt,proto3" json:"salt,omitempty"` // contains filtered or unexported fields }
func (*ClientSecretParameters) Descriptor
deprecated
func (*ClientSecretParameters) Descriptor() ([]byte, []int)
Deprecated: Use ClientSecretParameters.ProtoReflect.Descriptor instead.
func (*ClientSecretParameters) GetSalt ¶
func (x *ClientSecretParameters) GetSalt() string
func (*ClientSecretParameters) ProtoMessage ¶
func (*ClientSecretParameters) ProtoMessage()
func (*ClientSecretParameters) ProtoReflect ¶
func (x *ClientSecretParameters) ProtoReflect() protoreflect.Message
func (*ClientSecretParameters) Reset ¶
func (x *ClientSecretParameters) Reset()
func (*ClientSecretParameters) String ¶
func (x *ClientSecretParameters) String() string
type ClientTokenBadRequest ¶
type ClientTokenBadRequest struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ClientTokenBadRequest) Descriptor
deprecated
func (*ClientTokenBadRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClientTokenBadRequest.ProtoReflect.Descriptor instead.
func (*ClientTokenBadRequest) GetMessage ¶
func (x *ClientTokenBadRequest) GetMessage() string
func (*ClientTokenBadRequest) ProtoMessage ¶
func (*ClientTokenBadRequest) ProtoMessage()
func (*ClientTokenBadRequest) ProtoReflect ¶
func (x *ClientTokenBadRequest) ProtoReflect() protoreflect.Message
func (*ClientTokenBadRequest) Reset ¶
func (x *ClientTokenBadRequest) Reset()
func (*ClientTokenBadRequest) String ¶
func (x *ClientTokenBadRequest) String() string
type ClientTokenRequest ¶
type ClientTokenRequest struct { RequestType ClientTokenRequestType `` /* 151-byte string literal not displayed */ // Types that are assignable to Request: // // *ClientTokenRequest_ClientData // *ClientTokenRequest_ChallengeAnswers Request isClientTokenRequest_Request `protobuf_oneof:"request"` // contains filtered or unexported fields }
func (*ClientTokenRequest) Descriptor
deprecated
func (*ClientTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClientTokenRequest.ProtoReflect.Descriptor instead.
func (*ClientTokenRequest) GetChallengeAnswers ¶
func (x *ClientTokenRequest) GetChallengeAnswers() *ChallengeAnswersRequest
func (*ClientTokenRequest) GetClientData ¶
func (x *ClientTokenRequest) GetClientData() *ClientDataRequest
func (*ClientTokenRequest) GetRequest ¶
func (m *ClientTokenRequest) GetRequest() isClientTokenRequest_Request
func (*ClientTokenRequest) GetRequestType ¶
func (x *ClientTokenRequest) GetRequestType() ClientTokenRequestType
func (*ClientTokenRequest) ProtoMessage ¶
func (*ClientTokenRequest) ProtoMessage()
func (*ClientTokenRequest) ProtoReflect ¶
func (x *ClientTokenRequest) ProtoReflect() protoreflect.Message
func (*ClientTokenRequest) Reset ¶
func (x *ClientTokenRequest) Reset()
func (*ClientTokenRequest) String ¶
func (x *ClientTokenRequest) String() string
type ClientTokenRequestType ¶
type ClientTokenRequestType int32
const ( ClientTokenRequestType_REQUEST_UNKNOWN ClientTokenRequestType = 0 ClientTokenRequestType_REQUEST_CLIENT_DATA_REQUEST ClientTokenRequestType = 1 ClientTokenRequestType_REQUEST_CHALLENGE_ANSWERS_REQUEST ClientTokenRequestType = 2 )
func (ClientTokenRequestType) Descriptor ¶
func (ClientTokenRequestType) Descriptor() protoreflect.EnumDescriptor
func (ClientTokenRequestType) Enum ¶
func (x ClientTokenRequestType) Enum() *ClientTokenRequestType
func (ClientTokenRequestType) EnumDescriptor
deprecated
func (ClientTokenRequestType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientTokenRequestType.Descriptor instead.
func (ClientTokenRequestType) Number ¶
func (x ClientTokenRequestType) Number() protoreflect.EnumNumber
func (ClientTokenRequestType) String ¶
func (x ClientTokenRequestType) String() string
func (ClientTokenRequestType) Type ¶
func (ClientTokenRequestType) Type() protoreflect.EnumType
type ClientTokenRequest_ChallengeAnswers ¶
type ClientTokenRequest_ChallengeAnswers struct {
ChallengeAnswers *ChallengeAnswersRequest `protobuf:"bytes,3,opt,name=challenge_answers,json=challengeAnswers,proto3,oneof"`
}
type ClientTokenRequest_ClientData ¶
type ClientTokenRequest_ClientData struct {
ClientData *ClientDataRequest `protobuf:"bytes,2,opt,name=client_data,json=clientData,proto3,oneof"`
}
type ClientTokenResponse ¶
type ClientTokenResponse struct { ResponseType ClientTokenResponseType `` /* 155-byte string literal not displayed */ // Types that are assignable to Response: // // *ClientTokenResponse_GrantedToken // *ClientTokenResponse_Challenges Response isClientTokenResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*ClientTokenResponse) Descriptor
deprecated
func (*ClientTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClientTokenResponse.ProtoReflect.Descriptor instead.
func (*ClientTokenResponse) GetChallenges ¶
func (x *ClientTokenResponse) GetChallenges() *ChallengesResponse
func (*ClientTokenResponse) GetGrantedToken ¶
func (x *ClientTokenResponse) GetGrantedToken() *GrantedTokenResponse
func (*ClientTokenResponse) GetResponse ¶
func (m *ClientTokenResponse) GetResponse() isClientTokenResponse_Response
func (*ClientTokenResponse) GetResponseType ¶
func (x *ClientTokenResponse) GetResponseType() ClientTokenResponseType
func (*ClientTokenResponse) ProtoMessage ¶
func (*ClientTokenResponse) ProtoMessage()
func (*ClientTokenResponse) ProtoReflect ¶
func (x *ClientTokenResponse) ProtoReflect() protoreflect.Message
func (*ClientTokenResponse) Reset ¶
func (x *ClientTokenResponse) Reset()
func (*ClientTokenResponse) String ¶
func (x *ClientTokenResponse) String() string
type ClientTokenResponseType ¶
type ClientTokenResponseType int32
const ( ClientTokenResponseType_RESPONSE_UNKNOWN ClientTokenResponseType = 0 ClientTokenResponseType_RESPONSE_GRANTED_TOKEN_RESPONSE ClientTokenResponseType = 1 ClientTokenResponseType_RESPONSE_CHALLENGES_RESPONSE ClientTokenResponseType = 2 )
func (ClientTokenResponseType) Descriptor ¶
func (ClientTokenResponseType) Descriptor() protoreflect.EnumDescriptor
func (ClientTokenResponseType) Enum ¶
func (x ClientTokenResponseType) Enum() *ClientTokenResponseType
func (ClientTokenResponseType) EnumDescriptor
deprecated
func (ClientTokenResponseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientTokenResponseType.Descriptor instead.
func (ClientTokenResponseType) Number ¶
func (x ClientTokenResponseType) Number() protoreflect.EnumNumber
func (ClientTokenResponseType) String ¶
func (x ClientTokenResponseType) String() string
func (ClientTokenResponseType) Type ¶
func (ClientTokenResponseType) Type() protoreflect.EnumType
type ClientTokenResponse_Challenges ¶
type ClientTokenResponse_Challenges struct {
Challenges *ChallengesResponse `protobuf:"bytes,3,opt,name=challenges,proto3,oneof"`
}
type ClientTokenResponse_GrantedToken ¶
type ClientTokenResponse_GrantedToken struct {
GrantedToken *GrantedTokenResponse `protobuf:"bytes,2,opt,name=granted_token,json=grantedToken,proto3,oneof"`
}
type EvaluateJSAnswer ¶
type EvaluateJSAnswer struct { Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*EvaluateJSAnswer) Descriptor
deprecated
func (*EvaluateJSAnswer) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateJSAnswer.ProtoReflect.Descriptor instead.
func (*EvaluateJSAnswer) GetResult ¶
func (x *EvaluateJSAnswer) GetResult() string
func (*EvaluateJSAnswer) ProtoMessage ¶
func (*EvaluateJSAnswer) ProtoMessage()
func (*EvaluateJSAnswer) ProtoReflect ¶
func (x *EvaluateJSAnswer) ProtoReflect() protoreflect.Message
func (*EvaluateJSAnswer) Reset ¶
func (x *EvaluateJSAnswer) Reset()
func (*EvaluateJSAnswer) String ¶
func (x *EvaluateJSAnswer) String() string
type EvaluateJSParameters ¶
type EvaluateJSParameters struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Libraries []string `protobuf:"bytes,2,rep,name=libraries,proto3" json:"libraries,omitempty"` // contains filtered or unexported fields }
func (*EvaluateJSParameters) Descriptor
deprecated
func (*EvaluateJSParameters) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateJSParameters.ProtoReflect.Descriptor instead.
func (*EvaluateJSParameters) GetCode ¶
func (x *EvaluateJSParameters) GetCode() string
func (*EvaluateJSParameters) GetLibraries ¶
func (x *EvaluateJSParameters) GetLibraries() []string
func (*EvaluateJSParameters) ProtoMessage ¶
func (*EvaluateJSParameters) ProtoMessage()
func (*EvaluateJSParameters) ProtoReflect ¶
func (x *EvaluateJSParameters) ProtoReflect() protoreflect.Message
func (*EvaluateJSParameters) Reset ¶
func (x *EvaluateJSParameters) Reset()
func (*EvaluateJSParameters) String ¶
func (x *EvaluateJSParameters) String() string
type GrantedTokenResponse ¶
type GrantedTokenResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` ExpiresAfterSeconds int32 `protobuf:"varint,2,opt,name=expires_after_seconds,json=expiresAfterSeconds,proto3" json:"expires_after_seconds,omitempty"` RefreshAfterSeconds int32 `protobuf:"varint,3,opt,name=refresh_after_seconds,json=refreshAfterSeconds,proto3" json:"refresh_after_seconds,omitempty"` Domains []*TokenDomain `protobuf:"bytes,4,rep,name=domains,proto3" json:"domains,omitempty"` // contains filtered or unexported fields }
func (*GrantedTokenResponse) Descriptor
deprecated
func (*GrantedTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GrantedTokenResponse.ProtoReflect.Descriptor instead.
func (*GrantedTokenResponse) GetDomains ¶
func (x *GrantedTokenResponse) GetDomains() []*TokenDomain
func (*GrantedTokenResponse) GetExpiresAfterSeconds ¶
func (x *GrantedTokenResponse) GetExpiresAfterSeconds() int32
func (*GrantedTokenResponse) GetRefreshAfterSeconds ¶
func (x *GrantedTokenResponse) GetRefreshAfterSeconds() int32
func (*GrantedTokenResponse) GetToken ¶
func (x *GrantedTokenResponse) GetToken() string
func (*GrantedTokenResponse) ProtoMessage ¶
func (*GrantedTokenResponse) ProtoMessage()
func (*GrantedTokenResponse) ProtoReflect ¶
func (x *GrantedTokenResponse) ProtoReflect() protoreflect.Message
func (*GrantedTokenResponse) Reset ¶
func (x *GrantedTokenResponse) Reset()
func (*GrantedTokenResponse) String ¶
func (x *GrantedTokenResponse) String() string
type HashCashAnswer ¶
type HashCashAnswer struct { Suffix string `protobuf:"bytes,1,opt,name=suffix,proto3" json:"suffix,omitempty"` // contains filtered or unexported fields }
func (*HashCashAnswer) Descriptor
deprecated
func (*HashCashAnswer) Descriptor() ([]byte, []int)
Deprecated: Use HashCashAnswer.ProtoReflect.Descriptor instead.
func (*HashCashAnswer) GetSuffix ¶
func (x *HashCashAnswer) GetSuffix() string
func (*HashCashAnswer) ProtoMessage ¶
func (*HashCashAnswer) ProtoMessage()
func (*HashCashAnswer) ProtoReflect ¶
func (x *HashCashAnswer) ProtoReflect() protoreflect.Message
func (*HashCashAnswer) Reset ¶
func (x *HashCashAnswer) Reset()
func (*HashCashAnswer) String ¶
func (x *HashCashAnswer) String() string
type HashCashParameters ¶
type HashCashParameters struct { Length int32 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
func (*HashCashParameters) Descriptor
deprecated
func (*HashCashParameters) Descriptor() ([]byte, []int)
Deprecated: Use HashCashParameters.ProtoReflect.Descriptor instead.
func (*HashCashParameters) GetLength ¶
func (x *HashCashParameters) GetLength() int32
func (*HashCashParameters) GetPrefix ¶
func (x *HashCashParameters) GetPrefix() string
func (*HashCashParameters) ProtoMessage ¶
func (*HashCashParameters) ProtoMessage()
func (*HashCashParameters) ProtoReflect ¶
func (x *HashCashParameters) ProtoReflect() protoreflect.Message
func (*HashCashParameters) Reset ¶
func (x *HashCashParameters) Reset()
func (*HashCashParameters) String ¶
func (x *HashCashParameters) String() string
type TokenDomain ¶
type TokenDomain struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*TokenDomain) Descriptor
deprecated
func (*TokenDomain) Descriptor() ([]byte, []int)
Deprecated: Use TokenDomain.ProtoReflect.Descriptor instead.
func (*TokenDomain) GetDomain ¶
func (x *TokenDomain) GetDomain() string
func (*TokenDomain) ProtoMessage ¶
func (*TokenDomain) ProtoMessage()
func (*TokenDomain) ProtoReflect ¶
func (x *TokenDomain) ProtoReflect() protoreflect.Message
func (*TokenDomain) Reset ¶
func (x *TokenDomain) Reset()
func (*TokenDomain) String ¶
func (x *TokenDomain) String() string