Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAuthenticatorHTTPServer(s *http.Server, srv AuthenticatorHTTPServer)
- func RegisterAuthenticatorServer(s grpc.ServiceRegistrar, srv AuthenticatorServer)
- type AuthenticatorClient
- type AuthenticatorHTTPClient
- type AuthenticatorHTTPClientImpl
- func (c *AuthenticatorHTTPClientImpl) ServiceRefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...http.CallOption) (*RefreshTokenReply, error)
- func (c *AuthenticatorHTTPClientImpl) ServiceSignIn(ctx context.Context, in *ServiceSignInRequest, opts ...http.CallOption) (*ServiceSignInReply, error)
- func (c *AuthenticatorHTTPClientImpl) UserRefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...http.CallOption) (*RefreshTokenReply, error)
- func (c *AuthenticatorHTTPClientImpl) UserSignIn(ctx context.Context, in *UserSignInRequest, opts ...http.CallOption) (*UserSignInReply, error)
- type AuthenticatorHTTPServer
- type AuthenticatorServer
- type ESignInKind
- func (ESignInKind) Descriptor() protoreflect.EnumDescriptor
- func (x ESignInKind) Enum() *ESignInKind
- func (ESignInKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x ESignInKind) Number() protoreflect.EnumNumber
- func (x ESignInKind) String() string
- func (ESignInKind) Type() protoreflect.EnumType
- type RefreshTokenData
- func (*RefreshTokenData) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenData) GetAccessToken() string
- func (*RefreshTokenData) ProtoMessage()
- func (x *RefreshTokenData) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenData) Reset()
- func (x *RefreshTokenData) String() string
- func (m *RefreshTokenData) Validate() error
- func (m *RefreshTokenData) ValidateAll() error
- type RefreshTokenDataMultiError
- type RefreshTokenDataValidationError
- func (e RefreshTokenDataValidationError) Cause() error
- func (e RefreshTokenDataValidationError) Error() string
- func (e RefreshTokenDataValidationError) ErrorName() string
- func (e RefreshTokenDataValidationError) Field() string
- func (e RefreshTokenDataValidationError) Key() bool
- func (e RefreshTokenDataValidationError) Reason() string
- type RefreshTokenReply
- func (*RefreshTokenReply) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenReply) GetData() *RefreshTokenData
- func (x *RefreshTokenReply) GetError() *protobuf.Error
- func (m *RefreshTokenReply) GetInner() isRefreshTokenReply_Inner
- func (*RefreshTokenReply) ProtoMessage()
- func (x *RefreshTokenReply) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenReply) Reset()
- func (x *RefreshTokenReply) String() string
- func (m *RefreshTokenReply) Validate() error
- func (m *RefreshTokenReply) ValidateAll() error
- type RefreshTokenReplyMultiError
- type RefreshTokenReplyValidationError
- func (e RefreshTokenReplyValidationError) Cause() error
- func (e RefreshTokenReplyValidationError) Error() string
- func (e RefreshTokenReplyValidationError) ErrorName() string
- func (e RefreshTokenReplyValidationError) Field() string
- func (e RefreshTokenReplyValidationError) Key() bool
- func (e RefreshTokenReplyValidationError) Reason() string
- type RefreshTokenReply_Data
- type RefreshTokenReply_Error
- type RefreshTokenRequest
- func (*RefreshTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenRequest) GetRefreshToken() string
- func (x *RefreshTokenRequest) GetTokenId() string
- func (*RefreshTokenRequest) ProtoMessage()
- func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenRequest) Reset()
- func (x *RefreshTokenRequest) String() string
- func (m *RefreshTokenRequest) Validate() error
- func (m *RefreshTokenRequest) ValidateAll() error
- type RefreshTokenRequestMultiError
- type RefreshTokenRequestValidationError
- func (e RefreshTokenRequestValidationError) Cause() error
- func (e RefreshTokenRequestValidationError) Error() string
- func (e RefreshTokenRequestValidationError) ErrorName() string
- func (e RefreshTokenRequestValidationError) Field() string
- func (e RefreshTokenRequestValidationError) Key() bool
- func (e RefreshTokenRequestValidationError) Reason() string
- type ServiceSignInData
- func (*ServiceSignInData) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceSignInData) GetAccessToken() string
- func (x *ServiceSignInData) GetRefreshToken() string
- func (x *ServiceSignInData) GetTokenId() string
- func (*ServiceSignInData) ProtoMessage()
- func (x *ServiceSignInData) ProtoReflect() protoreflect.Message
- func (x *ServiceSignInData) Reset()
- func (x *ServiceSignInData) String() string
- func (m *ServiceSignInData) Validate() error
- func (m *ServiceSignInData) ValidateAll() error
- type ServiceSignInDataMultiError
- type ServiceSignInDataValidationError
- func (e ServiceSignInDataValidationError) Cause() error
- func (e ServiceSignInDataValidationError) Error() string
- func (e ServiceSignInDataValidationError) ErrorName() string
- func (e ServiceSignInDataValidationError) Field() string
- func (e ServiceSignInDataValidationError) Key() bool
- func (e ServiceSignInDataValidationError) Reason() string
- type ServiceSignInReply
- func (*ServiceSignInReply) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceSignInReply) GetData() *ServiceSignInData
- func (x *ServiceSignInReply) GetError() *protobuf.Error
- func (m *ServiceSignInReply) GetInner() isServiceSignInReply_Inner
- func (*ServiceSignInReply) ProtoMessage()
- func (x *ServiceSignInReply) ProtoReflect() protoreflect.Message
- func (x *ServiceSignInReply) Reset()
- func (x *ServiceSignInReply) String() string
- func (m *ServiceSignInReply) Validate() error
- func (m *ServiceSignInReply) ValidateAll() error
- type ServiceSignInReplyMultiError
- type ServiceSignInReplyValidationError
- func (e ServiceSignInReplyValidationError) Cause() error
- func (e ServiceSignInReplyValidationError) Error() string
- func (e ServiceSignInReplyValidationError) ErrorName() string
- func (e ServiceSignInReplyValidationError) Field() string
- func (e ServiceSignInReplyValidationError) Key() bool
- func (e ServiceSignInReplyValidationError) Reason() string
- type ServiceSignInReply_Data
- type ServiceSignInReply_Error
- type ServiceSignInRequest
- func (*ServiceSignInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceSignInRequest) GetPassword() string
- func (x *ServiceSignInRequest) GetUsername() string
- func (*ServiceSignInRequest) ProtoMessage()
- func (x *ServiceSignInRequest) ProtoReflect() protoreflect.Message
- func (x *ServiceSignInRequest) Reset()
- func (x *ServiceSignInRequest) String() string
- func (m *ServiceSignInRequest) Validate() error
- func (m *ServiceSignInRequest) ValidateAll() error
- type ServiceSignInRequestMultiError
- type ServiceSignInRequestValidationError
- func (e ServiceSignInRequestValidationError) Cause() error
- func (e ServiceSignInRequestValidationError) Error() string
- func (e ServiceSignInRequestValidationError) ErrorName() string
- func (e ServiceSignInRequestValidationError) Field() string
- func (e ServiceSignInRequestValidationError) Key() bool
- func (e ServiceSignInRequestValidationError) Reason() string
- type UnimplementedAuthenticatorServer
- func (UnimplementedAuthenticatorServer) ServiceRefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenReply, error)
- func (UnimplementedAuthenticatorServer) ServiceSignIn(context.Context, *ServiceSignInRequest) (*ServiceSignInReply, error)
- func (UnimplementedAuthenticatorServer) UserRefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenReply, error)
- func (UnimplementedAuthenticatorServer) UserSignIn(context.Context, *UserSignInRequest) (*UserSignInReply, error)
- type UnsafeAuthenticatorServer
- type UserSignInData
- func (*UserSignInData) Descriptor() ([]byte, []int)deprecated
- func (x *UserSignInData) GetAccessToken() string
- func (x *UserSignInData) GetRefreshToken() string
- func (x *UserSignInData) GetTokenId() string
- func (*UserSignInData) ProtoMessage()
- func (x *UserSignInData) ProtoReflect() protoreflect.Message
- func (x *UserSignInData) Reset()
- func (x *UserSignInData) String() string
- func (m *UserSignInData) Validate() error
- func (m *UserSignInData) ValidateAll() error
- type UserSignInDataMultiError
- type UserSignInDataValidationError
- func (e UserSignInDataValidationError) Cause() error
- func (e UserSignInDataValidationError) Error() string
- func (e UserSignInDataValidationError) ErrorName() string
- func (e UserSignInDataValidationError) Field() string
- func (e UserSignInDataValidationError) Key() bool
- func (e UserSignInDataValidationError) Reason() string
- type UserSignInReply
- func (*UserSignInReply) Descriptor() ([]byte, []int)deprecated
- func (x *UserSignInReply) GetData() *UserSignInData
- func (x *UserSignInReply) GetError() *protobuf.Error
- func (m *UserSignInReply) GetInner() isUserSignInReply_Inner
- func (*UserSignInReply) ProtoMessage()
- func (x *UserSignInReply) ProtoReflect() protoreflect.Message
- func (x *UserSignInReply) Reset()
- func (x *UserSignInReply) String() string
- func (m *UserSignInReply) Validate() error
- func (m *UserSignInReply) ValidateAll() error
- type UserSignInReplyMultiError
- type UserSignInReplyValidationError
- func (e UserSignInReplyValidationError) Cause() error
- func (e UserSignInReplyValidationError) Error() string
- func (e UserSignInReplyValidationError) ErrorName() string
- func (e UserSignInReplyValidationError) Field() string
- func (e UserSignInReplyValidationError) Key() bool
- func (e UserSignInReplyValidationError) Reason() string
- type UserSignInReply_Data
- type UserSignInReply_Error
- type UserSignInRequest
- func (*UserSignInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserSignInRequest) GetKind() ESignInKind
- func (x *UserSignInRequest) GetPassword() string
- func (x *UserSignInRequest) GetUsername() string
- func (*UserSignInRequest) ProtoMessage()
- func (x *UserSignInRequest) ProtoReflect() protoreflect.Message
- func (x *UserSignInRequest) Reset()
- func (x *UserSignInRequest) String() string
- func (m *UserSignInRequest) Validate() error
- func (m *UserSignInRequest) ValidateAll() error
- type UserSignInRequestMultiError
- type UserSignInRequestValidationError
- func (e UserSignInRequestValidationError) Cause() error
- func (e UserSignInRequestValidationError) Error() string
- func (e UserSignInRequestValidationError) ErrorName() string
- func (e UserSignInRequestValidationError) Field() string
- func (e UserSignInRequestValidationError) Key() bool
- func (e UserSignInRequestValidationError) Reason() string
Constants ¶
const ( Authenticator_UserSignIn_FullMethodName = "/api.authenticator.Authenticator/UserSignIn" Authenticator_UserRefreshToken_FullMethodName = "/api.authenticator.Authenticator/UserRefreshToken" Authenticator_ServiceSignIn_FullMethodName = "/api.authenticator.Authenticator/ServiceSignIn" Authenticator_ServiceRefreshToken_FullMethodName = "/api.authenticator.Authenticator/ServiceRefreshToken" )
const OperationAuthenticatorServiceRefreshToken = "/api.authenticator.Authenticator/ServiceRefreshToken"
const OperationAuthenticatorServiceSignIn = "/api.authenticator.Authenticator/ServiceSignIn"
const OperationAuthenticatorUserRefreshToken = "/api.authenticator.Authenticator/UserRefreshToken"
const OperationAuthenticatorUserSignIn = "/api.authenticator.Authenticator/UserSignIn"
Variables ¶
var ( ESignInKind_name = map[int32]string{ 0: "CUSTOMER", 1: "EMPLOYEE", } ESignInKind_value = map[string]int32{ "CUSTOMER": 0, "EMPLOYEE": 1, } )
Enum value maps for ESignInKind.
var Authenticator_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.authenticator.Authenticator", HandlerType: (*AuthenticatorServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UserSignIn", Handler: _Authenticator_UserSignIn_Handler, }, { MethodName: "UserRefreshToken", Handler: _Authenticator_UserRefreshToken_Handler, }, { MethodName: "ServiceSignIn", Handler: _Authenticator_ServiceSignIn_Handler, }, { MethodName: "ServiceRefreshToken", Handler: _Authenticator_ServiceRefreshToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/authenticator/authenticator.proto", }
Authenticator_ServiceDesc is the grpc.ServiceDesc for Authenticator service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_authenticator_authenticator_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuthenticatorHTTPServer ¶
func RegisterAuthenticatorHTTPServer(s *http.Server, srv AuthenticatorHTTPServer)
func RegisterAuthenticatorServer ¶
func RegisterAuthenticatorServer(s grpc.ServiceRegistrar, srv AuthenticatorServer)
Types ¶
type AuthenticatorClient ¶
type AuthenticatorClient interface { UserSignIn(ctx context.Context, in *UserSignInRequest, opts ...grpc.CallOption) (*UserSignInReply, error) UserRefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenReply, error) ServiceSignIn(ctx context.Context, in *ServiceSignInRequest, opts ...grpc.CallOption) (*ServiceSignInReply, error) ServiceRefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenReply, error) }
AuthenticatorClient is the client API for Authenticator 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 NewAuthenticatorClient ¶
func NewAuthenticatorClient(cc grpc.ClientConnInterface) AuthenticatorClient
type AuthenticatorHTTPClient ¶
type AuthenticatorHTTPClient interface { ServiceRefreshToken(ctx context.Context, req *RefreshTokenRequest, opts ...http.CallOption) (rsp *RefreshTokenReply, err error) ServiceSignIn(ctx context.Context, req *ServiceSignInRequest, opts ...http.CallOption) (rsp *ServiceSignInReply, err error) UserRefreshToken(ctx context.Context, req *RefreshTokenRequest, opts ...http.CallOption) (rsp *RefreshTokenReply, err error) UserSignIn(ctx context.Context, req *UserSignInRequest, opts ...http.CallOption) (rsp *UserSignInReply, err error) }
func NewAuthenticatorHTTPClient ¶
func NewAuthenticatorHTTPClient(client *http.Client) AuthenticatorHTTPClient
type AuthenticatorHTTPClientImpl ¶
type AuthenticatorHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*AuthenticatorHTTPClientImpl) ServiceRefreshToken ¶
func (c *AuthenticatorHTTPClientImpl) ServiceRefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...http.CallOption) (*RefreshTokenReply, error)
func (*AuthenticatorHTTPClientImpl) ServiceSignIn ¶
func (c *AuthenticatorHTTPClientImpl) ServiceSignIn(ctx context.Context, in *ServiceSignInRequest, opts ...http.CallOption) (*ServiceSignInReply, error)
func (*AuthenticatorHTTPClientImpl) UserRefreshToken ¶
func (c *AuthenticatorHTTPClientImpl) UserRefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...http.CallOption) (*RefreshTokenReply, error)
func (*AuthenticatorHTTPClientImpl) UserSignIn ¶
func (c *AuthenticatorHTTPClientImpl) UserSignIn(ctx context.Context, in *UserSignInRequest, opts ...http.CallOption) (*UserSignInReply, error)
type AuthenticatorHTTPServer ¶
type AuthenticatorHTTPServer interface { ServiceRefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenReply, error) ServiceSignIn(context.Context, *ServiceSignInRequest) (*ServiceSignInReply, error) UserRefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenReply, error) UserSignIn(context.Context, *UserSignInRequest) (*UserSignInReply, error) }
type AuthenticatorServer ¶
type AuthenticatorServer interface { UserSignIn(context.Context, *UserSignInRequest) (*UserSignInReply, error) UserRefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenReply, error) ServiceSignIn(context.Context, *ServiceSignInRequest) (*ServiceSignInReply, error) ServiceRefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenReply, error) // contains filtered or unexported methods }
AuthenticatorServer is the server API for Authenticator service. All implementations must embed UnimplementedAuthenticatorServer for forward compatibility
type ESignInKind ¶
type ESignInKind int32
const ( ESignInKind_CUSTOMER ESignInKind = 0 ESignInKind_EMPLOYEE ESignInKind = 1 )
func (ESignInKind) Descriptor ¶
func (ESignInKind) Descriptor() protoreflect.EnumDescriptor
func (ESignInKind) Enum ¶
func (x ESignInKind) Enum() *ESignInKind
func (ESignInKind) EnumDescriptor
deprecated
func (ESignInKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use ESignInKind.Descriptor instead.
func (ESignInKind) Number ¶
func (x ESignInKind) Number() protoreflect.EnumNumber
func (ESignInKind) String ¶
func (x ESignInKind) String() string
func (ESignInKind) Type ¶
func (ESignInKind) Type() protoreflect.EnumType
type RefreshTokenData ¶
type RefreshTokenData struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*RefreshTokenData) Descriptor
deprecated
func (*RefreshTokenData) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenData.ProtoReflect.Descriptor instead.
func (*RefreshTokenData) GetAccessToken ¶
func (x *RefreshTokenData) GetAccessToken() string
func (*RefreshTokenData) ProtoMessage ¶
func (*RefreshTokenData) ProtoMessage()
func (*RefreshTokenData) ProtoReflect ¶
func (x *RefreshTokenData) ProtoReflect() protoreflect.Message
func (*RefreshTokenData) Reset ¶
func (x *RefreshTokenData) Reset()
func (*RefreshTokenData) String ¶
func (x *RefreshTokenData) String() string
func (*RefreshTokenData) Validate ¶
func (m *RefreshTokenData) Validate() error
Validate checks the field values on RefreshTokenData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RefreshTokenData) ValidateAll ¶
func (m *RefreshTokenData) ValidateAll() error
ValidateAll checks the field values on RefreshTokenData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RefreshTokenDataMultiError, or nil if none found.
type RefreshTokenDataMultiError ¶
type RefreshTokenDataMultiError []error
RefreshTokenDataMultiError is an error wrapping multiple validation errors returned by RefreshTokenData.ValidateAll() if the designated constraints aren't met.
func (RefreshTokenDataMultiError) AllErrors ¶
func (m RefreshTokenDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RefreshTokenDataMultiError) Error ¶
func (m RefreshTokenDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RefreshTokenDataValidationError ¶
type RefreshTokenDataValidationError struct {
// contains filtered or unexported fields
}
RefreshTokenDataValidationError is the validation error returned by RefreshTokenData.Validate if the designated constraints aren't met.
func (RefreshTokenDataValidationError) Cause ¶
func (e RefreshTokenDataValidationError) Cause() error
Cause function returns cause value.
func (RefreshTokenDataValidationError) Error ¶
func (e RefreshTokenDataValidationError) Error() string
Error satisfies the builtin error interface
func (RefreshTokenDataValidationError) ErrorName ¶
func (e RefreshTokenDataValidationError) ErrorName() string
ErrorName returns error name.
func (RefreshTokenDataValidationError) Field ¶
func (e RefreshTokenDataValidationError) Field() string
Field function returns field value.
func (RefreshTokenDataValidationError) Key ¶
func (e RefreshTokenDataValidationError) Key() bool
Key function returns key value.
func (RefreshTokenDataValidationError) Reason ¶
func (e RefreshTokenDataValidationError) Reason() string
Reason function returns reason value.
type RefreshTokenReply ¶
type RefreshTokenReply struct { // Types that are assignable to Inner: // // *RefreshTokenReply_Error // *RefreshTokenReply_Data Inner isRefreshTokenReply_Inner `protobuf_oneof:"inner"` // contains filtered or unexported fields }
func (*RefreshTokenReply) Descriptor
deprecated
func (*RefreshTokenReply) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenReply.ProtoReflect.Descriptor instead.
func (*RefreshTokenReply) GetData ¶
func (x *RefreshTokenReply) GetData() *RefreshTokenData
func (*RefreshTokenReply) GetError ¶
func (x *RefreshTokenReply) GetError() *protobuf.Error
func (*RefreshTokenReply) GetInner ¶
func (m *RefreshTokenReply) GetInner() isRefreshTokenReply_Inner
func (*RefreshTokenReply) ProtoMessage ¶
func (*RefreshTokenReply) ProtoMessage()
func (*RefreshTokenReply) ProtoReflect ¶
func (x *RefreshTokenReply) ProtoReflect() protoreflect.Message
func (*RefreshTokenReply) Reset ¶
func (x *RefreshTokenReply) Reset()
func (*RefreshTokenReply) String ¶
func (x *RefreshTokenReply) String() string
func (*RefreshTokenReply) Validate ¶
func (m *RefreshTokenReply) Validate() error
Validate checks the field values on RefreshTokenReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RefreshTokenReply) ValidateAll ¶
func (m *RefreshTokenReply) ValidateAll() error
ValidateAll checks the field values on RefreshTokenReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RefreshTokenReplyMultiError, or nil if none found.
type RefreshTokenReplyMultiError ¶
type RefreshTokenReplyMultiError []error
RefreshTokenReplyMultiError is an error wrapping multiple validation errors returned by RefreshTokenReply.ValidateAll() if the designated constraints aren't met.
func (RefreshTokenReplyMultiError) AllErrors ¶
func (m RefreshTokenReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RefreshTokenReplyMultiError) Error ¶
func (m RefreshTokenReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RefreshTokenReplyValidationError ¶
type RefreshTokenReplyValidationError struct {
// contains filtered or unexported fields
}
RefreshTokenReplyValidationError is the validation error returned by RefreshTokenReply.Validate if the designated constraints aren't met.
func (RefreshTokenReplyValidationError) Cause ¶
func (e RefreshTokenReplyValidationError) Cause() error
Cause function returns cause value.
func (RefreshTokenReplyValidationError) Error ¶
func (e RefreshTokenReplyValidationError) Error() string
Error satisfies the builtin error interface
func (RefreshTokenReplyValidationError) ErrorName ¶
func (e RefreshTokenReplyValidationError) ErrorName() string
ErrorName returns error name.
func (RefreshTokenReplyValidationError) Field ¶
func (e RefreshTokenReplyValidationError) Field() string
Field function returns field value.
func (RefreshTokenReplyValidationError) Key ¶
func (e RefreshTokenReplyValidationError) Key() bool
Key function returns key value.
func (RefreshTokenReplyValidationError) Reason ¶
func (e RefreshTokenReplyValidationError) Reason() string
Reason function returns reason value.
type RefreshTokenReply_Data ¶
type RefreshTokenReply_Data struct {
Data *RefreshTokenData `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type RefreshTokenReply_Error ¶
type RefreshTokenRequest ¶
type RefreshTokenRequest struct { TokenId string `protobuf:"bytes,1,opt,name=token_id,proto3" json:"token_id,omitempty"` RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*RefreshTokenRequest) Descriptor
deprecated
func (*RefreshTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.
func (*RefreshTokenRequest) GetRefreshToken ¶
func (x *RefreshTokenRequest) GetRefreshToken() string
func (*RefreshTokenRequest) GetTokenId ¶
func (x *RefreshTokenRequest) GetTokenId() 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
func (*RefreshTokenRequest) Validate ¶
func (m *RefreshTokenRequest) Validate() error
Validate checks the field values on RefreshTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RefreshTokenRequest) ValidateAll ¶
func (m *RefreshTokenRequest) ValidateAll() error
ValidateAll checks the field values on RefreshTokenRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RefreshTokenRequestMultiError, or nil if none found.
type RefreshTokenRequestMultiError ¶
type RefreshTokenRequestMultiError []error
RefreshTokenRequestMultiError is an error wrapping multiple validation errors returned by RefreshTokenRequest.ValidateAll() if the designated constraints aren't met.
func (RefreshTokenRequestMultiError) AllErrors ¶
func (m RefreshTokenRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RefreshTokenRequestMultiError) Error ¶
func (m RefreshTokenRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RefreshTokenRequestValidationError ¶
type RefreshTokenRequestValidationError struct {
// contains filtered or unexported fields
}
RefreshTokenRequestValidationError is the validation error returned by RefreshTokenRequest.Validate if the designated constraints aren't met.
func (RefreshTokenRequestValidationError) Cause ¶
func (e RefreshTokenRequestValidationError) Cause() error
Cause function returns cause value.
func (RefreshTokenRequestValidationError) Error ¶
func (e RefreshTokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RefreshTokenRequestValidationError) ErrorName ¶
func (e RefreshTokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RefreshTokenRequestValidationError) Field ¶
func (e RefreshTokenRequestValidationError) Field() string
Field function returns field value.
func (RefreshTokenRequestValidationError) Key ¶
func (e RefreshTokenRequestValidationError) Key() bool
Key function returns key value.
func (RefreshTokenRequestValidationError) Reason ¶
func (e RefreshTokenRequestValidationError) Reason() string
Reason function returns reason value.
type ServiceSignInData ¶
type ServiceSignInData struct { TokenId string `protobuf:"bytes,1,opt,name=token_id,proto3" json:"token_id,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=access_token,proto3" json:"access_token,omitempty"` RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*ServiceSignInData) Descriptor
deprecated
func (*ServiceSignInData) Descriptor() ([]byte, []int)
Deprecated: Use ServiceSignInData.ProtoReflect.Descriptor instead.
func (*ServiceSignInData) GetAccessToken ¶
func (x *ServiceSignInData) GetAccessToken() string
func (*ServiceSignInData) GetRefreshToken ¶
func (x *ServiceSignInData) GetRefreshToken() string
func (*ServiceSignInData) GetTokenId ¶
func (x *ServiceSignInData) GetTokenId() string
func (*ServiceSignInData) ProtoMessage ¶
func (*ServiceSignInData) ProtoMessage()
func (*ServiceSignInData) ProtoReflect ¶
func (x *ServiceSignInData) ProtoReflect() protoreflect.Message
func (*ServiceSignInData) Reset ¶
func (x *ServiceSignInData) Reset()
func (*ServiceSignInData) String ¶
func (x *ServiceSignInData) String() string
func (*ServiceSignInData) Validate ¶
func (m *ServiceSignInData) Validate() error
Validate checks the field values on ServiceSignInData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceSignInData) ValidateAll ¶
func (m *ServiceSignInData) ValidateAll() error
ValidateAll checks the field values on ServiceSignInData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceSignInDataMultiError, or nil if none found.
type ServiceSignInDataMultiError ¶
type ServiceSignInDataMultiError []error
ServiceSignInDataMultiError is an error wrapping multiple validation errors returned by ServiceSignInData.ValidateAll() if the designated constraints aren't met.
func (ServiceSignInDataMultiError) AllErrors ¶
func (m ServiceSignInDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceSignInDataMultiError) Error ¶
func (m ServiceSignInDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceSignInDataValidationError ¶
type ServiceSignInDataValidationError struct {
// contains filtered or unexported fields
}
ServiceSignInDataValidationError is the validation error returned by ServiceSignInData.Validate if the designated constraints aren't met.
func (ServiceSignInDataValidationError) Cause ¶
func (e ServiceSignInDataValidationError) Cause() error
Cause function returns cause value.
func (ServiceSignInDataValidationError) Error ¶
func (e ServiceSignInDataValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceSignInDataValidationError) ErrorName ¶
func (e ServiceSignInDataValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceSignInDataValidationError) Field ¶
func (e ServiceSignInDataValidationError) Field() string
Field function returns field value.
func (ServiceSignInDataValidationError) Key ¶
func (e ServiceSignInDataValidationError) Key() bool
Key function returns key value.
func (ServiceSignInDataValidationError) Reason ¶
func (e ServiceSignInDataValidationError) Reason() string
Reason function returns reason value.
type ServiceSignInReply ¶
type ServiceSignInReply struct { // Types that are assignable to Inner: // // *ServiceSignInReply_Error // *ServiceSignInReply_Data Inner isServiceSignInReply_Inner `protobuf_oneof:"inner"` // contains filtered or unexported fields }
func (*ServiceSignInReply) Descriptor
deprecated
func (*ServiceSignInReply) Descriptor() ([]byte, []int)
Deprecated: Use ServiceSignInReply.ProtoReflect.Descriptor instead.
func (*ServiceSignInReply) GetData ¶
func (x *ServiceSignInReply) GetData() *ServiceSignInData
func (*ServiceSignInReply) GetError ¶
func (x *ServiceSignInReply) GetError() *protobuf.Error
func (*ServiceSignInReply) GetInner ¶
func (m *ServiceSignInReply) GetInner() isServiceSignInReply_Inner
func (*ServiceSignInReply) ProtoMessage ¶
func (*ServiceSignInReply) ProtoMessage()
func (*ServiceSignInReply) ProtoReflect ¶
func (x *ServiceSignInReply) ProtoReflect() protoreflect.Message
func (*ServiceSignInReply) Reset ¶
func (x *ServiceSignInReply) Reset()
func (*ServiceSignInReply) String ¶
func (x *ServiceSignInReply) String() string
func (*ServiceSignInReply) Validate ¶
func (m *ServiceSignInReply) Validate() error
Validate checks the field values on ServiceSignInReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceSignInReply) ValidateAll ¶
func (m *ServiceSignInReply) ValidateAll() error
ValidateAll checks the field values on ServiceSignInReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceSignInReplyMultiError, or nil if none found.
type ServiceSignInReplyMultiError ¶
type ServiceSignInReplyMultiError []error
ServiceSignInReplyMultiError is an error wrapping multiple validation errors returned by ServiceSignInReply.ValidateAll() if the designated constraints aren't met.
func (ServiceSignInReplyMultiError) AllErrors ¶
func (m ServiceSignInReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceSignInReplyMultiError) Error ¶
func (m ServiceSignInReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceSignInReplyValidationError ¶
type ServiceSignInReplyValidationError struct {
// contains filtered or unexported fields
}
ServiceSignInReplyValidationError is the validation error returned by ServiceSignInReply.Validate if the designated constraints aren't met.
func (ServiceSignInReplyValidationError) Cause ¶
func (e ServiceSignInReplyValidationError) Cause() error
Cause function returns cause value.
func (ServiceSignInReplyValidationError) Error ¶
func (e ServiceSignInReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceSignInReplyValidationError) ErrorName ¶
func (e ServiceSignInReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceSignInReplyValidationError) Field ¶
func (e ServiceSignInReplyValidationError) Field() string
Field function returns field value.
func (ServiceSignInReplyValidationError) Key ¶
func (e ServiceSignInReplyValidationError) Key() bool
Key function returns key value.
func (ServiceSignInReplyValidationError) Reason ¶
func (e ServiceSignInReplyValidationError) Reason() string
Reason function returns reason value.
type ServiceSignInReply_Data ¶
type ServiceSignInReply_Data struct {
Data *ServiceSignInData `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type ServiceSignInRequest ¶
type ServiceSignInRequest struct { Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*ServiceSignInRequest) Descriptor
deprecated
func (*ServiceSignInRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServiceSignInRequest.ProtoReflect.Descriptor instead.
func (*ServiceSignInRequest) GetPassword ¶
func (x *ServiceSignInRequest) GetPassword() string
func (*ServiceSignInRequest) GetUsername ¶
func (x *ServiceSignInRequest) GetUsername() string
func (*ServiceSignInRequest) ProtoMessage ¶
func (*ServiceSignInRequest) ProtoMessage()
func (*ServiceSignInRequest) ProtoReflect ¶
func (x *ServiceSignInRequest) ProtoReflect() protoreflect.Message
func (*ServiceSignInRequest) Reset ¶
func (x *ServiceSignInRequest) Reset()
func (*ServiceSignInRequest) String ¶
func (x *ServiceSignInRequest) String() string
func (*ServiceSignInRequest) Validate ¶
func (m *ServiceSignInRequest) Validate() error
Validate checks the field values on ServiceSignInRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceSignInRequest) ValidateAll ¶
func (m *ServiceSignInRequest) ValidateAll() error
ValidateAll checks the field values on ServiceSignInRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceSignInRequestMultiError, or nil if none found.
type ServiceSignInRequestMultiError ¶
type ServiceSignInRequestMultiError []error
ServiceSignInRequestMultiError is an error wrapping multiple validation errors returned by ServiceSignInRequest.ValidateAll() if the designated constraints aren't met.
func (ServiceSignInRequestMultiError) AllErrors ¶
func (m ServiceSignInRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceSignInRequestMultiError) Error ¶
func (m ServiceSignInRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceSignInRequestValidationError ¶
type ServiceSignInRequestValidationError struct {
// contains filtered or unexported fields
}
ServiceSignInRequestValidationError is the validation error returned by ServiceSignInRequest.Validate if the designated constraints aren't met.
func (ServiceSignInRequestValidationError) Cause ¶
func (e ServiceSignInRequestValidationError) Cause() error
Cause function returns cause value.
func (ServiceSignInRequestValidationError) Error ¶
func (e ServiceSignInRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceSignInRequestValidationError) ErrorName ¶
func (e ServiceSignInRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceSignInRequestValidationError) Field ¶
func (e ServiceSignInRequestValidationError) Field() string
Field function returns field value.
func (ServiceSignInRequestValidationError) Key ¶
func (e ServiceSignInRequestValidationError) Key() bool
Key function returns key value.
func (ServiceSignInRequestValidationError) Reason ¶
func (e ServiceSignInRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAuthenticatorServer ¶
type UnimplementedAuthenticatorServer struct { }
UnimplementedAuthenticatorServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthenticatorServer) ServiceRefreshToken ¶
func (UnimplementedAuthenticatorServer) ServiceRefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenReply, error)
func (UnimplementedAuthenticatorServer) ServiceSignIn ¶
func (UnimplementedAuthenticatorServer) ServiceSignIn(context.Context, *ServiceSignInRequest) (*ServiceSignInReply, error)
func (UnimplementedAuthenticatorServer) UserRefreshToken ¶
func (UnimplementedAuthenticatorServer) UserRefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenReply, error)
func (UnimplementedAuthenticatorServer) UserSignIn ¶
func (UnimplementedAuthenticatorServer) UserSignIn(context.Context, *UserSignInRequest) (*UserSignInReply, error)
type UnsafeAuthenticatorServer ¶
type UnsafeAuthenticatorServer interface {
// contains filtered or unexported methods
}
UnsafeAuthenticatorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthenticatorServer will result in compilation errors.
type UserSignInData ¶
type UserSignInData struct { TokenId string `protobuf:"bytes,1,opt,name=token_id,proto3" json:"token_id,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=access_token,proto3" json:"access_token,omitempty"` RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*UserSignInData) Descriptor
deprecated
func (*UserSignInData) Descriptor() ([]byte, []int)
Deprecated: Use UserSignInData.ProtoReflect.Descriptor instead.
func (*UserSignInData) GetAccessToken ¶
func (x *UserSignInData) GetAccessToken() string
func (*UserSignInData) GetRefreshToken ¶
func (x *UserSignInData) GetRefreshToken() string
func (*UserSignInData) GetTokenId ¶
func (x *UserSignInData) GetTokenId() string
func (*UserSignInData) ProtoMessage ¶
func (*UserSignInData) ProtoMessage()
func (*UserSignInData) ProtoReflect ¶
func (x *UserSignInData) ProtoReflect() protoreflect.Message
func (*UserSignInData) Reset ¶
func (x *UserSignInData) Reset()
func (*UserSignInData) String ¶
func (x *UserSignInData) String() string
func (*UserSignInData) Validate ¶
func (m *UserSignInData) Validate() error
Validate checks the field values on UserSignInData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserSignInData) ValidateAll ¶
func (m *UserSignInData) ValidateAll() error
ValidateAll checks the field values on UserSignInData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserSignInDataMultiError, or nil if none found.
type UserSignInDataMultiError ¶
type UserSignInDataMultiError []error
UserSignInDataMultiError is an error wrapping multiple validation errors returned by UserSignInData.ValidateAll() if the designated constraints aren't met.
func (UserSignInDataMultiError) AllErrors ¶
func (m UserSignInDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserSignInDataMultiError) Error ¶
func (m UserSignInDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserSignInDataValidationError ¶
type UserSignInDataValidationError struct {
// contains filtered or unexported fields
}
UserSignInDataValidationError is the validation error returned by UserSignInData.Validate if the designated constraints aren't met.
func (UserSignInDataValidationError) Cause ¶
func (e UserSignInDataValidationError) Cause() error
Cause function returns cause value.
func (UserSignInDataValidationError) Error ¶
func (e UserSignInDataValidationError) Error() string
Error satisfies the builtin error interface
func (UserSignInDataValidationError) ErrorName ¶
func (e UserSignInDataValidationError) ErrorName() string
ErrorName returns error name.
func (UserSignInDataValidationError) Field ¶
func (e UserSignInDataValidationError) Field() string
Field function returns field value.
func (UserSignInDataValidationError) Key ¶
func (e UserSignInDataValidationError) Key() bool
Key function returns key value.
func (UserSignInDataValidationError) Reason ¶
func (e UserSignInDataValidationError) Reason() string
Reason function returns reason value.
type UserSignInReply ¶
type UserSignInReply struct { // Types that are assignable to Inner: // // *UserSignInReply_Error // *UserSignInReply_Data Inner isUserSignInReply_Inner `protobuf_oneof:"inner"` // contains filtered or unexported fields }
func (*UserSignInReply) Descriptor
deprecated
func (*UserSignInReply) Descriptor() ([]byte, []int)
Deprecated: Use UserSignInReply.ProtoReflect.Descriptor instead.
func (*UserSignInReply) GetData ¶
func (x *UserSignInReply) GetData() *UserSignInData
func (*UserSignInReply) GetError ¶
func (x *UserSignInReply) GetError() *protobuf.Error
func (*UserSignInReply) GetInner ¶
func (m *UserSignInReply) GetInner() isUserSignInReply_Inner
func (*UserSignInReply) ProtoMessage ¶
func (*UserSignInReply) ProtoMessage()
func (*UserSignInReply) ProtoReflect ¶
func (x *UserSignInReply) ProtoReflect() protoreflect.Message
func (*UserSignInReply) Reset ¶
func (x *UserSignInReply) Reset()
func (*UserSignInReply) String ¶
func (x *UserSignInReply) String() string
func (*UserSignInReply) Validate ¶
func (m *UserSignInReply) Validate() error
Validate checks the field values on UserSignInReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserSignInReply) ValidateAll ¶
func (m *UserSignInReply) ValidateAll() error
ValidateAll checks the field values on UserSignInReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserSignInReplyMultiError, or nil if none found.
type UserSignInReplyMultiError ¶
type UserSignInReplyMultiError []error
UserSignInReplyMultiError is an error wrapping multiple validation errors returned by UserSignInReply.ValidateAll() if the designated constraints aren't met.
func (UserSignInReplyMultiError) AllErrors ¶
func (m UserSignInReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserSignInReplyMultiError) Error ¶
func (m UserSignInReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserSignInReplyValidationError ¶
type UserSignInReplyValidationError struct {
// contains filtered or unexported fields
}
UserSignInReplyValidationError is the validation error returned by UserSignInReply.Validate if the designated constraints aren't met.
func (UserSignInReplyValidationError) Cause ¶
func (e UserSignInReplyValidationError) Cause() error
Cause function returns cause value.
func (UserSignInReplyValidationError) Error ¶
func (e UserSignInReplyValidationError) Error() string
Error satisfies the builtin error interface
func (UserSignInReplyValidationError) ErrorName ¶
func (e UserSignInReplyValidationError) ErrorName() string
ErrorName returns error name.
func (UserSignInReplyValidationError) Field ¶
func (e UserSignInReplyValidationError) Field() string
Field function returns field value.
func (UserSignInReplyValidationError) Key ¶
func (e UserSignInReplyValidationError) Key() bool
Key function returns key value.
func (UserSignInReplyValidationError) Reason ¶
func (e UserSignInReplyValidationError) Reason() string
Reason function returns reason value.
type UserSignInReply_Data ¶
type UserSignInReply_Data struct {
Data *UserSignInData `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type UserSignInReply_Error ¶
type UserSignInRequest ¶
type UserSignInRequest struct { Kind ESignInKind `protobuf:"varint,1,opt,name=kind,proto3,enum=api.authenticator.ESignInKind" json:"kind,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*UserSignInRequest) Descriptor
deprecated
func (*UserSignInRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserSignInRequest.ProtoReflect.Descriptor instead.
func (*UserSignInRequest) GetKind ¶
func (x *UserSignInRequest) GetKind() ESignInKind
func (*UserSignInRequest) GetPassword ¶
func (x *UserSignInRequest) GetPassword() string
func (*UserSignInRequest) GetUsername ¶
func (x *UserSignInRequest) GetUsername() string
func (*UserSignInRequest) ProtoMessage ¶
func (*UserSignInRequest) ProtoMessage()
func (*UserSignInRequest) ProtoReflect ¶
func (x *UserSignInRequest) ProtoReflect() protoreflect.Message
func (*UserSignInRequest) Reset ¶
func (x *UserSignInRequest) Reset()
func (*UserSignInRequest) String ¶
func (x *UserSignInRequest) String() string
func (*UserSignInRequest) Validate ¶
func (m *UserSignInRequest) Validate() error
Validate checks the field values on UserSignInRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserSignInRequest) ValidateAll ¶
func (m *UserSignInRequest) ValidateAll() error
ValidateAll checks the field values on UserSignInRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserSignInRequestMultiError, or nil if none found.
type UserSignInRequestMultiError ¶
type UserSignInRequestMultiError []error
UserSignInRequestMultiError is an error wrapping multiple validation errors returned by UserSignInRequest.ValidateAll() if the designated constraints aren't met.
func (UserSignInRequestMultiError) AllErrors ¶
func (m UserSignInRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserSignInRequestMultiError) Error ¶
func (m UserSignInRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserSignInRequestValidationError ¶
type UserSignInRequestValidationError struct {
// contains filtered or unexported fields
}
UserSignInRequestValidationError is the validation error returned by UserSignInRequest.Validate if the designated constraints aren't met.
func (UserSignInRequestValidationError) Cause ¶
func (e UserSignInRequestValidationError) Cause() error
Cause function returns cause value.
func (UserSignInRequestValidationError) Error ¶
func (e UserSignInRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UserSignInRequestValidationError) ErrorName ¶
func (e UserSignInRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UserSignInRequestValidationError) Field ¶
func (e UserSignInRequestValidationError) Field() string
Field function returns field value.
func (UserSignInRequestValidationError) Key ¶
func (e UserSignInRequestValidationError) Key() bool
Key function returns key value.
func (UserSignInRequestValidationError) Reason ¶
func (e UserSignInRequestValidationError) Reason() string
Reason function returns reason value.