Documentation ¶
Index ¶
- Variables
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type GetRefreshTokenRequest
- func (*GetRefreshTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRefreshTokenRequest) GetAccessToken() string
- func (*GetRefreshTokenRequest) ProtoMessage()
- func (x *GetRefreshTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GetRefreshTokenRequest) Reset()
- func (x *GetRefreshTokenRequest) String() string
- type GetRefreshTokenResponse
- func (*GetRefreshTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRefreshTokenResponse) GetRefreshToken() string
- func (*GetRefreshTokenResponse) ProtoMessage()
- func (x *GetRefreshTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GetRefreshTokenResponse) Reset()
- func (x *GetRefreshTokenResponse) String() string
- type GetUserRequest
- type GetUserResponse
- type GoogleCredentials
- func (*GoogleCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *GoogleCredentials) GetAuthorizationCode() string
- func (*GoogleCredentials) ProtoMessage()
- func (x *GoogleCredentials) ProtoReflect() protoreflect.Message
- func (x *GoogleCredentials) Reset()
- func (x *GoogleCredentials) String() string
- type PasswordCredentials
- func (*PasswordCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordCredentials) GetId() string
- func (x *PasswordCredentials) GetPassword() string
- func (*PasswordCredentials) ProtoMessage()
- func (x *PasswordCredentials) ProtoReflect() protoreflect.Message
- func (x *PasswordCredentials) Reset()
- func (x *PasswordCredentials) String() string
- type PurgeUserRequest
- type PurgeUserResponse
- type RequestVerificationCodeRequest
- func (*RequestVerificationCodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RequestVerificationCodeRequest) GetEmail() string
- func (*RequestVerificationCodeRequest) ProtoMessage()
- func (x *RequestVerificationCodeRequest) ProtoReflect() protoreflect.Message
- func (x *RequestVerificationCodeRequest) Reset()
- func (x *RequestVerificationCodeRequest) String() string
- type RequestVerificationCodeResponse
- func (*RequestVerificationCodeResponse) Descriptor() ([]byte, []int)deprecated
- func (*RequestVerificationCodeResponse) ProtoMessage()
- func (x *RequestVerificationCodeResponse) ProtoReflect() protoreflect.Message
- func (x *RequestVerificationCodeResponse) Reset()
- func (x *RequestVerificationCodeResponse) String() string
- type ResetPasswordRequest
- func (*ResetPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetPasswordRequest) GetId() string
- func (*ResetPasswordRequest) ProtoMessage()
- func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ResetPasswordRequest) Reset()
- func (x *ResetPasswordRequest) String() string
- type ResetPasswordResponse
- type SignInRequest
- func (*SignInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignInRequest) GetGoogleCredentials() *GoogleCredentials
- func (x *SignInRequest) GetPasswordCredentials() *PasswordCredentials
- func (x *SignInRequest) GetRefreshToken() string
- func (*SignInRequest) ProtoMessage()
- func (x *SignInRequest) ProtoReflect() protoreflect.Message
- func (x *SignInRequest) Reset()
- func (x *SignInRequest) String() string
- type SignInResponse
- func (*SignInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignInResponse) GetAccessToken() string
- func (x *SignInResponse) GetUserId() string
- func (x *SignInResponse) GetVerificationIsRequired() bool
- func (*SignInResponse) ProtoMessage()
- func (x *SignInResponse) ProtoReflect() protoreflect.Message
- func (x *SignInResponse) Reset()
- func (x *SignInResponse) String() string
- type SignOutRequest
- type SignOutResponse
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) GetRefreshToken(context.Context, *GetRefreshTokenRequest) (*GetRefreshTokenResponse, error)
- func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedUserServiceServer) PurgeUser(context.Context, *PurgeUserRequest) (*PurgeUserResponse, error)
- func (UnimplementedUserServiceServer) RequestVerificationCode(context.Context, *RequestVerificationCodeRequest) (*RequestVerificationCodeResponse, error)
- func (UnimplementedUserServiceServer) ResetPassword(context.Context, *ResetPasswordRequest) (*ResetPasswordResponse, error)
- func (UnimplementedUserServiceServer) SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
- func (UnimplementedUserServiceServer) SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error)
- func (UnimplementedUserServiceServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
- func (UnimplementedUserServiceServer) VerifyEmail(context.Context, *VerifyEmailRequest) (*VerifyEmailResponse, error)
- type UnsafeUserServiceServer
- type UpdatePasswordRequest
- func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePasswordRequest) GetNewPassword() string
- func (*UpdatePasswordRequest) ProtoMessage()
- func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordRequest) Reset()
- func (x *UpdatePasswordRequest) String() string
- type UpdatePasswordResponse
- type User
- type UserServiceClient
- type UserServiceServer
- type VerifyEmailRequest
- func (*VerifyEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyEmailRequest) GetEmail() string
- func (x *VerifyEmailRequest) GetVerificationCode() string
- func (*VerifyEmailRequest) ProtoMessage()
- func (x *VerifyEmailRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyEmailRequest) Reset()
- func (x *VerifyEmailRequest) String() string
- type VerifyEmailResponse
- func (*VerifyEmailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyEmailResponse) GetAccessToken() string
- func (x *VerifyEmailResponse) GetUserId() string
- func (*VerifyEmailResponse) ProtoMessage()
- func (x *VerifyEmailResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyEmailResponse) Reset()
- func (x *VerifyEmailResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_tadpole_user_service_v1_user_proto protoreflect.FileDescriptor
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tadpole.user_service.v1.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SignIn", Handler: _UserService_SignIn_Handler, }, { MethodName: "SignOut", Handler: _UserService_SignOut_Handler, }, { MethodName: "VerifyEmail", Handler: _UserService_VerifyEmail_Handler, }, { MethodName: "RequestVerificationCode", Handler: _UserService_RequestVerificationCode_Handler, }, { MethodName: "GetUser", Handler: _UserService_GetUser_Handler, }, { MethodName: "GetRefreshToken", Handler: _UserService_GetRefreshToken_Handler, }, { MethodName: "ResetPassword", Handler: _UserService_ResetPassword_Handler, }, { MethodName: "UpdatePassword", Handler: _UserService_UpdatePassword_Handler, }, { MethodName: "PurgeUser", Handler: _UserService_PurgeUser_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "tadpole/user-service/v1/user.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type GetRefreshTokenRequest ¶ added in v0.3.31
type GetRefreshTokenRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*GetRefreshTokenRequest) Descriptor
deprecated
added in
v0.3.31
func (*GetRefreshTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRefreshTokenRequest.ProtoReflect.Descriptor instead.
func (*GetRefreshTokenRequest) GetAccessToken ¶ added in v0.3.31
func (x *GetRefreshTokenRequest) GetAccessToken() string
func (*GetRefreshTokenRequest) ProtoMessage ¶ added in v0.3.31
func (*GetRefreshTokenRequest) ProtoMessage()
func (*GetRefreshTokenRequest) ProtoReflect ¶ added in v0.3.31
func (x *GetRefreshTokenRequest) ProtoReflect() protoreflect.Message
func (*GetRefreshTokenRequest) Reset ¶ added in v0.3.31
func (x *GetRefreshTokenRequest) Reset()
func (*GetRefreshTokenRequest) String ¶ added in v0.3.31
func (x *GetRefreshTokenRequest) String() string
type GetRefreshTokenResponse ¶ added in v0.3.31
type GetRefreshTokenResponse struct { RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*GetRefreshTokenResponse) Descriptor
deprecated
added in
v0.3.31
func (*GetRefreshTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRefreshTokenResponse.ProtoReflect.Descriptor instead.
func (*GetRefreshTokenResponse) GetRefreshToken ¶ added in v0.3.31
func (x *GetRefreshTokenResponse) GetRefreshToken() string
func (*GetRefreshTokenResponse) ProtoMessage ¶ added in v0.3.31
func (*GetRefreshTokenResponse) ProtoMessage()
func (*GetRefreshTokenResponse) ProtoReflect ¶ added in v0.3.31
func (x *GetRefreshTokenResponse) ProtoReflect() protoreflect.Message
func (*GetRefreshTokenResponse) Reset ¶ added in v0.3.31
func (x *GetRefreshTokenResponse) Reset()
func (*GetRefreshTokenResponse) String ¶ added in v0.3.31
func (x *GetRefreshTokenResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetId ¶
func (x *GetUserRequest) GetId() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetUser ¶
func (x *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type GoogleCredentials ¶
type GoogleCredentials struct { AuthorizationCode string `protobuf:"bytes,1,opt,name=authorization_code,json=authorizationCode,proto3" json:"authorization_code,omitempty"` // contains filtered or unexported fields }
func (*GoogleCredentials) Descriptor
deprecated
func (*GoogleCredentials) Descriptor() ([]byte, []int)
Deprecated: Use GoogleCredentials.ProtoReflect.Descriptor instead.
func (*GoogleCredentials) GetAuthorizationCode ¶
func (x *GoogleCredentials) GetAuthorizationCode() string
func (*GoogleCredentials) ProtoMessage ¶
func (*GoogleCredentials) ProtoMessage()
func (*GoogleCredentials) ProtoReflect ¶
func (x *GoogleCredentials) ProtoReflect() protoreflect.Message
func (*GoogleCredentials) Reset ¶
func (x *GoogleCredentials) Reset()
func (*GoogleCredentials) String ¶
func (x *GoogleCredentials) String() string
type PasswordCredentials ¶
type PasswordCredentials struct { // Email address of the user Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*PasswordCredentials) Descriptor
deprecated
func (*PasswordCredentials) Descriptor() ([]byte, []int)
Deprecated: Use PasswordCredentials.ProtoReflect.Descriptor instead.
func (*PasswordCredentials) GetId ¶
func (x *PasswordCredentials) GetId() string
func (*PasswordCredentials) GetPassword ¶
func (x *PasswordCredentials) GetPassword() string
func (*PasswordCredentials) ProtoMessage ¶
func (*PasswordCredentials) ProtoMessage()
func (*PasswordCredentials) ProtoReflect ¶
func (x *PasswordCredentials) ProtoReflect() protoreflect.Message
func (*PasswordCredentials) Reset ¶
func (x *PasswordCredentials) Reset()
func (*PasswordCredentials) String ¶
func (x *PasswordCredentials) String() string
type PurgeUserRequest ¶
type PurgeUserRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PurgeUserRequest) Descriptor
deprecated
func (*PurgeUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use PurgeUserRequest.ProtoReflect.Descriptor instead.
func (*PurgeUserRequest) GetId ¶
func (x *PurgeUserRequest) GetId() string
func (*PurgeUserRequest) ProtoMessage ¶
func (*PurgeUserRequest) ProtoMessage()
func (*PurgeUserRequest) ProtoReflect ¶
func (x *PurgeUserRequest) ProtoReflect() protoreflect.Message
func (*PurgeUserRequest) Reset ¶
func (x *PurgeUserRequest) Reset()
func (*PurgeUserRequest) String ¶
func (x *PurgeUserRequest) String() string
type PurgeUserResponse ¶
type PurgeUserResponse struct {
// contains filtered or unexported fields
}
func (*PurgeUserResponse) Descriptor
deprecated
func (*PurgeUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use PurgeUserResponse.ProtoReflect.Descriptor instead.
func (*PurgeUserResponse) ProtoMessage ¶
func (*PurgeUserResponse) ProtoMessage()
func (*PurgeUserResponse) ProtoReflect ¶
func (x *PurgeUserResponse) ProtoReflect() protoreflect.Message
func (*PurgeUserResponse) Reset ¶
func (x *PurgeUserResponse) Reset()
func (*PurgeUserResponse) String ¶
func (x *PurgeUserResponse) String() string
type RequestVerificationCodeRequest ¶ added in v0.3.40
type RequestVerificationCodeRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*RequestVerificationCodeRequest) Descriptor
deprecated
added in
v0.3.40
func (*RequestVerificationCodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RequestVerificationCodeRequest.ProtoReflect.Descriptor instead.
func (*RequestVerificationCodeRequest) GetEmail ¶ added in v0.3.40
func (x *RequestVerificationCodeRequest) GetEmail() string
func (*RequestVerificationCodeRequest) ProtoMessage ¶ added in v0.3.40
func (*RequestVerificationCodeRequest) ProtoMessage()
func (*RequestVerificationCodeRequest) ProtoReflect ¶ added in v0.3.40
func (x *RequestVerificationCodeRequest) ProtoReflect() protoreflect.Message
func (*RequestVerificationCodeRequest) Reset ¶ added in v0.3.40
func (x *RequestVerificationCodeRequest) Reset()
func (*RequestVerificationCodeRequest) String ¶ added in v0.3.40
func (x *RequestVerificationCodeRequest) String() string
type RequestVerificationCodeResponse ¶ added in v0.3.40
type RequestVerificationCodeResponse struct {
// contains filtered or unexported fields
}
func (*RequestVerificationCodeResponse) Descriptor
deprecated
added in
v0.3.40
func (*RequestVerificationCodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use RequestVerificationCodeResponse.ProtoReflect.Descriptor instead.
func (*RequestVerificationCodeResponse) ProtoMessage ¶ added in v0.3.40
func (*RequestVerificationCodeResponse) ProtoMessage()
func (*RequestVerificationCodeResponse) ProtoReflect ¶ added in v0.3.40
func (x *RequestVerificationCodeResponse) ProtoReflect() protoreflect.Message
func (*RequestVerificationCodeResponse) Reset ¶ added in v0.3.40
func (x *RequestVerificationCodeResponse) Reset()
func (*RequestVerificationCodeResponse) String ¶ added in v0.3.40
func (x *RequestVerificationCodeResponse) String() string
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { // Email address of the user Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ResetPasswordRequest) Descriptor
deprecated
func (*ResetPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.
func (*ResetPasswordRequest) GetId ¶
func (x *ResetPasswordRequest) GetId() string
func (*ResetPasswordRequest) ProtoMessage ¶
func (*ResetPasswordRequest) ProtoMessage()
func (*ResetPasswordRequest) ProtoReflect ¶
func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message
func (*ResetPasswordRequest) Reset ¶
func (x *ResetPasswordRequest) Reset()
func (*ResetPasswordRequest) String ¶
func (x *ResetPasswordRequest) String() string
type ResetPasswordResponse ¶
type ResetPasswordResponse struct {
// contains filtered or unexported fields
}
func (*ResetPasswordResponse) Descriptor
deprecated
func (*ResetPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.
func (*ResetPasswordResponse) ProtoMessage ¶
func (*ResetPasswordResponse) ProtoMessage()
func (*ResetPasswordResponse) ProtoReflect ¶
func (x *ResetPasswordResponse) ProtoReflect() protoreflect.Message
func (*ResetPasswordResponse) Reset ¶
func (x *ResetPasswordResponse) Reset()
func (*ResetPasswordResponse) String ¶
func (x *ResetPasswordResponse) String() string
type SignInRequest ¶
type SignInRequest struct { GoogleCredentials *GoogleCredentials `protobuf:"bytes,1,opt,name=google_credentials,json=googleCredentials,proto3" json:"google_credentials,omitempty"` PasswordCredentials *PasswordCredentials `protobuf:"bytes,2,opt,name=password_credentials,json=passwordCredentials,proto3" json:"password_credentials,omitempty"` RefreshToken *string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3,oneof" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*SignInRequest) Descriptor
deprecated
func (*SignInRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.
func (*SignInRequest) GetGoogleCredentials ¶
func (x *SignInRequest) GetGoogleCredentials() *GoogleCredentials
func (*SignInRequest) GetPasswordCredentials ¶
func (x *SignInRequest) GetPasswordCredentials() *PasswordCredentials
func (*SignInRequest) GetRefreshToken ¶
func (x *SignInRequest) GetRefreshToken() string
func (*SignInRequest) ProtoMessage ¶
func (*SignInRequest) ProtoMessage()
func (*SignInRequest) ProtoReflect ¶
func (x *SignInRequest) ProtoReflect() protoreflect.Message
func (*SignInRequest) Reset ¶
func (x *SignInRequest) Reset()
func (*SignInRequest) String ¶
func (x *SignInRequest) String() string
type SignInResponse ¶
type SignInResponse struct { AccessToken *string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3,oneof" json:"access_token,omitempty"` UserId *string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"` VerificationIsRequired *bool `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SignInResponse) Descriptor
deprecated
func (*SignInResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignInResponse.ProtoReflect.Descriptor instead.
func (*SignInResponse) GetAccessToken ¶
func (x *SignInResponse) GetAccessToken() string
func (*SignInResponse) GetUserId ¶
func (x *SignInResponse) GetUserId() string
func (*SignInResponse) GetVerificationIsRequired ¶ added in v0.3.40
func (x *SignInResponse) GetVerificationIsRequired() bool
func (*SignInResponse) ProtoMessage ¶
func (*SignInResponse) ProtoMessage()
func (*SignInResponse) ProtoReflect ¶
func (x *SignInResponse) ProtoReflect() protoreflect.Message
func (*SignInResponse) Reset ¶
func (x *SignInResponse) Reset()
func (*SignInResponse) String ¶
func (x *SignInResponse) String() string
type SignOutRequest ¶
type SignOutRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*SignOutRequest) Descriptor
deprecated
func (*SignOutRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignOutRequest.ProtoReflect.Descriptor instead.
func (*SignOutRequest) GetAccessToken ¶
func (x *SignOutRequest) GetAccessToken() string
func (*SignOutRequest) ProtoMessage ¶
func (*SignOutRequest) ProtoMessage()
func (*SignOutRequest) ProtoReflect ¶
func (x *SignOutRequest) ProtoReflect() protoreflect.Message
func (*SignOutRequest) Reset ¶
func (x *SignOutRequest) Reset()
func (*SignOutRequest) String ¶
func (x *SignOutRequest) String() string
type SignOutResponse ¶
type SignOutResponse struct {
// contains filtered or unexported fields
}
func (*SignOutResponse) Descriptor
deprecated
func (*SignOutResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignOutResponse.ProtoReflect.Descriptor instead.
func (*SignOutResponse) ProtoMessage ¶
func (*SignOutResponse) ProtoMessage()
func (*SignOutResponse) ProtoReflect ¶
func (x *SignOutResponse) ProtoReflect() protoreflect.Message
func (*SignOutResponse) Reset ¶
func (x *SignOutResponse) Reset()
func (*SignOutResponse) String ¶
func (x *SignOutResponse) String() string
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) GetRefreshToken ¶ added in v0.3.31
func (UnimplementedUserServiceServer) GetRefreshToken(context.Context, *GetRefreshTokenRequest) (*GetRefreshTokenResponse, error)
func (UnimplementedUserServiceServer) GetUser ¶
func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedUserServiceServer) PurgeUser ¶
func (UnimplementedUserServiceServer) PurgeUser(context.Context, *PurgeUserRequest) (*PurgeUserResponse, error)
func (UnimplementedUserServiceServer) RequestVerificationCode ¶ added in v0.3.40
func (UnimplementedUserServiceServer) RequestVerificationCode(context.Context, *RequestVerificationCodeRequest) (*RequestVerificationCodeResponse, error)
func (UnimplementedUserServiceServer) ResetPassword ¶
func (UnimplementedUserServiceServer) ResetPassword(context.Context, *ResetPasswordRequest) (*ResetPasswordResponse, error)
func (UnimplementedUserServiceServer) SignIn ¶
func (UnimplementedUserServiceServer) SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
func (UnimplementedUserServiceServer) SignOut ¶
func (UnimplementedUserServiceServer) SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error)
func (UnimplementedUserServiceServer) UpdatePassword ¶
func (UnimplementedUserServiceServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
func (UnimplementedUserServiceServer) VerifyEmail ¶ added in v0.3.40
func (UnimplementedUserServiceServer) VerifyEmail(context.Context, *VerifyEmailRequest) (*VerifyEmailResponse, error)
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UpdatePasswordRequest ¶
type UpdatePasswordRequest struct { NewPassword string `protobuf:"bytes,1,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` // contains filtered or unexported fields }
func (*UpdatePasswordRequest) Descriptor
deprecated
func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.
func (*UpdatePasswordRequest) GetNewPassword ¶
func (x *UpdatePasswordRequest) GetNewPassword() string
func (*UpdatePasswordRequest) ProtoMessage ¶
func (*UpdatePasswordRequest) ProtoMessage()
func (*UpdatePasswordRequest) ProtoReflect ¶
func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
func (*UpdatePasswordRequest) Reset ¶
func (x *UpdatePasswordRequest) Reset()
func (*UpdatePasswordRequest) String ¶
func (x *UpdatePasswordRequest) String() string
type UpdatePasswordResponse ¶
type UpdatePasswordResponse struct {
// contains filtered or unexported fields
}
func (*UpdatePasswordResponse) Descriptor
deprecated
func (*UpdatePasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordResponse.ProtoReflect.Descriptor instead.
func (*UpdatePasswordResponse) ProtoMessage ¶
func (*UpdatePasswordResponse) ProtoMessage()
func (*UpdatePasswordResponse) ProtoReflect ¶
func (x *UpdatePasswordResponse) ProtoReflect() protoreflect.Message
func (*UpdatePasswordResponse) Reset ¶
func (x *UpdatePasswordResponse) Reset()
func (*UpdatePasswordResponse) String ¶
func (x *UpdatePasswordResponse) String() string
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetDisplayName ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserServiceClient ¶
type UserServiceClient interface { SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (*SignInResponse, error) SignOut(ctx context.Context, in *SignOutRequest, opts ...grpc.CallOption) (*SignOutResponse, error) VerifyEmail(ctx context.Context, in *VerifyEmailRequest, opts ...grpc.CallOption) (*VerifyEmailResponse, error) RequestVerificationCode(ctx context.Context, in *RequestVerificationCodeRequest, opts ...grpc.CallOption) (*RequestVerificationCodeResponse, error) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) GetRefreshToken(ctx context.Context, in *GetRefreshTokenRequest, opts ...grpc.CallOption) (*GetRefreshTokenResponse, error) ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...grpc.CallOption) (*ResetPasswordResponse, error) UpdatePassword(ctx context.Context, in *UpdatePasswordRequest, opts ...grpc.CallOption) (*UpdatePasswordResponse, error) PurgeUser(ctx context.Context, in *PurgeUserRequest, opts ...grpc.CallOption) (*PurgeUserResponse, error) }
UserServiceClient is the client API for UserService 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 NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { SignIn(context.Context, *SignInRequest) (*SignInResponse, error) SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error) VerifyEmail(context.Context, *VerifyEmailRequest) (*VerifyEmailResponse, error) RequestVerificationCode(context.Context, *RequestVerificationCodeRequest) (*RequestVerificationCodeResponse, error) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) GetRefreshToken(context.Context, *GetRefreshTokenRequest) (*GetRefreshTokenResponse, error) ResetPassword(context.Context, *ResetPasswordRequest) (*ResetPasswordResponse, error) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error) PurgeUser(context.Context, *PurgeUserRequest) (*PurgeUserResponse, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility
type VerifyEmailRequest ¶ added in v0.3.40
type VerifyEmailRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` VerificationCode string `protobuf:"bytes,2,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"` // contains filtered or unexported fields }
func (*VerifyEmailRequest) Descriptor
deprecated
added in
v0.3.40
func (*VerifyEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyEmailRequest.ProtoReflect.Descriptor instead.
func (*VerifyEmailRequest) GetEmail ¶ added in v0.3.40
func (x *VerifyEmailRequest) GetEmail() string
func (*VerifyEmailRequest) GetVerificationCode ¶ added in v0.3.40
func (x *VerifyEmailRequest) GetVerificationCode() string
func (*VerifyEmailRequest) ProtoMessage ¶ added in v0.3.40
func (*VerifyEmailRequest) ProtoMessage()
func (*VerifyEmailRequest) ProtoReflect ¶ added in v0.3.40
func (x *VerifyEmailRequest) ProtoReflect() protoreflect.Message
func (*VerifyEmailRequest) Reset ¶ added in v0.3.40
func (x *VerifyEmailRequest) Reset()
func (*VerifyEmailRequest) String ¶ added in v0.3.40
func (x *VerifyEmailRequest) String() string
type VerifyEmailResponse ¶ added in v0.3.40
type VerifyEmailResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*VerifyEmailResponse) Descriptor
deprecated
added in
v0.3.40
func (*VerifyEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyEmailResponse.ProtoReflect.Descriptor instead.
func (*VerifyEmailResponse) GetAccessToken ¶ added in v0.3.43
func (x *VerifyEmailResponse) GetAccessToken() string
func (*VerifyEmailResponse) GetUserId ¶ added in v0.3.43
func (x *VerifyEmailResponse) GetUserId() string
func (*VerifyEmailResponse) ProtoMessage ¶ added in v0.3.40
func (*VerifyEmailResponse) ProtoMessage()
func (*VerifyEmailResponse) ProtoReflect ¶ added in v0.3.40
func (x *VerifyEmailResponse) ProtoReflect() protoreflect.Message
func (*VerifyEmailResponse) Reset ¶ added in v0.3.40
func (x *VerifyEmailResponse) Reset()
func (*VerifyEmailResponse) String ¶ added in v0.3.40
func (x *VerifyEmailResponse) String() string