pkg

package
v0.0.0-...-0bd68be Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Authentication_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "authentication.v1.Authentication",
	HandlerType: (*AuthenticationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SignIn",
			Handler:    _Authentication_SignIn_Handler,
		},
		{
			MethodName: "SignUp",
			Handler:    _Authentication_SignUp_Handler,
		},
		{
			MethodName: "GetSessions",
			Handler:    _Authentication_GetSessions_Handler,
		},
		{
			MethodName: "RevokeSession",
			Handler:    _Authentication_RevokeSession_Handler,
		},
		{
			MethodName: "ResetPassword",
			Handler:    _Authentication_ResetPassword_Handler,
		},
		{
			MethodName: "ChangePassword",
			Handler:    _Authentication_ChangePassword_Handler,
		},
		{
			MethodName: "Enable2FA",
			Handler:    _Authentication_Enable2FA_Handler,
		},
		{
			MethodName: "Disable2FA",
			Handler:    _Authentication_Disable2FA_Handler,
		},
		{
			MethodName: "VerifyAccount",
			Handler:    _Authentication_VerifyAccount_Handler,
		},
		{
			MethodName: "DeleteAccount",
			Handler:    _Authentication_DeleteAccount_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "RefreshToken",
			Handler:       _Authentication_RefreshToken_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "v1/authentication.proto",
}

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

View Source
var File_v1_authentication_proto protoreflect.FileDescriptor

Functions

func RegisterAuthenticationServer

func RegisterAuthenticationServer(s grpc.ServiceRegistrar, srv AuthenticationServer)

Types

type AuthenticationClient

AuthenticationClient is the client API for Authentication 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 AuthenticationServer

AuthenticationServer is the server API for Authentication service. All implementations must embed UnimplementedAuthenticationServer for forward compatibility

type Authentication_RefreshTokenClient

type Authentication_RefreshTokenClient interface {
	Recv() (*RefreshTokenResponse, error)
	grpc.ClientStream
}

type Authentication_RefreshTokenServer

type Authentication_RefreshTokenServer interface {
	Send(*RefreshTokenResponse) error
	grpc.ServerStream
}

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 ChangePasswordResponse

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

func (*ChangePasswordResponse) Descriptor deprecated

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

Deprecated: Use ChangePasswordResponse.ProtoReflect.Descriptor instead.

func (*ChangePasswordResponse) GetMessage

func (x *ChangePasswordResponse) GetMessage() string

func (*ChangePasswordResponse) ProtoMessage

func (*ChangePasswordResponse) ProtoMessage()

func (*ChangePasswordResponse) ProtoReflect

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

func (*ChangePasswordResponse) Reset

func (x *ChangePasswordResponse) Reset()

func (*ChangePasswordResponse) String

func (x *ChangePasswordResponse) String() string

type DeleteAccountRequest

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

func (*DeleteAccountRequest) Descriptor deprecated

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

Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountRequest) GetPassword

func (x *DeleteAccountRequest) GetPassword() string

func (*DeleteAccountRequest) ProtoMessage

func (*DeleteAccountRequest) ProtoMessage()

func (*DeleteAccountRequest) ProtoReflect

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

func (*DeleteAccountRequest) Reset

func (x *DeleteAccountRequest) Reset()

func (*DeleteAccountRequest) String

func (x *DeleteAccountRequest) String() string

type DeleteAccountResponse

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

func (*DeleteAccountResponse) Descriptor deprecated

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

Deprecated: Use DeleteAccountResponse.ProtoReflect.Descriptor instead.

func (*DeleteAccountResponse) GetMessage

func (x *DeleteAccountResponse) GetMessage() string

func (*DeleteAccountResponse) ProtoMessage

func (*DeleteAccountResponse) ProtoMessage()

func (*DeleteAccountResponse) ProtoReflect

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

func (*DeleteAccountResponse) Reset

func (x *DeleteAccountResponse) Reset()

func (*DeleteAccountResponse) String

func (x *DeleteAccountResponse) String() string

type Disable2FARequest

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

func (*Disable2FARequest) Descriptor deprecated

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

Deprecated: Use Disable2FARequest.ProtoReflect.Descriptor instead.

func (*Disable2FARequest) GetCode

func (x *Disable2FARequest) GetCode() string

func (*Disable2FARequest) GetPassword

func (x *Disable2FARequest) GetPassword() string

func (*Disable2FARequest) ProtoMessage

func (*Disable2FARequest) ProtoMessage()

func (*Disable2FARequest) ProtoReflect

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

func (*Disable2FARequest) Reset

func (x *Disable2FARequest) Reset()

func (*Disable2FARequest) String

func (x *Disable2FARequest) String() string

type Disable2FAResponse

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

func (*Disable2FAResponse) Descriptor deprecated

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

Deprecated: Use Disable2FAResponse.ProtoReflect.Descriptor instead.

func (*Disable2FAResponse) GetMessage

func (x *Disable2FAResponse) GetMessage() string

func (*Disable2FAResponse) ProtoMessage

func (*Disable2FAResponse) ProtoMessage()

func (*Disable2FAResponse) ProtoReflect

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

func (*Disable2FAResponse) Reset

func (x *Disable2FAResponse) Reset()

func (*Disable2FAResponse) String

func (x *Disable2FAResponse) String() string

type Enable2FARequest

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

func (*Enable2FARequest) Descriptor deprecated

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

Deprecated: Use Enable2FARequest.ProtoReflect.Descriptor instead.

func (*Enable2FARequest) GetPassword

func (x *Enable2FARequest) GetPassword() string

func (*Enable2FARequest) ProtoMessage

func (*Enable2FARequest) ProtoMessage()

func (*Enable2FARequest) ProtoReflect

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

func (*Enable2FARequest) Reset

func (x *Enable2FARequest) Reset()

func (*Enable2FARequest) String

func (x *Enable2FARequest) String() string

type Enable2FAResponse

type Enable2FAResponse struct {
	Secret string `protobuf:"bytes,1,opt,name=Secret,proto3" json:"Secret,omitempty"`
	QRCode string `protobuf:"bytes,2,opt,name=QRCode,proto3" json:"QRCode,omitempty"`
	// contains filtered or unexported fields
}

func (*Enable2FAResponse) Descriptor deprecated

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

Deprecated: Use Enable2FAResponse.ProtoReflect.Descriptor instead.

func (*Enable2FAResponse) GetQRCode

func (x *Enable2FAResponse) GetQRCode() string

func (*Enable2FAResponse) GetSecret

func (x *Enable2FAResponse) GetSecret() string

func (*Enable2FAResponse) ProtoMessage

func (*Enable2FAResponse) ProtoMessage()

func (*Enable2FAResponse) ProtoReflect

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

func (*Enable2FAResponse) Reset

func (x *Enable2FAResponse) Reset()

func (*Enable2FAResponse) String

func (x *Enable2FAResponse) String() string

type GetSessionsRequest

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

func (*GetSessionsRequest) Descriptor deprecated

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

Deprecated: Use GetSessionsRequest.ProtoReflect.Descriptor instead.

func (*GetSessionsRequest) GetAccessToken

func (x *GetSessionsRequest) GetAccessToken() string

func (*GetSessionsRequest) ProtoMessage

func (*GetSessionsRequest) ProtoMessage()

func (*GetSessionsRequest) ProtoReflect

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

func (*GetSessionsRequest) Reset

func (x *GetSessionsRequest) Reset()

func (*GetSessionsRequest) String

func (x *GetSessionsRequest) String() string

type GetSessionsResponse

type GetSessionsResponse struct {
	Sessions []string `protobuf:"bytes,1,rep,name=Sessions,proto3" json:"Sessions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSessionsResponse) Descriptor deprecated

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

Deprecated: Use GetSessionsResponse.ProtoReflect.Descriptor instead.

func (*GetSessionsResponse) GetSessions

func (x *GetSessionsResponse) GetSessions() []string

func (*GetSessionsResponse) ProtoMessage

func (*GetSessionsResponse) ProtoMessage()

func (*GetSessionsResponse) ProtoReflect

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

func (*GetSessionsResponse) Reset

func (x *GetSessionsResponse) Reset()

func (*GetSessionsResponse) String

func (x *GetSessionsResponse) String() string

type RefreshTokenRequest

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

func (*RefreshTokenRequest) Descriptor deprecated

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

Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.

func (*RefreshTokenRequest) GetAccessToken

func (x *RefreshTokenRequest) GetAccessToken() string

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 {
	AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	Expiration  string `protobuf:"bytes,2,opt,name=Expiration,proto3" json:"Expiration,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshTokenResponse) Descriptor deprecated

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

Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.

func (*RefreshTokenResponse) GetAccessToken

func (x *RefreshTokenResponse) GetAccessToken() string

func (*RefreshTokenResponse) GetExpiration

func (x *RefreshTokenResponse) GetExpiration() string

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 ResetPasswordRequest

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

func (*ResetPasswordRequest) Descriptor deprecated

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

Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.

func (*ResetPasswordRequest) GetCode

func (x *ResetPasswordRequest) GetCode() string

func (*ResetPasswordRequest) GetPassword

func (x *ResetPasswordRequest) GetPassword() 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 {
	Message string `protobuf:"bytes,1,opt,name=Message,proto3" json:"Message,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetPasswordResponse) Descriptor deprecated

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

Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.

func (*ResetPasswordResponse) GetMessage

func (x *ResetPasswordResponse) GetMessage() string

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 RevokeSessionRequest

type RevokeSessionRequest struct {
	AccessToken string `protobuf:"bytes,1,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	SessionID   string `protobuf:"bytes,2,opt,name=SessionID,proto3" json:"SessionID,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeSessionRequest) Descriptor deprecated

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

Deprecated: Use RevokeSessionRequest.ProtoReflect.Descriptor instead.

func (*RevokeSessionRequest) GetAccessToken

func (x *RevokeSessionRequest) GetAccessToken() string

func (*RevokeSessionRequest) GetSessionID

func (x *RevokeSessionRequest) GetSessionID() string

func (*RevokeSessionRequest) ProtoMessage

func (*RevokeSessionRequest) ProtoMessage()

func (*RevokeSessionRequest) ProtoReflect

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

func (*RevokeSessionRequest) Reset

func (x *RevokeSessionRequest) Reset()

func (*RevokeSessionRequest) String

func (x *RevokeSessionRequest) String() string

type RevokeSessionResponse

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

func (*RevokeSessionResponse) Descriptor deprecated

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

Deprecated: Use RevokeSessionResponse.ProtoReflect.Descriptor instead.

func (*RevokeSessionResponse) GetMessage

func (x *RevokeSessionResponse) GetMessage() string

func (*RevokeSessionResponse) ProtoMessage

func (*RevokeSessionResponse) ProtoMessage()

func (*RevokeSessionResponse) ProtoReflect

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

func (*RevokeSessionResponse) Reset

func (x *RevokeSessionResponse) Reset()

func (*RevokeSessionResponse) String

func (x *RevokeSessionResponse) String() string

type SignInRequest

type SignInRequest 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
}

func (*SignInRequest) Descriptor deprecated

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

Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.

func (*SignInRequest) GetEmail

func (x *SignInRequest) GetEmail() string

func (*SignInRequest) GetPassword

func (x *SignInRequest) GetPassword() 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=AccessToken,proto3" json:"AccessToken,omitempty"`
	Expiration  string `protobuf:"bytes,2,opt,name=Expiration,proto3" json:"Expiration,omitempty"`
	// 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) GetExpiration

func (x *SignInResponse) GetExpiration() string

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 SignUpRequest

type SignUpRequest 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
}

func (*SignUpRequest) Descriptor deprecated

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

Deprecated: Use SignUpRequest.ProtoReflect.Descriptor instead.

func (*SignUpRequest) GetEmail

func (x *SignUpRequest) GetEmail() string

func (*SignUpRequest) GetPassword

func (x *SignUpRequest) GetPassword() string

func (*SignUpRequest) ProtoMessage

func (*SignUpRequest) ProtoMessage()

func (*SignUpRequest) ProtoReflect

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

func (*SignUpRequest) Reset

func (x *SignUpRequest) Reset()

func (*SignUpRequest) String

func (x *SignUpRequest) String() string

type SignUpResponse

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

func (*SignUpResponse) Descriptor deprecated

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

Deprecated: Use SignUpResponse.ProtoReflect.Descriptor instead.

func (*SignUpResponse) GetMessage

func (x *SignUpResponse) GetMessage() string

func (*SignUpResponse) ProtoMessage

func (*SignUpResponse) ProtoMessage()

func (*SignUpResponse) ProtoReflect

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

func (*SignUpResponse) Reset

func (x *SignUpResponse) Reset()

func (*SignUpResponse) String

func (x *SignUpResponse) String() string

type UnimplementedAuthenticationServer

type UnimplementedAuthenticationServer struct {
}

UnimplementedAuthenticationServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthenticationServer) ChangePassword

func (UnimplementedAuthenticationServer) DeleteAccount

func (UnimplementedAuthenticationServer) Disable2FA

func (UnimplementedAuthenticationServer) Enable2FA

func (UnimplementedAuthenticationServer) GetSessions

func (UnimplementedAuthenticationServer) RefreshToken

func (UnimplementedAuthenticationServer) ResetPassword

func (UnimplementedAuthenticationServer) RevokeSession

func (UnimplementedAuthenticationServer) SignIn

func (UnimplementedAuthenticationServer) SignUp

func (UnimplementedAuthenticationServer) VerifyAccount

type UnsafeAuthenticationServer

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

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

type VerifyAccountRequest

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

func (*VerifyAccountRequest) Descriptor deprecated

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

Deprecated: Use VerifyAccountRequest.ProtoReflect.Descriptor instead.

func (*VerifyAccountRequest) GetCode

func (x *VerifyAccountRequest) GetCode() string

func (*VerifyAccountRequest) ProtoMessage

func (*VerifyAccountRequest) ProtoMessage()

func (*VerifyAccountRequest) ProtoReflect

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

func (*VerifyAccountRequest) Reset

func (x *VerifyAccountRequest) Reset()

func (*VerifyAccountRequest) String

func (x *VerifyAccountRequest) String() string

type VerifyAccountResponse

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

func (*VerifyAccountResponse) Descriptor deprecated

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

Deprecated: Use VerifyAccountResponse.ProtoReflect.Descriptor instead.

func (*VerifyAccountResponse) GetMessage

func (x *VerifyAccountResponse) GetMessage() string

func (*VerifyAccountResponse) ProtoMessage

func (*VerifyAccountResponse) ProtoMessage()

func (*VerifyAccountResponse) ProtoReflect

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

func (*VerifyAccountResponse) Reset

func (x *VerifyAccountResponse) Reset()

func (*VerifyAccountResponse) String

func (x *VerifyAccountResponse) String() string

Jump to

Keyboard shortcuts

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