Documentation ¶
Index ¶
- Variables
- func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
- type AuthClient
- type AuthServer
- type ChangePasswordRequest
- func (*ChangePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordRequest) GetAccessToken() string
- func (x *ChangePasswordRequest) GetNewPassword() string
- func (x *ChangePasswordRequest) GetOldPassword() string
- func (*ChangePasswordRequest) ProtoMessage()
- func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordRequest) Reset()
- func (x *ChangePasswordRequest) String() string
- type ChangeProfileRequest
- func (*ChangeProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeProfileRequest) GetAccessToken() string
- func (x *ChangeProfileRequest) GetEmail() string
- func (x *ChangeProfileRequest) GetGroup() string
- func (x *ChangeProfileRequest) GetName() string
- func (x *ChangeProfileRequest) GetPassword() string
- func (x *ChangeProfileRequest) GetPhoneNumber() string
- func (x *ChangeProfileRequest) GetTelegram() string
- func (x *ChangeProfileRequest) GetVk() string
- func (*ChangeProfileRequest) ProtoMessage()
- func (x *ChangeProfileRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeProfileRequest) Reset()
- func (x *ChangeProfileRequest) String() string
- type CheckRequest
- type CheckResponse
- func (*CheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckResponse) GetUserID() string
- func (x *CheckResponse) GetValid() bool
- func (*CheckResponse) ProtoMessage()
- func (x *CheckResponse) ProtoReflect() protoreflect.Message
- func (x *CheckResponse) Reset()
- func (x *CheckResponse) String() string
- type EmptyResponse
- type GetProfileRequest
- func (*GetProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProfileRequest) GetAccessToken() string
- func (*GetProfileRequest) ProtoMessage()
- func (x *GetProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetProfileRequest) Reset()
- func (x *GetProfileRequest) String() string
- type GetProfileResponse
- func (*GetProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProfileResponse) GetEmail() string
- func (x *GetProfileResponse) GetGroup() string
- func (x *GetProfileResponse) GetId() string
- func (x *GetProfileResponse) GetIsAdmin() bool
- func (x *GetProfileResponse) GetName() string
- func (x *GetProfileResponse) GetPhoneNumber() string
- func (x *GetProfileResponse) GetTeamID() string
- func (x *GetProfileResponse) GetTelegram() string
- func (x *GetProfileResponse) GetVk() string
- func (*GetProfileResponse) ProtoMessage()
- func (x *GetProfileResponse) ProtoReflect() protoreflect.Message
- func (x *GetProfileResponse) Reset()
- func (x *GetProfileResponse) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetClientBrowser() string
- func (x *LoginRequest) GetClientOS() string
- func (x *LoginRequest) GetEmail() string
- func (x *LoginRequest) GetPassword() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetAccessToken() string
- func (x *LoginResponse) GetExpires() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type LogoutRequest
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetClientBrowser() string
- func (x *RegisterRequest) GetClientOS() string
- func (x *RegisterRequest) GetEmail() string
- func (x *RegisterRequest) GetGroup() string
- func (x *RegisterRequest) GetName() string
- func (x *RegisterRequest) GetPassword() string
- func (x *RegisterRequest) GetPhoneNumber() string
- func (x *RegisterRequest) GetTelegram() string
- func (x *RegisterRequest) GetVk() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- type RegisterResponse
- func (*RegisterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterResponse) GetAccessToken() string
- func (x *RegisterResponse) GetExpires() string
- func (*RegisterResponse) ProtoMessage()
- func (x *RegisterResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterResponse) Reset()
- func (x *RegisterResponse) String() string
- type UnimplementedAuthServer
- func (UnimplementedAuthServer) ChangePassword(context.Context, *ChangePasswordRequest) (*EmptyResponse, error)
- func (UnimplementedAuthServer) ChangeProfile(context.Context, *ChangeProfileRequest) (*EmptyResponse, error)
- func (UnimplementedAuthServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
- func (UnimplementedAuthServer) GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error)
- func (UnimplementedAuthServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedAuthServer) Logout(context.Context, *LogoutRequest) (*EmptyResponse, error)
- func (UnimplementedAuthServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
- type UnsafeAuthServer
Constants ¶
This section is empty.
Variables ¶
var Auth_ServiceDesc = grpc.ServiceDesc{ ServiceName: "auth.Auth", HandlerType: (*AuthServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _Auth_Register_Handler, }, { MethodName: "Login", Handler: _Auth_Login_Handler, }, { MethodName: "Logout", Handler: _Auth_Logout_Handler, }, { MethodName: "Check", Handler: _Auth_Check_Handler, }, { MethodName: "GetProfile", Handler: _Auth_GetProfile_Handler, }, { MethodName: "ChangeProfile", Handler: _Auth_ChangeProfile_Handler, }, { MethodName: "ChangePassword", Handler: _Auth_ChangePassword_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "auth.proto", }
Auth_ServiceDesc is the grpc.ServiceDesc for Auth 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_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuthServer ¶
func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
Types ¶
type AuthClient ¶
type AuthClient interface { Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*EmptyResponse, error) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*GetProfileResponse, error) ChangeProfile(ctx context.Context, in *ChangeProfileRequest, opts ...grpc.CallOption) (*EmptyResponse, error) ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*EmptyResponse, error) }
AuthClient is the client API for Auth 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 NewAuthClient ¶
func NewAuthClient(cc grpc.ClientConnInterface) AuthClient
type AuthServer ¶
type AuthServer interface { Register(context.Context, *RegisterRequest) (*RegisterResponse, error) Login(context.Context, *LoginRequest) (*LoginResponse, error) Logout(context.Context, *LogoutRequest) (*EmptyResponse, error) Check(context.Context, *CheckRequest) (*CheckResponse, error) GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error) ChangeProfile(context.Context, *ChangeProfileRequest) (*EmptyResponse, error) ChangePassword(context.Context, *ChangePasswordRequest) (*EmptyResponse, error) // contains filtered or unexported methods }
AuthServer is the server API for Auth service. All implementations must embed UnimplementedAuthServer for forward compatibility
type ChangePasswordRequest ¶
type ChangePasswordRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` OldPassword string `protobuf:"bytes,2,opt,name=oldPassword,proto3" json:"oldPassword,omitempty"` NewPassword string `protobuf:"bytes,3,opt,name=newPassword,proto3" json:"newPassword,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordRequest) Descriptor
deprecated
func (*ChangePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.
func (*ChangePasswordRequest) GetAccessToken ¶
func (x *ChangePasswordRequest) GetAccessToken() string
func (*ChangePasswordRequest) GetNewPassword ¶
func (x *ChangePasswordRequest) GetNewPassword() string
func (*ChangePasswordRequest) GetOldPassword ¶
func (x *ChangePasswordRequest) GetOldPassword() string
func (*ChangePasswordRequest) ProtoMessage ¶
func (*ChangePasswordRequest) ProtoMessage()
func (*ChangePasswordRequest) ProtoReflect ¶
func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
func (*ChangePasswordRequest) Reset ¶
func (x *ChangePasswordRequest) Reset()
func (*ChangePasswordRequest) String ¶
func (x *ChangePasswordRequest) String() string
type ChangeProfileRequest ¶
type ChangeProfileRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Group string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` Telegram string `protobuf:"bytes,6,opt,name=telegram,proto3" json:"telegram,omitempty"` Vk string `protobuf:"bytes,7,opt,name=vk,proto3" json:"vk,omitempty"` PhoneNumber string `protobuf:"bytes,8,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"` // contains filtered or unexported fields }
func (*ChangeProfileRequest) Descriptor
deprecated
func (*ChangeProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeProfileRequest.ProtoReflect.Descriptor instead.
func (*ChangeProfileRequest) GetAccessToken ¶
func (x *ChangeProfileRequest) GetAccessToken() string
func (*ChangeProfileRequest) GetEmail ¶
func (x *ChangeProfileRequest) GetEmail() string
func (*ChangeProfileRequest) GetGroup ¶
func (x *ChangeProfileRequest) GetGroup() string
func (*ChangeProfileRequest) GetName ¶
func (x *ChangeProfileRequest) GetName() string
func (*ChangeProfileRequest) GetPassword ¶
func (x *ChangeProfileRequest) GetPassword() string
func (*ChangeProfileRequest) GetPhoneNumber ¶
func (x *ChangeProfileRequest) GetPhoneNumber() string
func (*ChangeProfileRequest) GetTelegram ¶
func (x *ChangeProfileRequest) GetTelegram() string
func (*ChangeProfileRequest) GetVk ¶
func (x *ChangeProfileRequest) GetVk() string
func (*ChangeProfileRequest) ProtoMessage ¶
func (*ChangeProfileRequest) ProtoMessage()
func (*ChangeProfileRequest) ProtoReflect ¶
func (x *ChangeProfileRequest) ProtoReflect() protoreflect.Message
func (*ChangeProfileRequest) Reset ¶
func (x *ChangeProfileRequest) Reset()
func (*ChangeProfileRequest) String ¶
func (x *ChangeProfileRequest) String() string
type CheckRequest ¶
type CheckRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` // contains filtered or unexported fields }
func (*CheckRequest) Descriptor
deprecated
func (*CheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.
func (*CheckRequest) GetAccessToken ¶
func (x *CheckRequest) GetAccessToken() string
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) ProtoReflect ¶
func (x *CheckRequest) ProtoReflect() protoreflect.Message
func (*CheckRequest) Reset ¶
func (x *CheckRequest) Reset()
func (*CheckRequest) String ¶
func (x *CheckRequest) String() string
type CheckResponse ¶
type CheckResponse struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"` // contains filtered or unexported fields }
func (*CheckResponse) Descriptor
deprecated
func (*CheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.
func (*CheckResponse) GetUserID ¶
func (x *CheckResponse) GetUserID() string
func (*CheckResponse) GetValid ¶
func (x *CheckResponse) GetValid() bool
func (*CheckResponse) ProtoMessage ¶
func (*CheckResponse) ProtoMessage()
func (*CheckResponse) ProtoReflect ¶
func (x *CheckResponse) ProtoReflect() protoreflect.Message
func (*CheckResponse) Reset ¶
func (x *CheckResponse) Reset()
func (*CheckResponse) String ¶
func (x *CheckResponse) String() string
type EmptyResponse ¶
type EmptyResponse struct {
// contains filtered or unexported fields
}
func (*EmptyResponse) Descriptor
deprecated
func (*EmptyResponse) Descriptor() ([]byte, []int)
Deprecated: Use EmptyResponse.ProtoReflect.Descriptor instead.
func (*EmptyResponse) ProtoMessage ¶
func (*EmptyResponse) ProtoMessage()
func (*EmptyResponse) ProtoReflect ¶
func (x *EmptyResponse) ProtoReflect() protoreflect.Message
func (*EmptyResponse) Reset ¶
func (x *EmptyResponse) Reset()
func (*EmptyResponse) String ¶
func (x *EmptyResponse) String() string
type GetProfileRequest ¶
type GetProfileRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` // contains filtered or unexported fields }
func (*GetProfileRequest) Descriptor
deprecated
func (*GetProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileRequest.ProtoReflect.Descriptor instead.
func (*GetProfileRequest) GetAccessToken ¶
func (x *GetProfileRequest) GetAccessToken() string
func (*GetProfileRequest) ProtoMessage ¶
func (*GetProfileRequest) ProtoMessage()
func (*GetProfileRequest) ProtoReflect ¶
func (x *GetProfileRequest) ProtoReflect() protoreflect.Message
func (*GetProfileRequest) Reset ¶
func (x *GetProfileRequest) Reset()
func (*GetProfileRequest) String ¶
func (x *GetProfileRequest) String() string
type GetProfileResponse ¶
type GetProfileResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Telegram string `protobuf:"bytes,4,opt,name=telegram,proto3" json:"telegram,omitempty"` Vk string `protobuf:"bytes,5,opt,name=vk,proto3" json:"vk,omitempty"` PhoneNumber string `protobuf:"bytes,6,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"` TeamID string `protobuf:"bytes,7,opt,name=teamID,proto3" json:"teamID,omitempty"` Id string `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"` IsAdmin bool `protobuf:"varint,9,opt,name=isAdmin,proto3" json:"isAdmin,omitempty"` // contains filtered or unexported fields }
func (*GetProfileResponse) Descriptor
deprecated
func (*GetProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProfileResponse.ProtoReflect.Descriptor instead.
func (*GetProfileResponse) GetEmail ¶
func (x *GetProfileResponse) GetEmail() string
func (*GetProfileResponse) GetGroup ¶
func (x *GetProfileResponse) GetGroup() string
func (*GetProfileResponse) GetId ¶
func (x *GetProfileResponse) GetId() string
func (*GetProfileResponse) GetIsAdmin ¶
func (x *GetProfileResponse) GetIsAdmin() bool
func (*GetProfileResponse) GetName ¶
func (x *GetProfileResponse) GetName() string
func (*GetProfileResponse) GetPhoneNumber ¶
func (x *GetProfileResponse) GetPhoneNumber() string
func (*GetProfileResponse) GetTeamID ¶
func (x *GetProfileResponse) GetTeamID() string
func (*GetProfileResponse) GetTelegram ¶
func (x *GetProfileResponse) GetTelegram() string
func (*GetProfileResponse) GetVk ¶
func (x *GetProfileResponse) GetVk() string
func (*GetProfileResponse) ProtoMessage ¶
func (*GetProfileResponse) ProtoMessage()
func (*GetProfileResponse) ProtoReflect ¶
func (x *GetProfileResponse) ProtoReflect() protoreflect.Message
func (*GetProfileResponse) Reset ¶
func (x *GetProfileResponse) Reset()
func (*GetProfileResponse) String ¶
func (x *GetProfileResponse) 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"` ClientBrowser string `protobuf:"bytes,3,opt,name=clientBrowser,proto3" json:"clientBrowser,omitempty"` ClientOS string `protobuf:"bytes,4,opt,name=clientOS,proto3" json:"clientOS,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetClientBrowser ¶
func (x *LoginRequest) GetClientBrowser() string
func (*LoginRequest) GetClientOS ¶
func (x *LoginRequest) GetClientOS() string
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 LoginResponse ¶
type LoginResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` Expires string `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetAccessToken ¶
func (x *LoginResponse) GetAccessToken() string
func (*LoginResponse) GetExpires ¶
func (x *LoginResponse) GetExpires() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type LogoutRequest ¶
type LogoutRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` // contains filtered or unexported fields }
func (*LogoutRequest) Descriptor
deprecated
func (*LogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.
func (*LogoutRequest) GetAccessToken ¶
func (x *LogoutRequest) GetAccessToken() 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 RegisterRequest ¶
type RegisterRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` Telegram string `protobuf:"bytes,5,opt,name=telegram,proto3" json:"telegram,omitempty"` Vk string `protobuf:"bytes,6,opt,name=vk,proto3" json:"vk,omitempty"` PhoneNumber string `protobuf:"bytes,7,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"` ClientBrowser string `protobuf:"bytes,8,opt,name=clientBrowser,proto3" json:"clientBrowser,omitempty"` ClientOS string `protobuf:"bytes,9,opt,name=clientOS,proto3" json:"clientOS,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetClientBrowser ¶
func (x *RegisterRequest) GetClientBrowser() string
func (*RegisterRequest) GetClientOS ¶
func (x *RegisterRequest) GetClientOS() string
func (*RegisterRequest) GetEmail ¶
func (x *RegisterRequest) GetEmail() string
func (*RegisterRequest) GetGroup ¶
func (x *RegisterRequest) GetGroup() string
func (*RegisterRequest) GetName ¶
func (x *RegisterRequest) GetName() string
func (*RegisterRequest) GetPassword ¶
func (x *RegisterRequest) GetPassword() string
func (*RegisterRequest) GetPhoneNumber ¶
func (x *RegisterRequest) GetPhoneNumber() string
func (*RegisterRequest) GetTelegram ¶
func (x *RegisterRequest) GetTelegram() string
func (*RegisterRequest) GetVk ¶
func (x *RegisterRequest) GetVk() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
type RegisterResponse ¶
type RegisterResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` Expires string `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"` // contains filtered or unexported fields }
func (*RegisterResponse) Descriptor
deprecated
func (*RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) GetAccessToken ¶
func (x *RegisterResponse) GetAccessToken() string
func (*RegisterResponse) GetExpires ¶
func (x *RegisterResponse) GetExpires() string
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) ProtoReflect ¶
func (x *RegisterResponse) ProtoReflect() protoreflect.Message
func (*RegisterResponse) Reset ¶
func (x *RegisterResponse) Reset()
func (*RegisterResponse) String ¶
func (x *RegisterResponse) String() string
type UnimplementedAuthServer ¶
type UnimplementedAuthServer struct { }
UnimplementedAuthServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthServer) ChangePassword ¶
func (UnimplementedAuthServer) ChangePassword(context.Context, *ChangePasswordRequest) (*EmptyResponse, error)
func (UnimplementedAuthServer) ChangeProfile ¶
func (UnimplementedAuthServer) ChangeProfile(context.Context, *ChangeProfileRequest) (*EmptyResponse, error)
func (UnimplementedAuthServer) Check ¶
func (UnimplementedAuthServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
func (UnimplementedAuthServer) GetProfile ¶
func (UnimplementedAuthServer) GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error)
func (UnimplementedAuthServer) Login ¶
func (UnimplementedAuthServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedAuthServer) Logout ¶
func (UnimplementedAuthServer) Logout(context.Context, *LogoutRequest) (*EmptyResponse, error)
func (UnimplementedAuthServer) Register ¶
func (UnimplementedAuthServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
type UnsafeAuthServer ¶
type UnsafeAuthServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServer will result in compilation errors.