Documentation
¶
Index ¶
- Variables
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- type AuthServiceClient
- type AuthServiceServer
- type ClientInfo
- func (*ClientInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ClientInfo) GetClientAgent() string
- func (x *ClientInfo) GetClientDeviceId() string
- func (x *ClientInfo) GetClientIp() string
- func (x *ClientInfo) GetClientOs() string
- func (x *ClientInfo) GetClientVersion() string
- func (x *ClientInfo) GetDistributionCode() int32
- func (*ClientInfo) ProtoMessage()
- func (x *ClientInfo) ProtoReflect() protoreflect.Message
- func (x *ClientInfo) Reset()
- func (x *ClientInfo) String() string
- type GetIdentityRequest
- func (*GetIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityRequest) GetClientInfo() *ClientInfo
- func (x *GetIdentityRequest) GetRequestGeneral() *RequestGeneral
- func (*GetIdentityRequest) ProtoMessage()
- func (x *GetIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *GetIdentityRequest) Reset()
- func (x *GetIdentityRequest) String() string
- type GetIdentityResponse
- func (*GetIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityResponse) GetBirthDate() string
- func (x *GetIdentityResponse) GetExtra() string
- func (x *GetIdentityResponse) GetFirstName() string
- func (x *GetIdentityResponse) GetLastName() string
- func (x *GetIdentityResponse) GetNationalCode() string
- func (x *GetIdentityResponse) GetResponseGeneral() *ResponseGeneral
- func (x *GetIdentityResponse) GetVerificationDate() int64
- func (*GetIdentityResponse) ProtoMessage()
- func (x *GetIdentityResponse) ProtoReflect() protoreflect.Message
- func (x *GetIdentityResponse) Reset()
- func (x *GetIdentityResponse) String() string
- type RefreshTokenRequest
- func (*RefreshTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenRequest) GetClientInfo() *ClientInfo
- func (x *RefreshTokenRequest) GetRefreshToken() string
- func (x *RefreshTokenRequest) GetRequestGeneral() *RequestGeneral
- func (*RefreshTokenRequest) ProtoMessage()
- func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenRequest) Reset()
- func (x *RefreshTokenRequest) String() string
- type RefreshTokenResponse
- func (*RefreshTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenResponse) GetAccessToken() string
- func (x *RefreshTokenResponse) GetAccessTokenExpiration() int64
- func (x *RefreshTokenResponse) GetRefreshTokenRequestTimeout() int64
- func (x *RefreshTokenResponse) GetResponseGeneral() *ResponseGeneral
- func (*RefreshTokenResponse) ProtoMessage()
- func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenResponse) Reset()
- func (x *RefreshTokenResponse) String() string
- type RequestGeneral
- func (*RequestGeneral) Descriptor() ([]byte, []int)deprecated
- func (x *RequestGeneral) GetAccountId() int64
- func (x *RequestGeneral) GetAppId() int64
- func (x *RequestGeneral) GetLanguage() string
- func (x *RequestGeneral) GetMobileNumber() string
- func (x *RequestGeneral) GetRequestId() int64
- func (x *RequestGeneral) GetRequestTime() int64
- func (*RequestGeneral) ProtoMessage()
- func (x *RequestGeneral) ProtoReflect() protoreflect.Message
- func (x *RequestGeneral) Reset()
- func (x *RequestGeneral) String() string
- type ResponseGeneral
- func (*ResponseGeneral) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseGeneral) GetStatus() int32
- func (x *ResponseGeneral) GetStatusMessage() string
- func (*ResponseGeneral) ProtoMessage()
- func (x *ResponseGeneral) ProtoReflect() protoreflect.Message
- func (x *ResponseGeneral) Reset()
- func (x *ResponseGeneral) String() string
- type SendActivationCodeRequest
- func (*SendActivationCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendActivationCodeRequest) GetActivationId() string
- func (x *SendActivationCodeRequest) GetClientInfo() *ClientInfo
- func (x *SendActivationCodeRequest) GetRegisterToken() string
- func (x *SendActivationCodeRequest) GetRequestGeneral() *RequestGeneral
- func (*SendActivationCodeRequest) ProtoMessage()
- func (x *SendActivationCodeRequest) ProtoReflect() protoreflect.Message
- func (x *SendActivationCodeRequest) Reset()
- func (x *SendActivationCodeRequest) String() string
- type SendActivationCodeResponse
- func (*SendActivationCodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendActivationCodeResponse) GetCodeLen() int32
- func (x *SendActivationCodeResponse) GetResponseGeneral() *ResponseGeneral
- func (x *SendActivationCodeResponse) GetWaitInSecond() int64
- func (*SendActivationCodeResponse) ProtoMessage()
- func (x *SendActivationCodeResponse) ProtoReflect() protoreflect.Message
- func (x *SendActivationCodeResponse) Reset()
- func (x *SendActivationCodeResponse) String() string
- type SignOutRequest
- func (*SignOutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignOutRequest) GetClientInfo() *ClientInfo
- func (x *SignOutRequest) GetRefreshToken() string
- func (x *SignOutRequest) GetRequestGeneral() *RequestGeneral
- func (*SignOutRequest) ProtoMessage()
- func (x *SignOutRequest) ProtoReflect() protoreflect.Message
- func (x *SignOutRequest) Reset()
- func (x *SignOutRequest) String() string
- type SignOutResponse
- func (*SignOutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignOutResponse) GetResponseGeneral() *ResponseGeneral
- func (*SignOutResponse) ProtoMessage()
- func (x *SignOutResponse) ProtoReflect() protoreflect.Message
- func (x *SignOutResponse) Reset()
- func (x *SignOutResponse) String() string
- type StartLoginProcessRequest
- func (*StartLoginProcessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartLoginProcessRequest) GetClientInfo() *ClientInfo
- func (x *StartLoginProcessRequest) GetRequestGeneral() *RequestGeneral
- func (*StartLoginProcessRequest) ProtoMessage()
- func (x *StartLoginProcessRequest) ProtoReflect() protoreflect.Message
- func (x *StartLoginProcessRequest) Reset()
- func (x *StartLoginProcessRequest) String() string
- type StartLoginProcessResponse
- func (*StartLoginProcessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartLoginProcessResponse) GetActivationId() string
- func (x *StartLoginProcessResponse) GetExpiration() int64
- func (x *StartLoginProcessResponse) GetRegisterToken() string
- func (x *StartLoginProcessResponse) GetResponseGeneral() *ResponseGeneral
- func (*StartLoginProcessResponse) ProtoMessage()
- func (x *StartLoginProcessResponse) ProtoReflect() protoreflect.Message
- func (x *StartLoginProcessResponse) Reset()
- func (x *StartLoginProcessResponse) String() string
- type UnimplementedAuthServiceServer
- func (UnimplementedAuthServiceServer) GetIdentity(context.Context, *GetIdentityRequest) (*GetIdentityResponse, error)
- func (UnimplementedAuthServiceServer) RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
- func (UnimplementedAuthServiceServer) SendActivationCode(context.Context, *SendActivationCodeRequest) (*SendActivationCodeResponse, error)
- func (UnimplementedAuthServiceServer) SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error)
- func (UnimplementedAuthServiceServer) StartLoginProcess(context.Context, *StartLoginProcessRequest) (*StartLoginProcessResponse, error)
- func (UnimplementedAuthServiceServer) VerifyIdentity(context.Context, *VerifyIdentityRequest) (*VerifyIdentityResponse, error)
- func (UnimplementedAuthServiceServer) VerifyPhone(context.Context, *VerifyPhoneRequest) (*VerifyPhoneResponse, error)
- type UnsafeAuthServiceServer
- type VerifyIdentityRequest
- func (*VerifyIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyIdentityRequest) GetBirthDate() string
- func (x *VerifyIdentityRequest) GetClientInfo() *ClientInfo
- func (x *VerifyIdentityRequest) GetNationalCode() string
- func (x *VerifyIdentityRequest) GetRequestGeneral() *RequestGeneral
- func (*VerifyIdentityRequest) ProtoMessage()
- func (x *VerifyIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyIdentityRequest) Reset()
- func (x *VerifyIdentityRequest) String() string
- type VerifyIdentityResponse
- func (*VerifyIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyIdentityResponse) GetResponseGeneral() *ResponseGeneral
- func (*VerifyIdentityResponse) ProtoMessage()
- func (x *VerifyIdentityResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyIdentityResponse) Reset()
- func (x *VerifyIdentityResponse) String() string
- type VerifyPhoneRequest
- func (*VerifyPhoneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyPhoneRequest) GetActivationId() string
- func (x *VerifyPhoneRequest) GetClientInfo() *ClientInfo
- func (x *VerifyPhoneRequest) GetCode() string
- func (x *VerifyPhoneRequest) GetRegisterToken() string
- func (x *VerifyPhoneRequest) GetRequestGeneral() *RequestGeneral
- func (*VerifyPhoneRequest) ProtoMessage()
- func (x *VerifyPhoneRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyPhoneRequest) Reset()
- func (x *VerifyPhoneRequest) String() string
- type VerifyPhoneResponse
- func (*VerifyPhoneResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyPhoneResponse) GetAccessToken() string
- func (x *VerifyPhoneResponse) GetAccessTokenExpiration() int64
- func (x *VerifyPhoneResponse) GetPhone() string
- func (x *VerifyPhoneResponse) GetRefreshToken() string
- func (x *VerifyPhoneResponse) GetRefreshTokenRequestTimeout() int64
- func (x *VerifyPhoneResponse) GetRemainingTryCount() int32
- func (x *VerifyPhoneResponse) GetRemainingWaitSeconds() int64
- func (x *VerifyPhoneResponse) GetResponseGeneral() *ResponseGeneral
- func (*VerifyPhoneResponse) ProtoMessage()
- func (x *VerifyPhoneResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyPhoneResponse) Reset()
- func (x *VerifyPhoneResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "auth.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "startLoginProcess", Handler: _AuthService_StartLoginProcess_Handler, }, { MethodName: "sendActivationCode", Handler: _AuthService_SendActivationCode_Handler, }, { MethodName: "verifyPhone", Handler: _AuthService_VerifyPhone_Handler, }, { MethodName: "refreshToken", Handler: _AuthService_RefreshToken_Handler, }, { MethodName: "signOut", Handler: _AuthService_SignOut_Handler, }, { MethodName: "verifyIdentity", Handler: _AuthService_VerifyIdentity_Handler, }, { MethodName: "getIdentity", Handler: _AuthService_GetIdentity_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "auth/auth.proto", }
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_auth_auth_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
Types ¶
type AuthServiceClient ¶
type AuthServiceClient interface { StartLoginProcess(ctx context.Context, in *StartLoginProcessRequest, opts ...grpc.CallOption) (*StartLoginProcessResponse, error) SendActivationCode(ctx context.Context, in *SendActivationCodeRequest, opts ...grpc.CallOption) (*SendActivationCodeResponse, error) VerifyPhone(ctx context.Context, in *VerifyPhoneRequest, opts ...grpc.CallOption) (*VerifyPhoneResponse, error) RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenResponse, error) SignOut(ctx context.Context, in *SignOutRequest, opts ...grpc.CallOption) (*SignOutResponse, error) VerifyIdentity(ctx context.Context, in *VerifyIdentityRequest, opts ...grpc.CallOption) (*VerifyIdentityResponse, error) GetIdentity(ctx context.Context, in *GetIdentityRequest, opts ...grpc.CallOption) (*GetIdentityResponse, error) }
AuthServiceClient is the client API for AuthService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuthServiceClient ¶
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
type AuthServiceServer ¶
type AuthServiceServer interface { StartLoginProcess(context.Context, *StartLoginProcessRequest) (*StartLoginProcessResponse, error) SendActivationCode(context.Context, *SendActivationCodeRequest) (*SendActivationCodeResponse, error) VerifyPhone(context.Context, *VerifyPhoneRequest) (*VerifyPhoneResponse, error) RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error) SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error) VerifyIdentity(context.Context, *VerifyIdentityRequest) (*VerifyIdentityResponse, error) GetIdentity(context.Context, *GetIdentityRequest) (*GetIdentityResponse, error) }
AuthServiceServer is the server API for AuthService service. All implementations should embed UnimplementedAuthServiceServer for forward compatibility
type ClientInfo ¶
type ClientInfo struct { ClientIp string `protobuf:"bytes,1,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"` ClientAgent string `protobuf:"bytes,2,opt,name=client_agent,json=clientAgent,proto3" json:"client_agent,omitempty"` ClientDeviceId string `protobuf:"bytes,3,opt,name=client_device_id,json=clientDeviceId,proto3" json:"client_device_id,omitempty"` ClientVersion string `protobuf:"bytes,4,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` DistributionCode int32 `protobuf:"varint,5,opt,name=distribution_code,json=distributionCode,proto3" json:"distribution_code,omitempty"` ClientOs string `protobuf:"bytes,6,opt,name=client_os,json=clientOs,proto3" json:"client_os,omitempty"` // contains filtered or unexported fields }
func (*ClientInfo) Descriptor
deprecated
func (*ClientInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.
func (*ClientInfo) GetClientAgent ¶
func (x *ClientInfo) GetClientAgent() string
func (*ClientInfo) GetClientDeviceId ¶
func (x *ClientInfo) GetClientDeviceId() string
func (*ClientInfo) GetClientIp ¶
func (x *ClientInfo) GetClientIp() string
func (*ClientInfo) GetClientOs ¶
func (x *ClientInfo) GetClientOs() string
func (*ClientInfo) GetClientVersion ¶
func (x *ClientInfo) GetClientVersion() string
func (*ClientInfo) GetDistributionCode ¶
func (x *ClientInfo) GetDistributionCode() int32
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 GetIdentityRequest ¶ added in v0.1.2
type GetIdentityRequest struct { ClientInfo *ClientInfo `protobuf:"bytes,1,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"` RequestGeneral *RequestGeneral `protobuf:"bytes,2,opt,name=request_general,json=requestGeneral,proto3" json:"request_general,omitempty"` // contains filtered or unexported fields }
func (*GetIdentityRequest) Descriptor
deprecated
added in
v0.1.2
func (*GetIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityRequest.ProtoReflect.Descriptor instead.
func (*GetIdentityRequest) GetClientInfo ¶ added in v0.1.2
func (x *GetIdentityRequest) GetClientInfo() *ClientInfo
func (*GetIdentityRequest) GetRequestGeneral ¶ added in v0.1.2
func (x *GetIdentityRequest) GetRequestGeneral() *RequestGeneral
func (*GetIdentityRequest) ProtoMessage ¶ added in v0.1.2
func (*GetIdentityRequest) ProtoMessage()
func (*GetIdentityRequest) ProtoReflect ¶ added in v0.1.2
func (x *GetIdentityRequest) ProtoReflect() protoreflect.Message
func (*GetIdentityRequest) Reset ¶ added in v0.1.2
func (x *GetIdentityRequest) Reset()
func (*GetIdentityRequest) String ¶ added in v0.1.2
func (x *GetIdentityRequest) String() string
type GetIdentityResponse ¶ added in v0.1.2
type GetIdentityResponse struct { ResponseGeneral *ResponseGeneral `protobuf:"bytes,1,opt,name=response_general,json=responseGeneral,proto3" json:"response_general,omitempty"` NationalCode string `protobuf:"bytes,2,opt,name=national_code,json=nationalCode,proto3" json:"national_code,omitempty"` BirthDate string `protobuf:"bytes,3,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` FirstName string `protobuf:"bytes,4,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` Extra string `protobuf:"bytes,6,opt,name=extra,proto3" json:"extra,omitempty"` VerificationDate int64 `protobuf:"varint,7,opt,name=verification_date,json=verificationDate,proto3" json:"verification_date,omitempty"` // contains filtered or unexported fields }
func (*GetIdentityResponse) Descriptor
deprecated
added in
v0.1.2
func (*GetIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityResponse.ProtoReflect.Descriptor instead.
func (*GetIdentityResponse) GetBirthDate ¶ added in v0.1.2
func (x *GetIdentityResponse) GetBirthDate() string
func (*GetIdentityResponse) GetExtra ¶ added in v0.1.2
func (x *GetIdentityResponse) GetExtra() string
func (*GetIdentityResponse) GetFirstName ¶ added in v0.1.2
func (x *GetIdentityResponse) GetFirstName() string
func (*GetIdentityResponse) GetLastName ¶ added in v0.1.2
func (x *GetIdentityResponse) GetLastName() string
func (*GetIdentityResponse) GetNationalCode ¶ added in v0.1.2
func (x *GetIdentityResponse) GetNationalCode() string
func (*GetIdentityResponse) GetResponseGeneral ¶ added in v0.1.2
func (x *GetIdentityResponse) GetResponseGeneral() *ResponseGeneral
func (*GetIdentityResponse) GetVerificationDate ¶ added in v0.1.2
func (x *GetIdentityResponse) GetVerificationDate() int64
func (*GetIdentityResponse) ProtoMessage ¶ added in v0.1.2
func (*GetIdentityResponse) ProtoMessage()
func (*GetIdentityResponse) ProtoReflect ¶ added in v0.1.2
func (x *GetIdentityResponse) ProtoReflect() protoreflect.Message
func (*GetIdentityResponse) Reset ¶ added in v0.1.2
func (x *GetIdentityResponse) Reset()
func (*GetIdentityResponse) String ¶ added in v0.1.2
func (x *GetIdentityResponse) String() string
type RefreshTokenRequest ¶
type RefreshTokenRequest struct { ClientInfo *ClientInfo `protobuf:"bytes,1,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"` RequestGeneral *RequestGeneral `protobuf:"bytes,2,opt,name=request_general,json=requestGeneral,proto3" json:"request_general,omitempty"` RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*RefreshTokenRequest) Descriptor
deprecated
func (*RefreshTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.
func (*RefreshTokenRequest) GetClientInfo ¶
func (x *RefreshTokenRequest) GetClientInfo() *ClientInfo
func (*RefreshTokenRequest) GetRefreshToken ¶ added in v0.0.4
func (x *RefreshTokenRequest) GetRefreshToken() string
func (*RefreshTokenRequest) GetRequestGeneral ¶
func (x *RefreshTokenRequest) GetRequestGeneral() *RequestGeneral
func (*RefreshTokenRequest) ProtoMessage ¶
func (*RefreshTokenRequest) ProtoMessage()
func (*RefreshTokenRequest) ProtoReflect ¶
func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
func (*RefreshTokenRequest) Reset ¶
func (x *RefreshTokenRequest) Reset()
func (*RefreshTokenRequest) String ¶
func (x *RefreshTokenRequest) String() string
type RefreshTokenResponse ¶
type RefreshTokenResponse struct { ResponseGeneral *ResponseGeneral `protobuf:"bytes,1,opt,name=response_general,json=responseGeneral,proto3" json:"response_general,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` AccessTokenExpiration int64 `` /* 127-byte string literal not displayed */ RefreshTokenRequestTimeout int64 `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RefreshTokenResponse) Descriptor
deprecated
func (*RefreshTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.
func (*RefreshTokenResponse) GetAccessToken ¶ added in v0.0.4
func (x *RefreshTokenResponse) GetAccessToken() string
func (*RefreshTokenResponse) GetAccessTokenExpiration ¶ added in v0.0.4
func (x *RefreshTokenResponse) GetAccessTokenExpiration() int64
func (*RefreshTokenResponse) GetRefreshTokenRequestTimeout ¶ added in v0.0.4
func (x *RefreshTokenResponse) GetRefreshTokenRequestTimeout() int64
func (*RefreshTokenResponse) GetResponseGeneral ¶
func (x *RefreshTokenResponse) GetResponseGeneral() *ResponseGeneral
func (*RefreshTokenResponse) ProtoMessage ¶
func (*RefreshTokenResponse) ProtoMessage()
func (*RefreshTokenResponse) ProtoReflect ¶
func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message
func (*RefreshTokenResponse) Reset ¶
func (x *RefreshTokenResponse) Reset()
func (*RefreshTokenResponse) String ¶
func (x *RefreshTokenResponse) String() string
type RequestGeneral ¶
type RequestGeneral struct { MobileNumber string `protobuf:"bytes,1,opt,name=mobile_number,json=mobileNumber,proto3" json:"mobile_number,omitempty"` AccountId int64 `protobuf:"varint,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` RequestId int64 `protobuf:"varint,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` RequestTime int64 `protobuf:"varint,4,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"` AppId int64 `protobuf:"varint,5,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` Language string `protobuf:"bytes,6,opt,name=language,proto3" json:"language,omitempty"` // contains filtered or unexported fields }
func (*RequestGeneral) Descriptor
deprecated
func (*RequestGeneral) Descriptor() ([]byte, []int)
Deprecated: Use RequestGeneral.ProtoReflect.Descriptor instead.
func (*RequestGeneral) GetAccountId ¶
func (x *RequestGeneral) GetAccountId() int64
func (*RequestGeneral) GetAppId ¶ added in v0.0.4
func (x *RequestGeneral) GetAppId() int64
func (*RequestGeneral) GetLanguage ¶ added in v0.0.7
func (x *RequestGeneral) GetLanguage() string
func (*RequestGeneral) GetMobileNumber ¶
func (x *RequestGeneral) GetMobileNumber() string
func (*RequestGeneral) GetRequestId ¶
func (x *RequestGeneral) GetRequestId() int64
func (*RequestGeneral) GetRequestTime ¶
func (x *RequestGeneral) GetRequestTime() int64
func (*RequestGeneral) ProtoMessage ¶
func (*RequestGeneral) ProtoMessage()
func (*RequestGeneral) ProtoReflect ¶
func (x *RequestGeneral) ProtoReflect() protoreflect.Message
func (*RequestGeneral) Reset ¶
func (x *RequestGeneral) Reset()
func (*RequestGeneral) String ¶
func (x *RequestGeneral) String() string
type ResponseGeneral ¶
type ResponseGeneral struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` StatusMessage string `protobuf:"bytes,2,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // contains filtered or unexported fields }
func (*ResponseGeneral) Descriptor
deprecated
func (*ResponseGeneral) Descriptor() ([]byte, []int)
Deprecated: Use ResponseGeneral.ProtoReflect.Descriptor instead.
func (*ResponseGeneral) GetStatus ¶
func (x *ResponseGeneral) GetStatus() int32
func (*ResponseGeneral) GetStatusMessage ¶
func (x *ResponseGeneral) GetStatusMessage() string
func (*ResponseGeneral) ProtoMessage ¶
func (*ResponseGeneral) ProtoMessage()
func (*ResponseGeneral) ProtoReflect ¶
func (x *ResponseGeneral) ProtoReflect() protoreflect.Message
func (*ResponseGeneral) Reset ¶
func (x *ResponseGeneral) Reset()
func (*ResponseGeneral) String ¶
func (x *ResponseGeneral) String() string
type SendActivationCodeRequest ¶
type SendActivationCodeRequest struct { ClientInfo *ClientInfo `protobuf:"bytes,1,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"` RequestGeneral *RequestGeneral `protobuf:"bytes,2,opt,name=request_general,json=requestGeneral,proto3" json:"request_general,omitempty"` ActivationId string `protobuf:"bytes,3,opt,name=activation_id,json=activationId,proto3" json:"activation_id,omitempty"` RegisterToken string `protobuf:"bytes,5,opt,name=register_token,json=registerToken,proto3" json:"register_token,omitempty"` // contains filtered or unexported fields }
func (*SendActivationCodeRequest) Descriptor
deprecated
func (*SendActivationCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendActivationCodeRequest.ProtoReflect.Descriptor instead.
func (*SendActivationCodeRequest) GetActivationId ¶ added in v0.0.2
func (x *SendActivationCodeRequest) GetActivationId() string
func (*SendActivationCodeRequest) GetClientInfo ¶
func (x *SendActivationCodeRequest) GetClientInfo() *ClientInfo
func (*SendActivationCodeRequest) GetRegisterToken ¶ added in v0.0.2
func (x *SendActivationCodeRequest) GetRegisterToken() string
func (*SendActivationCodeRequest) GetRequestGeneral ¶
func (x *SendActivationCodeRequest) GetRequestGeneral() *RequestGeneral
func (*SendActivationCodeRequest) ProtoMessage ¶
func (*SendActivationCodeRequest) ProtoMessage()
func (*SendActivationCodeRequest) ProtoReflect ¶
func (x *SendActivationCodeRequest) ProtoReflect() protoreflect.Message
func (*SendActivationCodeRequest) Reset ¶
func (x *SendActivationCodeRequest) Reset()
func (*SendActivationCodeRequest) String ¶
func (x *SendActivationCodeRequest) String() string
type SendActivationCodeResponse ¶
type SendActivationCodeResponse struct { ResponseGeneral *ResponseGeneral `protobuf:"bytes,1,opt,name=response_general,json=responseGeneral,proto3" json:"response_general,omitempty"` WaitInSecond int64 `protobuf:"varint,2,opt,name=wait_in_second,json=waitInSecond,proto3" json:"wait_in_second,omitempty"` CodeLen int32 `protobuf:"varint,3,opt,name=code_len,json=codeLen,proto3" json:"code_len,omitempty"` // contains filtered or unexported fields }
func (*SendActivationCodeResponse) Descriptor
deprecated
func (*SendActivationCodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendActivationCodeResponse.ProtoReflect.Descriptor instead.
func (*SendActivationCodeResponse) GetCodeLen ¶ added in v0.0.2
func (x *SendActivationCodeResponse) GetCodeLen() int32
func (*SendActivationCodeResponse) GetResponseGeneral ¶
func (x *SendActivationCodeResponse) GetResponseGeneral() *ResponseGeneral
func (*SendActivationCodeResponse) GetWaitInSecond ¶ added in v0.0.2
func (x *SendActivationCodeResponse) GetWaitInSecond() int64
func (*SendActivationCodeResponse) ProtoMessage ¶
func (*SendActivationCodeResponse) ProtoMessage()
func (*SendActivationCodeResponse) ProtoReflect ¶
func (x *SendActivationCodeResponse) ProtoReflect() protoreflect.Message
func (*SendActivationCodeResponse) Reset ¶
func (x *SendActivationCodeResponse) Reset()
func (*SendActivationCodeResponse) String ¶
func (x *SendActivationCodeResponse) String() string
type SignOutRequest ¶ added in v0.0.4
type SignOutRequest struct { ClientInfo *ClientInfo `protobuf:"bytes,1,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"` RequestGeneral *RequestGeneral `protobuf:"bytes,2,opt,name=request_general,json=requestGeneral,proto3" json:"request_general,omitempty"` RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*SignOutRequest) Descriptor
deprecated
added in
v0.0.4
func (*SignOutRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignOutRequest.ProtoReflect.Descriptor instead.
func (*SignOutRequest) GetClientInfo ¶ added in v0.0.4
func (x *SignOutRequest) GetClientInfo() *ClientInfo
func (*SignOutRequest) GetRefreshToken ¶ added in v0.0.4
func (x *SignOutRequest) GetRefreshToken() string
func (*SignOutRequest) GetRequestGeneral ¶ added in v0.0.4
func (x *SignOutRequest) GetRequestGeneral() *RequestGeneral
func (*SignOutRequest) ProtoMessage ¶ added in v0.0.4
func (*SignOutRequest) ProtoMessage()
func (*SignOutRequest) ProtoReflect ¶ added in v0.0.4
func (x *SignOutRequest) ProtoReflect() protoreflect.Message
func (*SignOutRequest) Reset ¶ added in v0.0.4
func (x *SignOutRequest) Reset()
func (*SignOutRequest) String ¶ added in v0.0.4
func (x *SignOutRequest) String() string
type SignOutResponse ¶ added in v0.0.4
type SignOutResponse struct { ResponseGeneral *ResponseGeneral `protobuf:"bytes,1,opt,name=response_general,json=responseGeneral,proto3" json:"response_general,omitempty"` // contains filtered or unexported fields }
func (*SignOutResponse) Descriptor
deprecated
added in
v0.0.4
func (*SignOutResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignOutResponse.ProtoReflect.Descriptor instead.
func (*SignOutResponse) GetResponseGeneral ¶ added in v0.0.4
func (x *SignOutResponse) GetResponseGeneral() *ResponseGeneral
func (*SignOutResponse) ProtoMessage ¶ added in v0.0.4
func (*SignOutResponse) ProtoMessage()
func (*SignOutResponse) ProtoReflect ¶ added in v0.0.4
func (x *SignOutResponse) ProtoReflect() protoreflect.Message
func (*SignOutResponse) Reset ¶ added in v0.0.4
func (x *SignOutResponse) Reset()
func (*SignOutResponse) String ¶ added in v0.0.4
func (x *SignOutResponse) String() string
type StartLoginProcessRequest ¶
type StartLoginProcessRequest struct { ClientInfo *ClientInfo `protobuf:"bytes,1,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"` RequestGeneral *RequestGeneral `protobuf:"bytes,2,opt,name=request_general,json=requestGeneral,proto3" json:"request_general,omitempty"` // contains filtered or unexported fields }
func (*StartLoginProcessRequest) Descriptor
deprecated
func (*StartLoginProcessRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartLoginProcessRequest.ProtoReflect.Descriptor instead.
func (*StartLoginProcessRequest) GetClientInfo ¶
func (x *StartLoginProcessRequest) GetClientInfo() *ClientInfo
func (*StartLoginProcessRequest) GetRequestGeneral ¶
func (x *StartLoginProcessRequest) GetRequestGeneral() *RequestGeneral
func (*StartLoginProcessRequest) ProtoMessage ¶
func (*StartLoginProcessRequest) ProtoMessage()
func (*StartLoginProcessRequest) ProtoReflect ¶
func (x *StartLoginProcessRequest) ProtoReflect() protoreflect.Message
func (*StartLoginProcessRequest) Reset ¶
func (x *StartLoginProcessRequest) Reset()
func (*StartLoginProcessRequest) String ¶
func (x *StartLoginProcessRequest) String() string
type StartLoginProcessResponse ¶
type StartLoginProcessResponse struct { ResponseGeneral *ResponseGeneral `protobuf:"bytes,1,opt,name=response_general,json=responseGeneral,proto3" json:"response_general,omitempty"` ActivationId string `protobuf:"bytes,2,opt,name=activation_id,json=activationId,proto3" json:"activation_id,omitempty"` RegisterToken string `protobuf:"bytes,4,opt,name=register_token,json=registerToken,proto3" json:"register_token,omitempty"` Expiration int64 `protobuf:"varint,5,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
func (*StartLoginProcessResponse) Descriptor
deprecated
func (*StartLoginProcessResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartLoginProcessResponse.ProtoReflect.Descriptor instead.
func (*StartLoginProcessResponse) GetActivationId ¶ added in v0.0.2
func (x *StartLoginProcessResponse) GetActivationId() string
func (*StartLoginProcessResponse) GetExpiration ¶ added in v0.0.2
func (x *StartLoginProcessResponse) GetExpiration() int64
func (*StartLoginProcessResponse) GetRegisterToken ¶ added in v0.0.2
func (x *StartLoginProcessResponse) GetRegisterToken() string
func (*StartLoginProcessResponse) GetResponseGeneral ¶
func (x *StartLoginProcessResponse) GetResponseGeneral() *ResponseGeneral
func (*StartLoginProcessResponse) ProtoMessage ¶
func (*StartLoginProcessResponse) ProtoMessage()
func (*StartLoginProcessResponse) ProtoReflect ¶
func (x *StartLoginProcessResponse) ProtoReflect() protoreflect.Message
func (*StartLoginProcessResponse) Reset ¶
func (x *StartLoginProcessResponse) Reset()
func (*StartLoginProcessResponse) String ¶
func (x *StartLoginProcessResponse) String() string
type UnimplementedAuthServiceServer ¶
type UnimplementedAuthServiceServer struct { }
UnimplementedAuthServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAuthServiceServer) GetIdentity ¶ added in v0.1.2
func (UnimplementedAuthServiceServer) GetIdentity(context.Context, *GetIdentityRequest) (*GetIdentityResponse, error)
func (UnimplementedAuthServiceServer) RefreshToken ¶
func (UnimplementedAuthServiceServer) RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
func (UnimplementedAuthServiceServer) SendActivationCode ¶
func (UnimplementedAuthServiceServer) SendActivationCode(context.Context, *SendActivationCodeRequest) (*SendActivationCodeResponse, error)
func (UnimplementedAuthServiceServer) SignOut ¶ added in v0.0.4
func (UnimplementedAuthServiceServer) SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error)
func (UnimplementedAuthServiceServer) StartLoginProcess ¶
func (UnimplementedAuthServiceServer) StartLoginProcess(context.Context, *StartLoginProcessRequest) (*StartLoginProcessResponse, error)
func (UnimplementedAuthServiceServer) VerifyIdentity ¶ added in v0.0.11
func (UnimplementedAuthServiceServer) VerifyIdentity(context.Context, *VerifyIdentityRequest) (*VerifyIdentityResponse, error)
func (UnimplementedAuthServiceServer) VerifyPhone ¶
func (UnimplementedAuthServiceServer) VerifyPhone(context.Context, *VerifyPhoneRequest) (*VerifyPhoneResponse, error)
type UnsafeAuthServiceServer ¶
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.
type VerifyIdentityRequest ¶ added in v0.0.11
type VerifyIdentityRequest struct { ClientInfo *ClientInfo `protobuf:"bytes,1,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"` RequestGeneral *RequestGeneral `protobuf:"bytes,2,opt,name=request_general,json=requestGeneral,proto3" json:"request_general,omitempty"` NationalCode string `protobuf:"bytes,3,opt,name=national_code,json=nationalCode,proto3" json:"national_code,omitempty"` BirthDate string `protobuf:"bytes,4,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` // contains filtered or unexported fields }
func (*VerifyIdentityRequest) Descriptor
deprecated
added in
v0.0.11
func (*VerifyIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyIdentityRequest.ProtoReflect.Descriptor instead.
func (*VerifyIdentityRequest) GetBirthDate ¶ added in v0.0.11
func (x *VerifyIdentityRequest) GetBirthDate() string
func (*VerifyIdentityRequest) GetClientInfo ¶ added in v0.0.11
func (x *VerifyIdentityRequest) GetClientInfo() *ClientInfo
func (*VerifyIdentityRequest) GetNationalCode ¶ added in v0.0.11
func (x *VerifyIdentityRequest) GetNationalCode() string
func (*VerifyIdentityRequest) GetRequestGeneral ¶ added in v0.0.11
func (x *VerifyIdentityRequest) GetRequestGeneral() *RequestGeneral
func (*VerifyIdentityRequest) ProtoMessage ¶ added in v0.0.11
func (*VerifyIdentityRequest) ProtoMessage()
func (*VerifyIdentityRequest) ProtoReflect ¶ added in v0.0.11
func (x *VerifyIdentityRequest) ProtoReflect() protoreflect.Message
func (*VerifyIdentityRequest) Reset ¶ added in v0.0.11
func (x *VerifyIdentityRequest) Reset()
func (*VerifyIdentityRequest) String ¶ added in v0.0.11
func (x *VerifyIdentityRequest) String() string
type VerifyIdentityResponse ¶ added in v0.0.11
type VerifyIdentityResponse struct { ResponseGeneral *ResponseGeneral `protobuf:"bytes,1,opt,name=response_general,json=responseGeneral,proto3" json:"response_general,omitempty"` // contains filtered or unexported fields }
func (*VerifyIdentityResponse) Descriptor
deprecated
added in
v0.0.11
func (*VerifyIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyIdentityResponse.ProtoReflect.Descriptor instead.
func (*VerifyIdentityResponse) GetResponseGeneral ¶ added in v0.0.11
func (x *VerifyIdentityResponse) GetResponseGeneral() *ResponseGeneral
func (*VerifyIdentityResponse) ProtoMessage ¶ added in v0.0.11
func (*VerifyIdentityResponse) ProtoMessage()
func (*VerifyIdentityResponse) ProtoReflect ¶ added in v0.0.11
func (x *VerifyIdentityResponse) ProtoReflect() protoreflect.Message
func (*VerifyIdentityResponse) Reset ¶ added in v0.0.11
func (x *VerifyIdentityResponse) Reset()
func (*VerifyIdentityResponse) String ¶ added in v0.0.11
func (x *VerifyIdentityResponse) String() string
type VerifyPhoneRequest ¶
type VerifyPhoneRequest struct { ClientInfo *ClientInfo `protobuf:"bytes,1,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"` RequestGeneral *RequestGeneral `protobuf:"bytes,2,opt,name=request_general,json=requestGeneral,proto3" json:"request_general,omitempty"` ActivationId string `protobuf:"bytes,3,opt,name=activation_id,json=activationId,proto3" json:"activation_id,omitempty"` RegisterToken string `protobuf:"bytes,5,opt,name=register_token,json=registerToken,proto3" json:"register_token,omitempty"` Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*VerifyPhoneRequest) Descriptor
deprecated
func (*VerifyPhoneRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyPhoneRequest.ProtoReflect.Descriptor instead.
func (*VerifyPhoneRequest) GetActivationId ¶ added in v0.0.2
func (x *VerifyPhoneRequest) GetActivationId() string
func (*VerifyPhoneRequest) GetClientInfo ¶
func (x *VerifyPhoneRequest) GetClientInfo() *ClientInfo
func (*VerifyPhoneRequest) GetCode ¶ added in v0.0.2
func (x *VerifyPhoneRequest) GetCode() string
func (*VerifyPhoneRequest) GetRegisterToken ¶ added in v0.0.2
func (x *VerifyPhoneRequest) GetRegisterToken() string
func (*VerifyPhoneRequest) GetRequestGeneral ¶
func (x *VerifyPhoneRequest) GetRequestGeneral() *RequestGeneral
func (*VerifyPhoneRequest) ProtoMessage ¶
func (*VerifyPhoneRequest) ProtoMessage()
func (*VerifyPhoneRequest) ProtoReflect ¶
func (x *VerifyPhoneRequest) ProtoReflect() protoreflect.Message
func (*VerifyPhoneRequest) Reset ¶
func (x *VerifyPhoneRequest) Reset()
func (*VerifyPhoneRequest) String ¶
func (x *VerifyPhoneRequest) String() string
type VerifyPhoneResponse ¶
type VerifyPhoneResponse struct { ResponseGeneral *ResponseGeneral `protobuf:"bytes,1,opt,name=response_general,json=responseGeneral,proto3" json:"response_general,omitempty"` RemainingTryCount int32 `protobuf:"varint,2,opt,name=remaining_try_count,json=remainingTryCount,proto3" json:"remaining_try_count,omitempty"` RemainingWaitSeconds int64 `protobuf:"varint,3,opt,name=remaining_wait_seconds,json=remainingWaitSeconds,proto3" json:"remaining_wait_seconds,omitempty"` AccessToken string `protobuf:"bytes,4,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` AccessTokenExpiration int64 `` /* 127-byte string literal not displayed */ RefreshTokenRequestTimeout int64 `` /* 144-byte string literal not displayed */ Phone string `protobuf:"bytes,7,opt,name=phone,proto3" json:"phone,omitempty"` RefreshToken string `protobuf:"bytes,8,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*VerifyPhoneResponse) Descriptor
deprecated
func (*VerifyPhoneResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyPhoneResponse.ProtoReflect.Descriptor instead.
func (*VerifyPhoneResponse) GetAccessToken ¶ added in v0.0.9
func (x *VerifyPhoneResponse) GetAccessToken() string
func (*VerifyPhoneResponse) GetAccessTokenExpiration ¶ added in v0.0.9
func (x *VerifyPhoneResponse) GetAccessTokenExpiration() int64
func (*VerifyPhoneResponse) GetPhone ¶ added in v0.0.2
func (x *VerifyPhoneResponse) GetPhone() string
func (*VerifyPhoneResponse) GetRefreshToken ¶ added in v0.0.9
func (x *VerifyPhoneResponse) GetRefreshToken() string
func (*VerifyPhoneResponse) GetRefreshTokenRequestTimeout ¶ added in v0.0.9
func (x *VerifyPhoneResponse) GetRefreshTokenRequestTimeout() int64
func (*VerifyPhoneResponse) GetRemainingTryCount ¶ added in v0.0.2
func (x *VerifyPhoneResponse) GetRemainingTryCount() int32
func (*VerifyPhoneResponse) GetRemainingWaitSeconds ¶ added in v0.0.2
func (x *VerifyPhoneResponse) GetRemainingWaitSeconds() int64
func (*VerifyPhoneResponse) GetResponseGeneral ¶
func (x *VerifyPhoneResponse) GetResponseGeneral() *ResponseGeneral
func (*VerifyPhoneResponse) ProtoMessage ¶
func (*VerifyPhoneResponse) ProtoMessage()
func (*VerifyPhoneResponse) ProtoReflect ¶
func (x *VerifyPhoneResponse) ProtoReflect() protoreflect.Message
func (*VerifyPhoneResponse) Reset ¶
func (x *VerifyPhoneResponse) Reset()
func (*VerifyPhoneResponse) String ¶
func (x *VerifyPhoneResponse) String() string