proto

package
v0.0.0-...-6123566 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	IdentityService_IsAuth_FullMethodName               = "/proto.IdentityService/IsAuth"
	IdentityService_CurrentUser_FullMethodName          = "/proto.IdentityService/CurrentUser"
	IdentityService_Login_FullMethodName                = "/proto.IdentityService/Login"
	IdentityService_Logout_FullMethodName               = "/proto.IdentityService/Logout"
	IdentityService_Refresh_FullMethodName              = "/proto.IdentityService/Refresh"
	IdentityService_RegisterStart_FullMethodName        = "/proto.IdentityService/RegisterStart"
	IdentityService_RegisterPending_FullMethodName      = "/proto.IdentityService/RegisterPending"
	IdentityService_RegisterFinish_FullMethodName       = "/proto.IdentityService/RegisterFinish"
	IdentityService_ResetPasswordStart_FullMethodName   = "/proto.IdentityService/ResetPasswordStart"
	IdentityService_ResetPasswordPending_FullMethodName = "/proto.IdentityService/ResetPasswordPending"
	IdentityService_ResetPasswordFinish_FullMethodName  = "/proto.IdentityService/ResetPasswordFinish"
	IdentityService_UpdatePassword_FullMethodName       = "/proto.IdentityService/UpdatePassword"
	IdentityService_UpdateDisplayName_FullMethodName    = "/proto.IdentityService/UpdateDisplayName"
	IdentityService_UpdateEmailStart_FullMethodName     = "/proto.IdentityService/UpdateEmailStart"
	IdentityService_UpdateEmailFinish_FullMethodName    = "/proto.IdentityService/UpdateEmailFinish"
)

Variables

View Source
var File_proto_server_service_proto protoreflect.FileDescriptor
View Source
var IdentityService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.IdentityService",
	HandlerType: (*IdentityServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "IsAuth",
			Handler:    _IdentityService_IsAuth_Handler,
		},
		{
			MethodName: "CurrentUser",
			Handler:    _IdentityService_CurrentUser_Handler,
		},
		{
			MethodName: "Login",
			Handler:    _IdentityService_Login_Handler,
		},
		{
			MethodName: "Logout",
			Handler:    _IdentityService_Logout_Handler,
		},
		{
			MethodName: "Refresh",
			Handler:    _IdentityService_Refresh_Handler,
		},
		{
			MethodName: "RegisterStart",
			Handler:    _IdentityService_RegisterStart_Handler,
		},
		{
			MethodName: "RegisterPending",
			Handler:    _IdentityService_RegisterPending_Handler,
		},
		{
			MethodName: "RegisterFinish",
			Handler:    _IdentityService_RegisterFinish_Handler,
		},
		{
			MethodName: "ResetPasswordStart",
			Handler:    _IdentityService_ResetPasswordStart_Handler,
		},
		{
			MethodName: "ResetPasswordPending",
			Handler:    _IdentityService_ResetPasswordPending_Handler,
		},
		{
			MethodName: "ResetPasswordFinish",
			Handler:    _IdentityService_ResetPasswordFinish_Handler,
		},
		{
			MethodName: "UpdatePassword",
			Handler:    _IdentityService_UpdatePassword_Handler,
		},
		{
			MethodName: "UpdateDisplayName",
			Handler:    _IdentityService_UpdateDisplayName_Handler,
		},
		{
			MethodName: "UpdateEmailStart",
			Handler:    _IdentityService_UpdateEmailStart_Handler,
		},
		{
			MethodName: "UpdateEmailFinish",
			Handler:    _IdentityService_UpdateEmailFinish_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/server/service.proto",
}

IdentityService_ServiceDesc is the grpc.ServiceDesc for IdentityService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterIdentityServiceHandler

func RegisterIdentityServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterIdentityServiceHandler registers the http handlers for service IdentityService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterIdentityServiceHandlerClient

func RegisterIdentityServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IdentityServiceClient) error

RegisterIdentityServiceHandlerClient registers the http handlers for service IdentityService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IdentityServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IdentityServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "IdentityServiceClient" to call the correct interceptors.

func RegisterIdentityServiceHandlerFromEndpoint

func RegisterIdentityServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterIdentityServiceHandlerFromEndpoint is same as RegisterIdentityServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterIdentityServiceHandlerServer

func RegisterIdentityServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IdentityServiceServer) error

RegisterIdentityServiceHandlerServer registers the http handlers for service IdentityService to "mux". UnaryRPC :call IdentityServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterIdentityServiceHandlerFromEndpoint instead.

func RegisterIdentityServiceServer

func RegisterIdentityServiceServer(s grpc.ServiceRegistrar, srv IdentityServiceServer)

Types

type CurrentUserReponse

type CurrentUserReponse struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Email       string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	CreatedAt   string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   string `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	ExpiredAt   string `protobuf:"bytes,6,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CurrentUserReponse) Descriptor deprecated

func (*CurrentUserReponse) Descriptor() ([]byte, []int)

Deprecated: Use CurrentUserReponse.ProtoReflect.Descriptor instead.

func (*CurrentUserReponse) GetCreatedAt

func (x *CurrentUserReponse) GetCreatedAt() string

func (*CurrentUserReponse) GetDisplayName

func (x *CurrentUserReponse) GetDisplayName() string

func (*CurrentUserReponse) GetEmail

func (x *CurrentUserReponse) GetEmail() string

func (*CurrentUserReponse) GetExpiredAt

func (x *CurrentUserReponse) GetExpiredAt() string

func (*CurrentUserReponse) GetId

func (x *CurrentUserReponse) GetId() string

func (*CurrentUserReponse) GetUpdatedAt

func (x *CurrentUserReponse) GetUpdatedAt() string

func (*CurrentUserReponse) ProtoMessage

func (*CurrentUserReponse) ProtoMessage()

func (*CurrentUserReponse) ProtoReflect

func (x *CurrentUserReponse) ProtoReflect() protoreflect.Message

func (*CurrentUserReponse) Reset

func (x *CurrentUserReponse) Reset()

func (*CurrentUserReponse) String

func (x *CurrentUserReponse) String() string

type CurrentUserRequest

type CurrentUserRequest struct {
	// contains filtered or unexported fields
}

Current user

func (*CurrentUserRequest) Descriptor deprecated

func (*CurrentUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use CurrentUserRequest.ProtoReflect.Descriptor instead.

func (*CurrentUserRequest) ProtoMessage

func (*CurrentUserRequest) ProtoMessage()

func (*CurrentUserRequest) ProtoReflect

func (x *CurrentUserRequest) ProtoReflect() protoreflect.Message

func (*CurrentUserRequest) Reset

func (x *CurrentUserRequest) Reset()

func (*CurrentUserRequest) String

func (x *CurrentUserRequest) String() string

type IdentityServiceClient

type IdentityServiceClient interface {
	IsAuth(ctx context.Context, in *IsAuthRequest, opts ...grpc.CallOption) (*IsAuthReponse, error)
	CurrentUser(ctx context.Context, in *CurrentUserRequest, opts ...grpc.CallOption) (*CurrentUserReponse, error)
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginReponse, error)
	Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutReponse, error)
	Refresh(ctx context.Context, in *RefreshRequest, opts ...grpc.CallOption) (*RefreshReponse, error)
	RegisterStart(ctx context.Context, in *RegisterStartRequest, opts ...grpc.CallOption) (*RegisterStartReponse, error)
	RegisterPending(ctx context.Context, in *RegisterPendingRequest, opts ...grpc.CallOption) (*RegisterPendingReponse, error)
	RegisterFinish(ctx context.Context, in *RegisterFinishRequest, opts ...grpc.CallOption) (*RegisterFinishReponse, error)
	ResetPasswordStart(ctx context.Context, in *ResetPasswordStartRequest, opts ...grpc.CallOption) (*ResetPasswordStartReponse, error)
	ResetPasswordPending(ctx context.Context, in *ResetPasswordPendingRequest, opts ...grpc.CallOption) (*ResetPasswordPendingReponse, error)
	ResetPasswordFinish(ctx context.Context, in *ResetPasswordFinishRequest, opts ...grpc.CallOption) (*ResetPasswordFinishReponse, error)
	UpdatePassword(ctx context.Context, in *UpdatePasswordRequest, opts ...grpc.CallOption) (*UpdatePasswordReponse, error)
	UpdateDisplayName(ctx context.Context, in *UpdateDisplayNameRequest, opts ...grpc.CallOption) (*UpdateDisplayNameReponse, error)
	UpdateEmailStart(ctx context.Context, in *UpdateEmailStartRequest, opts ...grpc.CallOption) (*UpdateEmailStartReponse, error)
	UpdateEmailFinish(ctx context.Context, in *UpdateEmailFinishRequest, opts ...grpc.CallOption) (*UpdateEmailFinishReponse, error)
}

IdentityServiceClient is the client API for IdentityService 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.

type IdentityServiceServer

IdentityServiceServer is the server API for IdentityService service. All implementations must embed UnimplementedIdentityServiceServer for forward compatibility

type IsAuthReponse

type IsAuthReponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*IsAuthReponse) Descriptor deprecated

func (*IsAuthReponse) Descriptor() ([]byte, []int)

Deprecated: Use IsAuthReponse.ProtoReflect.Descriptor instead.

func (*IsAuthReponse) GetId

func (x *IsAuthReponse) GetId() string

func (*IsAuthReponse) ProtoMessage

func (*IsAuthReponse) ProtoMessage()

func (*IsAuthReponse) ProtoReflect

func (x *IsAuthReponse) ProtoReflect() protoreflect.Message

func (*IsAuthReponse) Reset

func (x *IsAuthReponse) Reset()

func (*IsAuthReponse) String

func (x *IsAuthReponse) String() string

type IsAuthRequest

type IsAuthRequest struct {
	// contains filtered or unexported fields
}

Is authenticated

func (*IsAuthRequest) Descriptor deprecated

func (*IsAuthRequest) Descriptor() ([]byte, []int)

Deprecated: Use IsAuthRequest.ProtoReflect.Descriptor instead.

func (*IsAuthRequest) ProtoMessage

func (*IsAuthRequest) ProtoMessage()

func (*IsAuthRequest) ProtoReflect

func (x *IsAuthRequest) ProtoReflect() protoreflect.Message

func (*IsAuthRequest) Reset

func (x *IsAuthRequest) Reset()

func (*IsAuthRequest) String

func (x *IsAuthRequest) String() string

type LoginReponse

type LoginReponse struct {
	// contains filtered or unexported fields
}

func (*LoginReponse) Descriptor deprecated

func (*LoginReponse) Descriptor() ([]byte, []int)

Deprecated: Use LoginReponse.ProtoReflect.Descriptor instead.

func (*LoginReponse) ProtoMessage

func (*LoginReponse) ProtoMessage()

func (*LoginReponse) ProtoReflect

func (x *LoginReponse) ProtoReflect() protoreflect.Message

func (*LoginReponse) Reset

func (x *LoginReponse) Reset()

func (*LoginReponse) String

func (x *LoginReponse) String() string

type LoginRequest

type LoginRequest struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

Login

func (*LoginRequest) Descriptor deprecated

func (*LoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetEmail

func (x *LoginRequest) GetEmail() string

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

func (x *LoginRequest) ProtoReflect() protoreflect.Message

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

type LogoutReponse

type LogoutReponse struct {
	// contains filtered or unexported fields
}

func (*LogoutReponse) Descriptor deprecated

func (*LogoutReponse) Descriptor() ([]byte, []int)

Deprecated: Use LogoutReponse.ProtoReflect.Descriptor instead.

func (*LogoutReponse) ProtoMessage

func (*LogoutReponse) ProtoMessage()

func (*LogoutReponse) ProtoReflect

func (x *LogoutReponse) ProtoReflect() protoreflect.Message

func (*LogoutReponse) Reset

func (x *LogoutReponse) Reset()

func (*LogoutReponse) String

func (x *LogoutReponse) String() string

type LogoutRequest

type LogoutRequest struct {
	RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

Logout

func (*LogoutRequest) Descriptor deprecated

func (*LogoutRequest) Descriptor() ([]byte, []int)

Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.

func (*LogoutRequest) GetRefreshToken

func (x *LogoutRequest) GetRefreshToken() string

func (*LogoutRequest) ProtoMessage

func (*LogoutRequest) ProtoMessage()

func (*LogoutRequest) ProtoReflect

func (x *LogoutRequest) ProtoReflect() protoreflect.Message

func (*LogoutRequest) Reset

func (x *LogoutRequest) Reset()

func (*LogoutRequest) String

func (x *LogoutRequest) String() string

type RefreshReponse

type RefreshReponse struct {
	// contains filtered or unexported fields
}

func (*RefreshReponse) Descriptor deprecated

func (*RefreshReponse) Descriptor() ([]byte, []int)

Deprecated: Use RefreshReponse.ProtoReflect.Descriptor instead.

func (*RefreshReponse) ProtoMessage

func (*RefreshReponse) ProtoMessage()

func (*RefreshReponse) ProtoReflect

func (x *RefreshReponse) ProtoReflect() protoreflect.Message

func (*RefreshReponse) Reset

func (x *RefreshReponse) Reset()

func (*RefreshReponse) String

func (x *RefreshReponse) String() string

type RefreshRequest

type RefreshRequest struct {
	RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

Refresh

func (*RefreshRequest) Descriptor deprecated

func (*RefreshRequest) Descriptor() ([]byte, []int)

Deprecated: Use RefreshRequest.ProtoReflect.Descriptor instead.

func (*RefreshRequest) GetRefreshToken

func (x *RefreshRequest) GetRefreshToken() string

func (*RefreshRequest) ProtoMessage

func (*RefreshRequest) ProtoMessage()

func (*RefreshRequest) ProtoReflect

func (x *RefreshRequest) ProtoReflect() protoreflect.Message

func (*RefreshRequest) Reset

func (x *RefreshRequest) Reset()

func (*RefreshRequest) String

func (x *RefreshRequest) String() string

type RegisterFinishReponse

type RegisterFinishReponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterFinishReponse) Descriptor deprecated

func (*RegisterFinishReponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterFinishReponse.ProtoReflect.Descriptor instead.

func (*RegisterFinishReponse) GetId

func (x *RegisterFinishReponse) GetId() string

func (*RegisterFinishReponse) ProtoMessage

func (*RegisterFinishReponse) ProtoMessage()

func (*RegisterFinishReponse) ProtoReflect

func (x *RegisterFinishReponse) ProtoReflect() protoreflect.Message

func (*RegisterFinishReponse) Reset

func (x *RegisterFinishReponse) Reset()

func (*RegisterFinishReponse) String

func (x *RegisterFinishReponse) String() string

type RegisterFinishRequest

type RegisterFinishRequest struct {
	Key         string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Password    string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterFinishRequest) Descriptor deprecated

func (*RegisterFinishRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterFinishRequest.ProtoReflect.Descriptor instead.

func (*RegisterFinishRequest) GetDisplayName

func (x *RegisterFinishRequest) GetDisplayName() string

func (*RegisterFinishRequest) GetKey

func (x *RegisterFinishRequest) GetKey() string

func (*RegisterFinishRequest) GetPassword

func (x *RegisterFinishRequest) GetPassword() string

func (*RegisterFinishRequest) ProtoMessage

func (*RegisterFinishRequest) ProtoMessage()

func (*RegisterFinishRequest) ProtoReflect

func (x *RegisterFinishRequest) ProtoReflect() protoreflect.Message

func (*RegisterFinishRequest) Reset

func (x *RegisterFinishRequest) Reset()

func (*RegisterFinishRequest) String

func (x *RegisterFinishRequest) String() string

type RegisterPendingReponse

type RegisterPendingReponse struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterPendingReponse) Descriptor deprecated

func (*RegisterPendingReponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterPendingReponse.ProtoReflect.Descriptor instead.

func (*RegisterPendingReponse) GetEmail

func (x *RegisterPendingReponse) GetEmail() string

func (*RegisterPendingReponse) ProtoMessage

func (*RegisterPendingReponse) ProtoMessage()

func (*RegisterPendingReponse) ProtoReflect

func (x *RegisterPendingReponse) ProtoReflect() protoreflect.Message

func (*RegisterPendingReponse) Reset

func (x *RegisterPendingReponse) Reset()

func (*RegisterPendingReponse) String

func (x *RegisterPendingReponse) String() string

type RegisterPendingRequest

type RegisterPendingRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterPendingRequest) Descriptor deprecated

func (*RegisterPendingRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterPendingRequest.ProtoReflect.Descriptor instead.

func (*RegisterPendingRequest) GetKey

func (x *RegisterPendingRequest) GetKey() string

func (*RegisterPendingRequest) ProtoMessage

func (*RegisterPendingRequest) ProtoMessage()

func (*RegisterPendingRequest) ProtoReflect

func (x *RegisterPendingRequest) ProtoReflect() protoreflect.Message

func (*RegisterPendingRequest) Reset

func (x *RegisterPendingRequest) Reset()

func (*RegisterPendingRequest) String

func (x *RegisterPendingRequest) String() string

type RegisterStartReponse

type RegisterStartReponse struct {
	// contains filtered or unexported fields
}

func (*RegisterStartReponse) Descriptor deprecated

func (*RegisterStartReponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterStartReponse.ProtoReflect.Descriptor instead.

func (*RegisterStartReponse) ProtoMessage

func (*RegisterStartReponse) ProtoMessage()

func (*RegisterStartReponse) ProtoReflect

func (x *RegisterStartReponse) ProtoReflect() protoreflect.Message

func (*RegisterStartReponse) Reset

func (x *RegisterStartReponse) Reset()

func (*RegisterStartReponse) String

func (x *RegisterStartReponse) String() string

type RegisterStartRequest

type RegisterStartRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

Register

func (*RegisterStartRequest) Descriptor deprecated

func (*RegisterStartRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterStartRequest.ProtoReflect.Descriptor instead.

func (*RegisterStartRequest) GetEmail

func (x *RegisterStartRequest) GetEmail() string

func (*RegisterStartRequest) ProtoMessage

func (*RegisterStartRequest) ProtoMessage()

func (*RegisterStartRequest) ProtoReflect

func (x *RegisterStartRequest) ProtoReflect() protoreflect.Message

func (*RegisterStartRequest) Reset

func (x *RegisterStartRequest) Reset()

func (*RegisterStartRequest) String

func (x *RegisterStartRequest) String() string

type ResetPasswordFinishReponse

type ResetPasswordFinishReponse struct {
	// contains filtered or unexported fields
}

func (*ResetPasswordFinishReponse) Descriptor deprecated

func (*ResetPasswordFinishReponse) Descriptor() ([]byte, []int)

Deprecated: Use ResetPasswordFinishReponse.ProtoReflect.Descriptor instead.

func (*ResetPasswordFinishReponse) ProtoMessage

func (*ResetPasswordFinishReponse) ProtoMessage()

func (*ResetPasswordFinishReponse) ProtoReflect

func (*ResetPasswordFinishReponse) Reset

func (x *ResetPasswordFinishReponse) Reset()

func (*ResetPasswordFinishReponse) String

func (x *ResetPasswordFinishReponse) String() string

type ResetPasswordFinishRequest

type ResetPasswordFinishRequest struct {
	Key      string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetPasswordFinishRequest) Descriptor deprecated

func (*ResetPasswordFinishRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetPasswordFinishRequest.ProtoReflect.Descriptor instead.

func (*ResetPasswordFinishRequest) GetKey

func (x *ResetPasswordFinishRequest) GetKey() string

func (*ResetPasswordFinishRequest) GetPassword

func (x *ResetPasswordFinishRequest) GetPassword() string

func (*ResetPasswordFinishRequest) ProtoMessage

func (*ResetPasswordFinishRequest) ProtoMessage()

func (*ResetPasswordFinishRequest) ProtoReflect

func (*ResetPasswordFinishRequest) Reset

func (x *ResetPasswordFinishRequest) Reset()

func (*ResetPasswordFinishRequest) String

func (x *ResetPasswordFinishRequest) String() string

type ResetPasswordPendingReponse

type ResetPasswordPendingReponse struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetPasswordPendingReponse) Descriptor deprecated

func (*ResetPasswordPendingReponse) Descriptor() ([]byte, []int)

Deprecated: Use ResetPasswordPendingReponse.ProtoReflect.Descriptor instead.

func (*ResetPasswordPendingReponse) GetEmail

func (x *ResetPasswordPendingReponse) GetEmail() string

func (*ResetPasswordPendingReponse) ProtoMessage

func (*ResetPasswordPendingReponse) ProtoMessage()

func (*ResetPasswordPendingReponse) ProtoReflect

func (*ResetPasswordPendingReponse) Reset

func (x *ResetPasswordPendingReponse) Reset()

func (*ResetPasswordPendingReponse) String

func (x *ResetPasswordPendingReponse) String() string

type ResetPasswordPendingRequest

type ResetPasswordPendingRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetPasswordPendingRequest) Descriptor deprecated

func (*ResetPasswordPendingRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetPasswordPendingRequest.ProtoReflect.Descriptor instead.

func (*ResetPasswordPendingRequest) GetKey

func (x *ResetPasswordPendingRequest) GetKey() string

func (*ResetPasswordPendingRequest) ProtoMessage

func (*ResetPasswordPendingRequest) ProtoMessage()

func (*ResetPasswordPendingRequest) ProtoReflect

func (*ResetPasswordPendingRequest) Reset

func (x *ResetPasswordPendingRequest) Reset()

func (*ResetPasswordPendingRequest) String

func (x *ResetPasswordPendingRequest) String() string

type ResetPasswordStartReponse

type ResetPasswordStartReponse struct {
	// contains filtered or unexported fields
}

func (*ResetPasswordStartReponse) Descriptor deprecated

func (*ResetPasswordStartReponse) Descriptor() ([]byte, []int)

Deprecated: Use ResetPasswordStartReponse.ProtoReflect.Descriptor instead.

func (*ResetPasswordStartReponse) ProtoMessage

func (*ResetPasswordStartReponse) ProtoMessage()

func (*ResetPasswordStartReponse) ProtoReflect

func (*ResetPasswordStartReponse) Reset

func (x *ResetPasswordStartReponse) Reset()

func (*ResetPasswordStartReponse) String

func (x *ResetPasswordStartReponse) String() string

type ResetPasswordStartRequest

type ResetPasswordStartRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

Reset password

func (*ResetPasswordStartRequest) Descriptor deprecated

func (*ResetPasswordStartRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetPasswordStartRequest.ProtoReflect.Descriptor instead.

func (*ResetPasswordStartRequest) GetEmail

func (x *ResetPasswordStartRequest) GetEmail() string

func (*ResetPasswordStartRequest) ProtoMessage

func (*ResetPasswordStartRequest) ProtoMessage()

func (*ResetPasswordStartRequest) ProtoReflect

func (*ResetPasswordStartRequest) Reset

func (x *ResetPasswordStartRequest) Reset()

func (*ResetPasswordStartRequest) String

func (x *ResetPasswordStartRequest) String() string

type UnimplementedIdentityServiceServer

type UnimplementedIdentityServiceServer struct {
}

UnimplementedIdentityServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIdentityServiceServer) CurrentUser

func (UnimplementedIdentityServiceServer) IsAuth

func (UnimplementedIdentityServiceServer) Login

func (UnimplementedIdentityServiceServer) Logout

func (UnimplementedIdentityServiceServer) Refresh

func (UnimplementedIdentityServiceServer) RegisterFinish

func (UnimplementedIdentityServiceServer) RegisterPending

func (UnimplementedIdentityServiceServer) RegisterStart

func (UnimplementedIdentityServiceServer) ResetPasswordFinish

func (UnimplementedIdentityServiceServer) ResetPasswordPending

func (UnimplementedIdentityServiceServer) ResetPasswordStart

func (UnimplementedIdentityServiceServer) UpdateDisplayName

func (UnimplementedIdentityServiceServer) UpdateEmailFinish

func (UnimplementedIdentityServiceServer) UpdateEmailStart

func (UnimplementedIdentityServiceServer) UpdatePassword

type UnsafeIdentityServiceServer

type UnsafeIdentityServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeIdentityServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IdentityServiceServer will result in compilation errors.

type UpdateDisplayNameReponse

type UpdateDisplayNameReponse struct {
	// contains filtered or unexported fields
}

func (*UpdateDisplayNameReponse) Descriptor deprecated

func (*UpdateDisplayNameReponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateDisplayNameReponse.ProtoReflect.Descriptor instead.

func (*UpdateDisplayNameReponse) ProtoMessage

func (*UpdateDisplayNameReponse) ProtoMessage()

func (*UpdateDisplayNameReponse) ProtoReflect

func (x *UpdateDisplayNameReponse) ProtoReflect() protoreflect.Message

func (*UpdateDisplayNameReponse) Reset

func (x *UpdateDisplayNameReponse) Reset()

func (*UpdateDisplayNameReponse) String

func (x *UpdateDisplayNameReponse) String() string

type UpdateDisplayNameRequest

type UpdateDisplayNameRequest struct {
	New string `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"`
	// contains filtered or unexported fields
}

Update display name

func (*UpdateDisplayNameRequest) Descriptor deprecated

func (*UpdateDisplayNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateDisplayNameRequest.ProtoReflect.Descriptor instead.

func (*UpdateDisplayNameRequest) GetNew

func (x *UpdateDisplayNameRequest) GetNew() string

func (*UpdateDisplayNameRequest) ProtoMessage

func (*UpdateDisplayNameRequest) ProtoMessage()

func (*UpdateDisplayNameRequest) ProtoReflect

func (x *UpdateDisplayNameRequest) ProtoReflect() protoreflect.Message

func (*UpdateDisplayNameRequest) Reset

func (x *UpdateDisplayNameRequest) Reset()

func (*UpdateDisplayNameRequest) String

func (x *UpdateDisplayNameRequest) String() string

type UpdateEmailFinishReponse

type UpdateEmailFinishReponse struct {
	// contains filtered or unexported fields
}

func (*UpdateEmailFinishReponse) Descriptor deprecated

func (*UpdateEmailFinishReponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateEmailFinishReponse.ProtoReflect.Descriptor instead.

func (*UpdateEmailFinishReponse) ProtoMessage

func (*UpdateEmailFinishReponse) ProtoMessage()

func (*UpdateEmailFinishReponse) ProtoReflect

func (x *UpdateEmailFinishReponse) ProtoReflect() protoreflect.Message

func (*UpdateEmailFinishReponse) Reset

func (x *UpdateEmailFinishReponse) Reset()

func (*UpdateEmailFinishReponse) String

func (x *UpdateEmailFinishReponse) String() string

type UpdateEmailFinishRequest

type UpdateEmailFinishRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEmailFinishRequest) Descriptor deprecated

func (*UpdateEmailFinishRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateEmailFinishRequest.ProtoReflect.Descriptor instead.

func (*UpdateEmailFinishRequest) GetKey

func (x *UpdateEmailFinishRequest) GetKey() string

func (*UpdateEmailFinishRequest) ProtoMessage

func (*UpdateEmailFinishRequest) ProtoMessage()

func (*UpdateEmailFinishRequest) ProtoReflect

func (x *UpdateEmailFinishRequest) ProtoReflect() protoreflect.Message

func (*UpdateEmailFinishRequest) Reset

func (x *UpdateEmailFinishRequest) Reset()

func (*UpdateEmailFinishRequest) String

func (x *UpdateEmailFinishRequest) String() string

type UpdateEmailStartReponse

type UpdateEmailStartReponse struct {
	// contains filtered or unexported fields
}

func (*UpdateEmailStartReponse) Descriptor deprecated

func (*UpdateEmailStartReponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateEmailStartReponse.ProtoReflect.Descriptor instead.

func (*UpdateEmailStartReponse) ProtoMessage

func (*UpdateEmailStartReponse) ProtoMessage()

func (*UpdateEmailStartReponse) ProtoReflect

func (x *UpdateEmailStartReponse) ProtoReflect() protoreflect.Message

func (*UpdateEmailStartReponse) Reset

func (x *UpdateEmailStartReponse) Reset()

func (*UpdateEmailStartReponse) String

func (x *UpdateEmailStartReponse) String() string

type UpdateEmailStartRequest

type UpdateEmailStartRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

Update email

func (*UpdateEmailStartRequest) Descriptor deprecated

func (*UpdateEmailStartRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateEmailStartRequest.ProtoReflect.Descriptor instead.

func (*UpdateEmailStartRequest) GetEmail

func (x *UpdateEmailStartRequest) GetEmail() string

func (*UpdateEmailStartRequest) ProtoMessage

func (*UpdateEmailStartRequest) ProtoMessage()

func (*UpdateEmailStartRequest) ProtoReflect

func (x *UpdateEmailStartRequest) ProtoReflect() protoreflect.Message

func (*UpdateEmailStartRequest) Reset

func (x *UpdateEmailStartRequest) Reset()

func (*UpdateEmailStartRequest) String

func (x *UpdateEmailStartRequest) String() string

type UpdatePasswordReponse

type UpdatePasswordReponse struct {
	// contains filtered or unexported fields
}

func (*UpdatePasswordReponse) Descriptor deprecated

func (*UpdatePasswordReponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePasswordReponse.ProtoReflect.Descriptor instead.

func (*UpdatePasswordReponse) ProtoMessage

func (*UpdatePasswordReponse) ProtoMessage()

func (*UpdatePasswordReponse) ProtoReflect

func (x *UpdatePasswordReponse) ProtoReflect() protoreflect.Message

func (*UpdatePasswordReponse) Reset

func (x *UpdatePasswordReponse) Reset()

func (*UpdatePasswordReponse) String

func (x *UpdatePasswordReponse) String() string

type UpdatePasswordRequest

type UpdatePasswordRequest struct {
	Old string `protobuf:"bytes,1,opt,name=old,proto3" json:"old,omitempty"`
	New string `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"`
	// contains filtered or unexported fields
}

Update password

func (*UpdatePasswordRequest) Descriptor deprecated

func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.

func (*UpdatePasswordRequest) GetNew

func (x *UpdatePasswordRequest) GetNew() string

func (*UpdatePasswordRequest) GetOld

func (x *UpdatePasswordRequest) GetOld() 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL