Documentation ¶
Index ¶
- Constants
- Variables
- func ErrorConfirmPasswordMismatch(format string, args ...interface{}) *errors.Error
- func ErrorConfirmPasswordMismatchLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error
- func ErrorEmailConfirmFailed(format string, args ...interface{}) *errors.Error
- func ErrorEmailConfirmFailedLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error
- func ErrorEmailNotConfirmed(format string, args ...interface{}) *errors.Error
- func ErrorEmailNotConfirmedLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error
- func ErrorEmailRecoverFailed(format string, args ...interface{}) *errors.Error
- func ErrorEmailRecoverFailedLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error
- func ErrorInvalidCredentials(format string, args ...interface{}) *errors.Error
- func ErrorInvalidCredentialsLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error
- func ErrorInvalidOperation(format string, args ...interface{}) *errors.Error
- func ErrorInvalidOperationLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error
- func ErrorPhoneConfirmFailed(format string, args ...interface{}) *errors.Error
- func ErrorPhoneConfirmFailedLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error
- func ErrorPhoneNotConfirmed(format string, args ...interface{}) *errors.Error
- func ErrorPhoneNotConfirmedLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error
- func ErrorPhoneRecoverFailed(format string, args ...interface{}) *errors.Error
- func ErrorPhoneRecoverFailedLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error
- func ErrorRefreshTokenInvalid(format string, args ...interface{}) *errors.Error
- func ErrorRefreshTokenInvalidLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error
- func ErrorRememberTokenNotFound(format string, args ...interface{}) *errors.Error
- func ErrorRememberTokenNotFoundLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error
- func ErrorRememberTokenUsed(format string, args ...interface{}) *errors.Error
- func ErrorRememberTokenUsedLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error
- func ErrorTwoStepFailed(format string, args ...interface{}) *errors.Error
- func ErrorTwoStepFailedLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error
- func ErrorUserDeleted(format string, args ...interface{}) *errors.Error
- func ErrorUserDeletedLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error
- func ErrorUserLocked(format string, args ...interface{}) *errors.Error
- func ErrorUserLockedLocalized(localizer *i18n.Localizer, data map[string]interface{}, ...) *errors.Error
- func IsConfirmPasswordMismatch(err error) bool
- func IsEmailConfirmFailed(err error) bool
- func IsEmailNotConfirmed(err error) bool
- func IsEmailRecoverFailed(err error) bool
- func IsInvalidCredentials(err error) bool
- func IsInvalidOperation(err error) bool
- func IsPhoneConfirmFailed(err error) bool
- func IsPhoneNotConfirmed(err error) bool
- func IsPhoneRecoverFailed(err error) bool
- func IsRefreshTokenInvalid(err error) bool
- func IsRememberTokenNotFound(err error) bool
- func IsRememberTokenUsed(err error) bool
- func IsTwoStepFailed(err error) bool
- func IsUserDeleted(err error) bool
- func IsUserLocked(err error) bool
- func RegisterAuthHTTPServer(s *http.Server, srv AuthHTTPServer)
- func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
- func RegisterAuthWebHTTPServer(s *http.Server, srv AuthWebHTTPServer)
- func RegisterAuthWebServer(s grpc.ServiceRegistrar, srv AuthWebServer)
- type AuthClient
- type AuthHTTPClient
- type AuthHTTPClientImpl
- func (c *AuthHTTPClientImpl) ChangePasswordByForget(ctx context.Context, in *ChangePasswordByForgetRequest, ...) (*ChangePasswordByForgetReply, error)
- func (c *AuthHTTPClientImpl) ChangePasswordByPre(ctx context.Context, in *ChangePasswordByPreRequest, opts ...http.CallOption) (*ChangePasswordByPreReply, error)
- func (c *AuthHTTPClientImpl) ForgetPassword(ctx context.Context, in *ForgetPasswordRequest, opts ...http.CallOption) (*ForgetPasswordReply, error)
- func (c *AuthHTTPClientImpl) GetCsrfToken(ctx context.Context, in *GetCsrfTokenRequest, opts ...http.CallOption) (*GetCsrfTokenResponse, error)
- func (c *AuthHTTPClientImpl) GetLogin(ctx context.Context, in *GetLoginRequest, opts ...http.CallOption) (*GetLoginResponse, error)
- func (c *AuthHTTPClientImpl) Login(ctx context.Context, in *LoginAuthRequest, opts ...http.CallOption) (*LoginAuthReply, error)
- func (c *AuthHTTPClientImpl) LoginPasswordless(ctx context.Context, in *LoginPasswordlessRequest, opts ...http.CallOption) (*LoginPasswordlessReply, error)
- func (c *AuthHTTPClientImpl) Refresh(ctx context.Context, in *RefreshTokenAuthRequest, opts ...http.CallOption) (*RefreshTokenAuthReply, error)
- func (c *AuthHTTPClientImpl) Register(ctx context.Context, in *RegisterAuthRequest, opts ...http.CallOption) (*RegisterAuthReply, error)
- func (c *AuthHTTPClientImpl) SendForgetPasswordToken(ctx context.Context, in *ForgetPasswordTokenRequest, opts ...http.CallOption) (*ForgetPasswordTokenReply, error)
- func (c *AuthHTTPClientImpl) SendPasswordlessToken(ctx context.Context, in *PasswordlessTokenAuthRequest, opts ...http.CallOption) (*PasswordlessTokenAuthReply, error)
- func (c *AuthHTTPClientImpl) Token(ctx context.Context, in *TokenRequest, opts ...http.CallOption) (*TokenReply, error)
- func (c *AuthHTTPClientImpl) ValidatePassword(ctx context.Context, in *ValidatePasswordRequest, opts ...http.CallOption) (*ValidatePasswordReply, error)
- type AuthHTTPServer
- type AuthServer
- type AuthWebClient
- type AuthWebHTTPClient
- type AuthWebHTTPClientImpl
- func (c *AuthWebHTTPClientImpl) GetConsent(ctx context.Context, in *GetConsentRequest, opts ...http.CallOption) (*GetConsentResponse, error)
- func (c *AuthWebHTTPClientImpl) GetWebLogin(ctx context.Context, in *GetLoginRequest, opts ...http.CallOption) (*GetLoginResponse, error)
- func (c *AuthWebHTTPClientImpl) GetWebLogout(ctx context.Context, in *GetLogoutRequest, opts ...http.CallOption) (*GetLogoutResponse, error)
- func (c *AuthWebHTTPClientImpl) GrantConsent(ctx context.Context, in *GrantConsentRequest, opts ...http.CallOption) (*GrantConsentResponse, error)
- func (c *AuthWebHTTPClientImpl) WebLogin(ctx context.Context, in *WebLoginAuthRequest, opts ...http.CallOption) (*WebLoginAuthReply, error)
- func (c *AuthWebHTTPClientImpl) WebLogout(ctx context.Context, in *LogoutRequest, opts ...http.CallOption) (*LogoutResponse, error)
- type AuthWebHTTPServer
- type AuthWebServer
- type ChangePasswordByForgetReply
- func (*ChangePasswordByForgetReply) Descriptor() ([]byte, []int)deprecated
- func (*ChangePasswordByForgetReply) ProtoMessage()
- func (x *ChangePasswordByForgetReply) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordByForgetReply) Reset()
- func (x *ChangePasswordByForgetReply) String() string
- func (m *ChangePasswordByForgetReply) Validate() error
- func (m *ChangePasswordByForgetReply) ValidateAll() error
- type ChangePasswordByForgetReplyMultiError
- type ChangePasswordByForgetReplyValidationError
- func (e ChangePasswordByForgetReplyValidationError) Cause() error
- func (e ChangePasswordByForgetReplyValidationError) Error() string
- func (e ChangePasswordByForgetReplyValidationError) ErrorName() string
- func (e ChangePasswordByForgetReplyValidationError) Field() string
- func (e ChangePasswordByForgetReplyValidationError) Key() bool
- func (e ChangePasswordByForgetReplyValidationError) Reason() string
- type ChangePasswordByForgetRequest
- func (*ChangePasswordByForgetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordByForgetRequest) GetChangePasswordToken() string
- func (x *ChangePasswordByForgetRequest) GetConfirmNewPassword() string
- func (x *ChangePasswordByForgetRequest) GetNewPassword() string
- func (*ChangePasswordByForgetRequest) ProtoMessage()
- func (x *ChangePasswordByForgetRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordByForgetRequest) Reset()
- func (x *ChangePasswordByForgetRequest) String() string
- func (m *ChangePasswordByForgetRequest) Validate() error
- func (m *ChangePasswordByForgetRequest) ValidateAll() error
- type ChangePasswordByForgetRequestMultiError
- type ChangePasswordByForgetRequestValidationError
- func (e ChangePasswordByForgetRequestValidationError) Cause() error
- func (e ChangePasswordByForgetRequestValidationError) Error() string
- func (e ChangePasswordByForgetRequestValidationError) ErrorName() string
- func (e ChangePasswordByForgetRequestValidationError) Field() string
- func (e ChangePasswordByForgetRequestValidationError) Key() bool
- func (e ChangePasswordByForgetRequestValidationError) Reason() string
- type ChangePasswordByPreReply
- func (*ChangePasswordByPreReply) Descriptor() ([]byte, []int)deprecated
- func (*ChangePasswordByPreReply) ProtoMessage()
- func (x *ChangePasswordByPreReply) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordByPreReply) Reset()
- func (x *ChangePasswordByPreReply) String() string
- func (m *ChangePasswordByPreReply) Validate() error
- func (m *ChangePasswordByPreReply) ValidateAll() error
- type ChangePasswordByPreReplyMultiError
- type ChangePasswordByPreReplyValidationError
- func (e ChangePasswordByPreReplyValidationError) Cause() error
- func (e ChangePasswordByPreReplyValidationError) Error() string
- func (e ChangePasswordByPreReplyValidationError) ErrorName() string
- func (e ChangePasswordByPreReplyValidationError) Field() string
- func (e ChangePasswordByPreReplyValidationError) Key() bool
- func (e ChangePasswordByPreReplyValidationError) Reason() string
- type ChangePasswordByPreRequest
- func (*ChangePasswordByPreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordByPreRequest) GetConfirmNewPassword() string
- func (x *ChangePasswordByPreRequest) GetNewPassword() string
- func (x *ChangePasswordByPreRequest) GetPrePassword() string
- func (*ChangePasswordByPreRequest) ProtoMessage()
- func (x *ChangePasswordByPreRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordByPreRequest) Reset()
- func (x *ChangePasswordByPreRequest) String() string
- func (m *ChangePasswordByPreRequest) Validate() error
- func (m *ChangePasswordByPreRequest) ValidateAll() error
- type ChangePasswordByPreRequestMultiError
- type ChangePasswordByPreRequestValidationError
- func (e ChangePasswordByPreRequestValidationError) Cause() error
- func (e ChangePasswordByPreRequestValidationError) Error() string
- func (e ChangePasswordByPreRequestValidationError) ErrorName() string
- func (e ChangePasswordByPreRequestValidationError) Field() string
- func (e ChangePasswordByPreRequestValidationError) Key() bool
- func (e ChangePasswordByPreRequestValidationError) Reason() string
- type ErrorReason
- func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorReason) Enum() *ErrorReason
- func (ErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorReason) Number() protoreflect.EnumNumber
- func (x ErrorReason) String() string
- func (ErrorReason) Type() protoreflect.EnumType
- type ForgetPasswordReply
- func (*ForgetPasswordReply) Descriptor() ([]byte, []int)deprecated
- func (x *ForgetPasswordReply) GetChangePasswordToken() string
- func (*ForgetPasswordReply) ProtoMessage()
- func (x *ForgetPasswordReply) ProtoReflect() protoreflect.Message
- func (x *ForgetPasswordReply) Reset()
- func (x *ForgetPasswordReply) String() string
- func (m *ForgetPasswordReply) Validate() error
- func (m *ForgetPasswordReply) ValidateAll() error
- type ForgetPasswordReplyMultiError
- type ForgetPasswordReplyValidationError
- func (e ForgetPasswordReplyValidationError) Cause() error
- func (e ForgetPasswordReplyValidationError) Error() string
- func (e ForgetPasswordReplyValidationError) ErrorName() string
- func (e ForgetPasswordReplyValidationError) Field() string
- func (e ForgetPasswordReplyValidationError) Key() bool
- func (e ForgetPasswordReplyValidationError) Reason() string
- type ForgetPasswordRequest
- func (*ForgetPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForgetPasswordRequest) GetEmail() *wrapperspb.StringValue
- func (x *ForgetPasswordRequest) GetPhone() *wrapperspb.StringValue
- func (x *ForgetPasswordRequest) GetToken() string
- func (*ForgetPasswordRequest) ProtoMessage()
- func (x *ForgetPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ForgetPasswordRequest) Reset()
- func (x *ForgetPasswordRequest) String() string
- func (m *ForgetPasswordRequest) Validate() error
- func (m *ForgetPasswordRequest) ValidateAll() error
- type ForgetPasswordRequestMultiError
- type ForgetPasswordRequestValidationError
- func (e ForgetPasswordRequestValidationError) Cause() error
- func (e ForgetPasswordRequestValidationError) Error() string
- func (e ForgetPasswordRequestValidationError) ErrorName() string
- func (e ForgetPasswordRequestValidationError) Field() string
- func (e ForgetPasswordRequestValidationError) Key() bool
- func (e ForgetPasswordRequestValidationError) Reason() string
- type ForgetPasswordTokenReply
- func (*ForgetPasswordTokenReply) Descriptor() ([]byte, []int)deprecated
- func (x *ForgetPasswordTokenReply) GetExpire() *durationpb.Duration
- func (*ForgetPasswordTokenReply) ProtoMessage()
- func (x *ForgetPasswordTokenReply) ProtoReflect() protoreflect.Message
- func (x *ForgetPasswordTokenReply) Reset()
- func (x *ForgetPasswordTokenReply) String() string
- func (m *ForgetPasswordTokenReply) Validate() error
- func (m *ForgetPasswordTokenReply) ValidateAll() error
- type ForgetPasswordTokenReplyMultiError
- type ForgetPasswordTokenReplyValidationError
- func (e ForgetPasswordTokenReplyValidationError) Cause() error
- func (e ForgetPasswordTokenReplyValidationError) Error() string
- func (e ForgetPasswordTokenReplyValidationError) ErrorName() string
- func (e ForgetPasswordTokenReplyValidationError) Field() string
- func (e ForgetPasswordTokenReplyValidationError) Key() bool
- func (e ForgetPasswordTokenReplyValidationError) Reason() string
- type ForgetPasswordTokenRequest
- func (*ForgetPasswordTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForgetPasswordTokenRequest) GetEmail() *wrapperspb.StringValue
- func (x *ForgetPasswordTokenRequest) GetPhone() *wrapperspb.StringValue
- func (*ForgetPasswordTokenRequest) ProtoMessage()
- func (x *ForgetPasswordTokenRequest) ProtoReflect() protoreflect.Message
- func (x *ForgetPasswordTokenRequest) Reset()
- func (x *ForgetPasswordTokenRequest) String() string
- func (m *ForgetPasswordTokenRequest) Validate() error
- func (m *ForgetPasswordTokenRequest) ValidateAll() error
- type ForgetPasswordTokenRequestMultiError
- type ForgetPasswordTokenRequestValidationError
- func (e ForgetPasswordTokenRequestValidationError) Cause() error
- func (e ForgetPasswordTokenRequestValidationError) Error() string
- func (e ForgetPasswordTokenRequestValidationError) ErrorName() string
- func (e ForgetPasswordTokenRequestValidationError) Field() string
- func (e ForgetPasswordTokenRequestValidationError) Key() bool
- func (e ForgetPasswordTokenRequestValidationError) Reason() string
- type GetConsentRequest
- func (*GetConsentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConsentRequest) GetConsentChallenge() string
- func (*GetConsentRequest) ProtoMessage()
- func (x *GetConsentRequest) ProtoReflect() protoreflect.Message
- func (x *GetConsentRequest) Reset()
- func (x *GetConsentRequest) String() string
- func (m *GetConsentRequest) Validate() error
- func (m *GetConsentRequest) ValidateAll() error
- type GetConsentRequestMultiError
- type GetConsentRequestValidationError
- func (e GetConsentRequestValidationError) Cause() error
- func (e GetConsentRequestValidationError) Error() string
- func (e GetConsentRequestValidationError) ErrorName() string
- func (e GetConsentRequestValidationError) Field() string
- func (e GetConsentRequestValidationError) Key() bool
- func (e GetConsentRequestValidationError) Reason() string
- type GetConsentResponse
- func (*GetConsentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConsentResponse) GetChallenge() string
- func (x *GetConsentResponse) GetClient() *OAuthClient
- func (x *GetConsentResponse) GetRedirect() string
- func (x *GetConsentResponse) GetRequestedScope() []string
- func (x *GetConsentResponse) GetUserId() string
- func (*GetConsentResponse) ProtoMessage()
- func (x *GetConsentResponse) ProtoReflect() protoreflect.Message
- func (x *GetConsentResponse) Reset()
- func (x *GetConsentResponse) String() string
- func (m *GetConsentResponse) Validate() error
- func (m *GetConsentResponse) ValidateAll() error
- type GetConsentResponseMultiError
- type GetConsentResponseValidationError
- func (e GetConsentResponseValidationError) Cause() error
- func (e GetConsentResponseValidationError) Error() string
- func (e GetConsentResponseValidationError) ErrorName() string
- func (e GetConsentResponseValidationError) Field() string
- func (e GetConsentResponseValidationError) Key() bool
- func (e GetConsentResponseValidationError) Reason() string
- type GetCsrfTokenRequest
- func (*GetCsrfTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetCsrfTokenRequest) ProtoMessage()
- func (x *GetCsrfTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GetCsrfTokenRequest) Reset()
- func (x *GetCsrfTokenRequest) String() string
- func (m *GetCsrfTokenRequest) Validate() error
- func (m *GetCsrfTokenRequest) ValidateAll() error
- type GetCsrfTokenRequestMultiError
- type GetCsrfTokenRequestValidationError
- func (e GetCsrfTokenRequestValidationError) Cause() error
- func (e GetCsrfTokenRequestValidationError) Error() string
- func (e GetCsrfTokenRequestValidationError) ErrorName() string
- func (e GetCsrfTokenRequestValidationError) Field() string
- func (e GetCsrfTokenRequestValidationError) Key() bool
- func (e GetCsrfTokenRequestValidationError) Reason() string
- type GetCsrfTokenResponse
- func (*GetCsrfTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCsrfTokenResponse) GetCsrfToken() string
- func (*GetCsrfTokenResponse) ProtoMessage()
- func (x *GetCsrfTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GetCsrfTokenResponse) Reset()
- func (x *GetCsrfTokenResponse) String() string
- func (m *GetCsrfTokenResponse) Validate() error
- func (m *GetCsrfTokenResponse) ValidateAll() error
- type GetCsrfTokenResponseMultiError
- type GetCsrfTokenResponseValidationError
- func (e GetCsrfTokenResponseValidationError) Cause() error
- func (e GetCsrfTokenResponseValidationError) Error() string
- func (e GetCsrfTokenResponseValidationError) ErrorName() string
- func (e GetCsrfTokenResponseValidationError) Field() string
- func (e GetCsrfTokenResponseValidationError) Key() bool
- func (e GetCsrfTokenResponseValidationError) Reason() string
- type GetLoginRequest
- func (*GetLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLoginRequest) GetLoginChallenge() string
- func (x *GetLoginRequest) GetRedirect() string
- func (*GetLoginRequest) ProtoMessage()
- func (x *GetLoginRequest) ProtoReflect() protoreflect.Message
- func (x *GetLoginRequest) Reset()
- func (x *GetLoginRequest) String() string
- func (m *GetLoginRequest) Validate() error
- func (m *GetLoginRequest) ValidateAll() error
- type GetLoginRequestMultiError
- type GetLoginRequestValidationError
- func (e GetLoginRequestValidationError) Cause() error
- func (e GetLoginRequestValidationError) Error() string
- func (e GetLoginRequestValidationError) ErrorName() string
- func (e GetLoginRequestValidationError) Field() string
- func (e GetLoginRequestValidationError) Key() bool
- func (e GetLoginRequestValidationError) Reason() string
- type GetLoginResponse
- func (*GetLoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLoginResponse) GetChallenge() string
- func (x *GetLoginResponse) GetHint() string
- func (x *GetLoginResponse) GetOauth() []*OAuthProvider
- func (x *GetLoginResponse) GetRedirect() string
- func (*GetLoginResponse) ProtoMessage()
- func (x *GetLoginResponse) ProtoReflect() protoreflect.Message
- func (x *GetLoginResponse) Reset()
- func (x *GetLoginResponse) String() string
- func (m *GetLoginResponse) Validate() error
- func (m *GetLoginResponse) ValidateAll() error
- type GetLoginResponseMultiError
- type GetLoginResponseValidationError
- func (e GetLoginResponseValidationError) Cause() error
- func (e GetLoginResponseValidationError) Error() string
- func (e GetLoginResponseValidationError) ErrorName() string
- func (e GetLoginResponseValidationError) Field() string
- func (e GetLoginResponseValidationError) Key() bool
- func (e GetLoginResponseValidationError) Reason() string
- type GetLogoutRequest
- func (*GetLogoutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogoutRequest) GetLogoutChallenge() string
- func (*GetLogoutRequest) ProtoMessage()
- func (x *GetLogoutRequest) ProtoReflect() protoreflect.Message
- func (x *GetLogoutRequest) Reset()
- func (x *GetLogoutRequest) String() string
- func (m *GetLogoutRequest) Validate() error
- func (m *GetLogoutRequest) ValidateAll() error
- type GetLogoutRequestMultiError
- type GetLogoutRequestValidationError
- func (e GetLogoutRequestValidationError) Cause() error
- func (e GetLogoutRequestValidationError) Error() string
- func (e GetLogoutRequestValidationError) ErrorName() string
- func (e GetLogoutRequestValidationError) Field() string
- func (e GetLogoutRequestValidationError) Key() bool
- func (e GetLogoutRequestValidationError) Reason() string
- type GetLogoutResponse
- func (*GetLogoutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLogoutResponse) GetChallenge() string
- func (*GetLogoutResponse) ProtoMessage()
- func (x *GetLogoutResponse) ProtoReflect() protoreflect.Message
- func (x *GetLogoutResponse) Reset()
- func (x *GetLogoutResponse) String() string
- func (m *GetLogoutResponse) Validate() error
- func (m *GetLogoutResponse) ValidateAll() error
- type GetLogoutResponseMultiError
- type GetLogoutResponseValidationError
- func (e GetLogoutResponseValidationError) Cause() error
- func (e GetLogoutResponseValidationError) Error() string
- func (e GetLogoutResponseValidationError) ErrorName() string
- func (e GetLogoutResponseValidationError) Field() string
- func (e GetLogoutResponseValidationError) Key() bool
- func (e GetLogoutResponseValidationError) Reason() string
- type GrantConsentRequest
- func (*GrantConsentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GrantConsentRequest) GetChallenge() string
- func (x *GrantConsentRequest) GetGrantScope() []string
- func (x *GrantConsentRequest) GetReject() bool
- func (*GrantConsentRequest) ProtoMessage()
- func (x *GrantConsentRequest) ProtoReflect() protoreflect.Message
- func (x *GrantConsentRequest) Reset()
- func (x *GrantConsentRequest) String() string
- func (m *GrantConsentRequest) Validate() error
- func (m *GrantConsentRequest) ValidateAll() error
- type GrantConsentRequestMultiError
- type GrantConsentRequestValidationError
- func (e GrantConsentRequestValidationError) Cause() error
- func (e GrantConsentRequestValidationError) Error() string
- func (e GrantConsentRequestValidationError) ErrorName() string
- func (e GrantConsentRequestValidationError) Field() string
- func (e GrantConsentRequestValidationError) Key() bool
- func (e GrantConsentRequestValidationError) Reason() string
- type GrantConsentResponse
- func (*GrantConsentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GrantConsentResponse) GetRedirect() string
- func (*GrantConsentResponse) ProtoMessage()
- func (x *GrantConsentResponse) ProtoReflect() protoreflect.Message
- func (x *GrantConsentResponse) Reset()
- func (x *GrantConsentResponse) String() string
- func (m *GrantConsentResponse) Validate() error
- func (m *GrantConsentResponse) ValidateAll() error
- type GrantConsentResponseMultiError
- type GrantConsentResponseValidationError
- func (e GrantConsentResponseValidationError) Cause() error
- func (e GrantConsentResponseValidationError) Error() string
- func (e GrantConsentResponseValidationError) ErrorName() string
- func (e GrantConsentResponseValidationError) Field() string
- func (e GrantConsentResponseValidationError) Key() bool
- func (e GrantConsentResponseValidationError) Reason() string
- type LoginAuthReply
- func (*LoginAuthReply) Descriptor() ([]byte, []int)deprecated
- func (x *LoginAuthReply) GetAccessToken() string
- func (x *LoginAuthReply) GetExpires() int32deprecated
- func (x *LoginAuthReply) GetExpiresIn() int32
- func (x *LoginAuthReply) GetRedirect() string
- func (x *LoginAuthReply) GetRefreshToken() string
- func (x *LoginAuthReply) GetTokenType() string
- func (*LoginAuthReply) ProtoMessage()
- func (x *LoginAuthReply) ProtoReflect() protoreflect.Message
- func (x *LoginAuthReply) Reset()
- func (x *LoginAuthReply) String() string
- func (m *LoginAuthReply) Validate() error
- func (m *LoginAuthReply) ValidateAll() error
- type LoginAuthReplyMultiError
- type LoginAuthReplyValidationError
- func (e LoginAuthReplyValidationError) Cause() error
- func (e LoginAuthReplyValidationError) Error() string
- func (e LoginAuthReplyValidationError) ErrorName() string
- func (e LoginAuthReplyValidationError) Field() string
- func (e LoginAuthReplyValidationError) Key() bool
- func (e LoginAuthReplyValidationError) Reason() string
- type LoginAuthRequest
- func (*LoginAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginAuthRequest) GetPassword() string
- func (x *LoginAuthRequest) GetRemember() bool
- func (x *LoginAuthRequest) GetUsername() string
- func (*LoginAuthRequest) ProtoMessage()
- func (x *LoginAuthRequest) ProtoReflect() protoreflect.Message
- func (x *LoginAuthRequest) Reset()
- func (x *LoginAuthRequest) String() string
- func (x *LoginAuthRequest) StringWithMask(mask string) string
- func (m *LoginAuthRequest) Validate() error
- func (m *LoginAuthRequest) ValidateAll() error
- type LoginAuthRequestMultiError
- type LoginAuthRequestValidationError
- func (e LoginAuthRequestValidationError) Cause() error
- func (e LoginAuthRequestValidationError) Error() string
- func (e LoginAuthRequestValidationError) ErrorName() string
- func (e LoginAuthRequestValidationError) Field() string
- func (e LoginAuthRequestValidationError) Key() bool
- func (e LoginAuthRequestValidationError) Reason() string
- type LoginPasswordlessReply
- func (*LoginPasswordlessReply) Descriptor() ([]byte, []int)deprecated
- func (x *LoginPasswordlessReply) GetAccessToken() string
- func (x *LoginPasswordlessReply) GetExpiresIn() int32
- func (x *LoginPasswordlessReply) GetRefreshToken() string
- func (x *LoginPasswordlessReply) GetTokenType() string
- func (*LoginPasswordlessReply) ProtoMessage()
- func (x *LoginPasswordlessReply) ProtoReflect() protoreflect.Message
- func (x *LoginPasswordlessReply) Reset()
- func (x *LoginPasswordlessReply) String() string
- func (m *LoginPasswordlessReply) Validate() error
- func (m *LoginPasswordlessReply) ValidateAll() error
- type LoginPasswordlessReplyMultiError
- type LoginPasswordlessReplyValidationError
- func (e LoginPasswordlessReplyValidationError) Cause() error
- func (e LoginPasswordlessReplyValidationError) Error() string
- func (e LoginPasswordlessReplyValidationError) ErrorName() string
- func (e LoginPasswordlessReplyValidationError) Field() string
- func (e LoginPasswordlessReplyValidationError) Key() bool
- func (e LoginPasswordlessReplyValidationError) Reason() string
- type LoginPasswordlessRequest
- func (*LoginPasswordlessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginPasswordlessRequest) GetEmail() *wrapperspb.StringValue
- func (x *LoginPasswordlessRequest) GetPhone() *wrapperspb.StringValue
- func (x *LoginPasswordlessRequest) GetToken() string
- func (*LoginPasswordlessRequest) ProtoMessage()
- func (x *LoginPasswordlessRequest) ProtoReflect() protoreflect.Message
- func (x *LoginPasswordlessRequest) Reset()
- func (x *LoginPasswordlessRequest) String() string
- func (m *LoginPasswordlessRequest) Validate() error
- func (m *LoginPasswordlessRequest) ValidateAll() error
- type LoginPasswordlessRequestMultiError
- type LoginPasswordlessRequestValidationError
- func (e LoginPasswordlessRequestValidationError) Cause() error
- func (e LoginPasswordlessRequestValidationError) Error() string
- func (e LoginPasswordlessRequestValidationError) ErrorName() string
- func (e LoginPasswordlessRequestValidationError) Field() string
- func (e LoginPasswordlessRequestValidationError) Key() bool
- func (e LoginPasswordlessRequestValidationError) Reason() string
- type LogoutRequest
- func (*LogoutRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogoutRequest) GetChallenge() string
- func (*LogoutRequest) ProtoMessage()
- func (x *LogoutRequest) ProtoReflect() protoreflect.Message
- func (x *LogoutRequest) Reset()
- func (x *LogoutRequest) String() string
- func (m *LogoutRequest) Validate() error
- func (m *LogoutRequest) ValidateAll() error
- type LogoutRequestMultiError
- type LogoutRequestValidationError
- func (e LogoutRequestValidationError) Cause() error
- func (e LogoutRequestValidationError) Error() string
- func (e LogoutRequestValidationError) ErrorName() string
- func (e LogoutRequestValidationError) Field() string
- func (e LogoutRequestValidationError) Key() bool
- func (e LogoutRequestValidationError) Reason() string
- type LogoutResponse
- func (*LogoutResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LogoutResponse) GetRedirect() string
- func (*LogoutResponse) ProtoMessage()
- func (x *LogoutResponse) ProtoReflect() protoreflect.Message
- func (x *LogoutResponse) Reset()
- func (x *LogoutResponse) String() string
- func (m *LogoutResponse) Validate() error
- func (m *LogoutResponse) ValidateAll() error
- type LogoutResponseMultiError
- type LogoutResponseValidationError
- func (e LogoutResponseValidationError) Cause() error
- func (e LogoutResponseValidationError) Error() string
- func (e LogoutResponseValidationError) ErrorName() string
- func (e LogoutResponseValidationError) Field() string
- func (e LogoutResponseValidationError) Key() bool
- func (e LogoutResponseValidationError) Reason() string
- type OAuthClient
- func (*OAuthClient) Descriptor() ([]byte, []int)deprecated
- func (x *OAuthClient) GetId() string
- func (x *OAuthClient) GetLogoUrl() string
- func (x *OAuthClient) GetMetadata() *structpb.Struct
- func (x *OAuthClient) GetName() string
- func (*OAuthClient) ProtoMessage()
- func (x *OAuthClient) ProtoReflect() protoreflect.Message
- func (x *OAuthClient) Reset()
- func (x *OAuthClient) String() string
- func (m *OAuthClient) Validate() error
- func (m *OAuthClient) ValidateAll() error
- type OAuthClientMultiError
- type OAuthClientValidationError
- func (e OAuthClientValidationError) Cause() error
- func (e OAuthClientValidationError) Error() string
- func (e OAuthClientValidationError) ErrorName() string
- func (e OAuthClientValidationError) Field() string
- func (e OAuthClientValidationError) Key() bool
- func (e OAuthClientValidationError) Reason() string
- type OAuthProvider
- func (*OAuthProvider) Descriptor() ([]byte, []int)deprecated
- func (x *OAuthProvider) GetName() string
- func (*OAuthProvider) ProtoMessage()
- func (x *OAuthProvider) ProtoReflect() protoreflect.Message
- func (x *OAuthProvider) Reset()
- func (x *OAuthProvider) String() string
- func (m *OAuthProvider) Validate() error
- func (m *OAuthProvider) ValidateAll() error
- type OAuthProviderMultiError
- type OAuthProviderValidationError
- func (e OAuthProviderValidationError) Cause() error
- func (e OAuthProviderValidationError) Error() string
- func (e OAuthProviderValidationError) ErrorName() string
- func (e OAuthProviderValidationError) Field() string
- func (e OAuthProviderValidationError) Key() bool
- func (e OAuthProviderValidationError) Reason() string
- type PasswordlessTokenAuthReply
- func (*PasswordlessTokenAuthReply) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordlessTokenAuthReply) GetExpire() *durationpb.Duration
- func (*PasswordlessTokenAuthReply) ProtoMessage()
- func (x *PasswordlessTokenAuthReply) ProtoReflect() protoreflect.Message
- func (x *PasswordlessTokenAuthReply) Reset()
- func (x *PasswordlessTokenAuthReply) String() string
- func (m *PasswordlessTokenAuthReply) Validate() error
- func (m *PasswordlessTokenAuthReply) ValidateAll() error
- type PasswordlessTokenAuthReplyMultiError
- type PasswordlessTokenAuthReplyValidationError
- func (e PasswordlessTokenAuthReplyValidationError) Cause() error
- func (e PasswordlessTokenAuthReplyValidationError) Error() string
- func (e PasswordlessTokenAuthReplyValidationError) ErrorName() string
- func (e PasswordlessTokenAuthReplyValidationError) Field() string
- func (e PasswordlessTokenAuthReplyValidationError) Key() bool
- func (e PasswordlessTokenAuthReplyValidationError) Reason() string
- type PasswordlessTokenAuthRequest
- func (*PasswordlessTokenAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PasswordlessTokenAuthRequest) GetEmail() *wrapperspb.StringValue
- func (x *PasswordlessTokenAuthRequest) GetPhone() *wrapperspb.StringValue
- func (*PasswordlessTokenAuthRequest) ProtoMessage()
- func (x *PasswordlessTokenAuthRequest) ProtoReflect() protoreflect.Message
- func (x *PasswordlessTokenAuthRequest) Reset()
- func (x *PasswordlessTokenAuthRequest) String() string
- func (m *PasswordlessTokenAuthRequest) Validate() error
- func (m *PasswordlessTokenAuthRequest) ValidateAll() error
- type PasswordlessTokenAuthRequestMultiError
- type PasswordlessTokenAuthRequestValidationError
- func (e PasswordlessTokenAuthRequestValidationError) Cause() error
- func (e PasswordlessTokenAuthRequestValidationError) Error() string
- func (e PasswordlessTokenAuthRequestValidationError) ErrorName() string
- func (e PasswordlessTokenAuthRequestValidationError) Field() string
- func (e PasswordlessTokenAuthRequestValidationError) Key() bool
- func (e PasswordlessTokenAuthRequestValidationError) Reason() string
- type RefreshRememberTokenReply
- func (*RefreshRememberTokenReply) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshRememberTokenReply) GetNewRmToken() string
- func (x *RefreshRememberTokenReply) GetUserId() string
- func (*RefreshRememberTokenReply) ProtoMessage()
- func (x *RefreshRememberTokenReply) ProtoReflect() protoreflect.Message
- func (x *RefreshRememberTokenReply) Reset()
- func (x *RefreshRememberTokenReply) String() string
- func (m *RefreshRememberTokenReply) Validate() error
- func (m *RefreshRememberTokenReply) ValidateAll() error
- type RefreshRememberTokenReplyMultiError
- type RefreshRememberTokenReplyValidationError
- func (e RefreshRememberTokenReplyValidationError) Cause() error
- func (e RefreshRememberTokenReplyValidationError) Error() string
- func (e RefreshRememberTokenReplyValidationError) ErrorName() string
- func (e RefreshRememberTokenReplyValidationError) Field() string
- func (e RefreshRememberTokenReplyValidationError) Key() bool
- func (e RefreshRememberTokenReplyValidationError) Reason() string
- type RefreshRememberTokenRequest
- func (*RefreshRememberTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshRememberTokenRequest) GetRmToken() string
- func (*RefreshRememberTokenRequest) ProtoMessage()
- func (x *RefreshRememberTokenRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshRememberTokenRequest) Reset()
- func (x *RefreshRememberTokenRequest) String() string
- func (m *RefreshRememberTokenRequest) Validate() error
- func (m *RefreshRememberTokenRequest) ValidateAll() error
- type RefreshRememberTokenRequestMultiError
- type RefreshRememberTokenRequestValidationError
- func (e RefreshRememberTokenRequestValidationError) Cause() error
- func (e RefreshRememberTokenRequestValidationError) Error() string
- func (e RefreshRememberTokenRequestValidationError) ErrorName() string
- func (e RefreshRememberTokenRequestValidationError) Field() string
- func (e RefreshRememberTokenRequestValidationError) Key() bool
- func (e RefreshRememberTokenRequestValidationError) Reason() string
- type RefreshTokenAuthReply
- func (*RefreshTokenAuthReply) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenAuthReply) GetAccessToken() string
- func (x *RefreshTokenAuthReply) GetExpiresIn() int32
- func (x *RefreshTokenAuthReply) GetRefreshToken() string
- func (x *RefreshTokenAuthReply) GetTokenType() string
- func (*RefreshTokenAuthReply) ProtoMessage()
- func (x *RefreshTokenAuthReply) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenAuthReply) Reset()
- func (x *RefreshTokenAuthReply) String() string
- func (m *RefreshTokenAuthReply) Validate() error
- func (m *RefreshTokenAuthReply) ValidateAll() error
- type RefreshTokenAuthReplyMultiError
- type RefreshTokenAuthReplyValidationError
- func (e RefreshTokenAuthReplyValidationError) Cause() error
- func (e RefreshTokenAuthReplyValidationError) Error() string
- func (e RefreshTokenAuthReplyValidationError) ErrorName() string
- func (e RefreshTokenAuthReplyValidationError) Field() string
- func (e RefreshTokenAuthReplyValidationError) Key() bool
- func (e RefreshTokenAuthReplyValidationError) Reason() string
- type RefreshTokenAuthRequest
- func (*RefreshTokenAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenAuthRequest) GetRefreshToken() string
- func (*RefreshTokenAuthRequest) ProtoMessage()
- func (x *RefreshTokenAuthRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenAuthRequest) Reset()
- func (x *RefreshTokenAuthRequest) String() string
- func (m *RefreshTokenAuthRequest) Validate() error
- func (m *RefreshTokenAuthRequest) ValidateAll() error
- type RefreshTokenAuthRequestMultiError
- type RefreshTokenAuthRequestValidationError
- func (e RefreshTokenAuthRequestValidationError) Cause() error
- func (e RefreshTokenAuthRequestValidationError) Error() string
- func (e RefreshTokenAuthRequestValidationError) ErrorName() string
- func (e RefreshTokenAuthRequestValidationError) Field() string
- func (e RefreshTokenAuthRequestValidationError) Key() bool
- func (e RefreshTokenAuthRequestValidationError) Reason() string
- type RegisterAuthReply
- func (*RegisterAuthReply) Descriptor() ([]byte, []int)deprecated
- func (*RegisterAuthReply) ProtoMessage()
- func (x *RegisterAuthReply) ProtoReflect() protoreflect.Message
- func (x *RegisterAuthReply) Reset()
- func (x *RegisterAuthReply) String() string
- func (m *RegisterAuthReply) Validate() error
- func (m *RegisterAuthReply) ValidateAll() error
- type RegisterAuthReplyMultiError
- type RegisterAuthReplyValidationError
- func (e RegisterAuthReplyValidationError) Cause() error
- func (e RegisterAuthReplyValidationError) Error() string
- func (e RegisterAuthReplyValidationError) ErrorName() string
- func (e RegisterAuthReplyValidationError) Field() string
- func (e RegisterAuthReplyValidationError) Key() bool
- func (e RegisterAuthReplyValidationError) Reason() string
- type RegisterAuthRequest
- func (*RegisterAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (*RegisterAuthRequest) ProtoMessage()
- func (x *RegisterAuthRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterAuthRequest) Reset()
- func (x *RegisterAuthRequest) String() string
- func (m *RegisterAuthRequest) Validate() error
- func (m *RegisterAuthRequest) ValidateAll() error
- type RegisterAuthRequestMultiError
- type RegisterAuthRequestValidationError
- func (e RegisterAuthRequestValidationError) Cause() error
- func (e RegisterAuthRequestValidationError) Error() string
- func (e RegisterAuthRequestValidationError) ErrorName() string
- func (e RegisterAuthRequestValidationError) Field() string
- func (e RegisterAuthRequestValidationError) Key() bool
- func (e RegisterAuthRequestValidationError) Reason() string
- type TokenReply
- func (*TokenReply) Descriptor() ([]byte, []int)deprecated
- func (x *TokenReply) GetAccessToken() string
- func (x *TokenReply) GetExpiresIn() int32
- func (x *TokenReply) GetRefreshToken() string
- func (x *TokenReply) GetTokenType() string
- func (*TokenReply) ProtoMessage()
- func (x *TokenReply) ProtoReflect() protoreflect.Message
- func (x *TokenReply) Reset()
- func (x *TokenReply) String() string
- func (m *TokenReply) Validate() error
- func (m *TokenReply) ValidateAll() error
- type TokenReplyMultiError
- type TokenReplyValidationError
- type TokenRequest
- func (*TokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TokenRequest) GetGrantType() string
- func (x *TokenRequest) GetPassword() string
- func (x *TokenRequest) GetRefreshToken() string
- func (x *TokenRequest) GetUsername() string
- func (*TokenRequest) ProtoMessage()
- func (x *TokenRequest) ProtoReflect() protoreflect.Message
- func (x *TokenRequest) Reset()
- func (x *TokenRequest) String() string
- func (x *TokenRequest) StringWithMask(mask string) string
- func (m *TokenRequest) Validate() error
- func (m *TokenRequest) ValidateAll() error
- type TokenRequestMultiError
- type TokenRequestValidationError
- func (e TokenRequestValidationError) Cause() error
- func (e TokenRequestValidationError) Error() string
- func (e TokenRequestValidationError) ErrorName() string
- func (e TokenRequestValidationError) Field() string
- func (e TokenRequestValidationError) Key() bool
- func (e TokenRequestValidationError) Reason() string
- type UnimplementedAuthServer
- func (UnimplementedAuthServer) ChangePasswordByForget(context.Context, *ChangePasswordByForgetRequest) (*ChangePasswordByForgetReply, error)
- func (UnimplementedAuthServer) ChangePasswordByPre(context.Context, *ChangePasswordByPreRequest) (*ChangePasswordByPreReply, error)
- func (UnimplementedAuthServer) ForgetPassword(context.Context, *ForgetPasswordRequest) (*ForgetPasswordReply, error)
- func (UnimplementedAuthServer) GetCsrfToken(context.Context, *GetCsrfTokenRequest) (*GetCsrfTokenResponse, error)
- func (UnimplementedAuthServer) GetLogin(context.Context, *GetLoginRequest) (*GetLoginResponse, error)
- func (UnimplementedAuthServer) Login(context.Context, *LoginAuthRequest) (*LoginAuthReply, error)
- func (UnimplementedAuthServer) LoginPasswordless(context.Context, *LoginPasswordlessRequest) (*LoginPasswordlessReply, error)
- func (UnimplementedAuthServer) Refresh(context.Context, *RefreshTokenAuthRequest) (*RefreshTokenAuthReply, error)
- func (UnimplementedAuthServer) RefreshRememberToken(context.Context, *RefreshRememberTokenRequest) (*RefreshRememberTokenReply, error)
- func (UnimplementedAuthServer) Register(context.Context, *RegisterAuthRequest) (*RegisterAuthReply, error)
- func (UnimplementedAuthServer) SendForgetPasswordToken(context.Context, *ForgetPasswordTokenRequest) (*ForgetPasswordTokenReply, error)
- func (UnimplementedAuthServer) SendPasswordlessToken(context.Context, *PasswordlessTokenAuthRequest) (*PasswordlessTokenAuthReply, error)
- func (UnimplementedAuthServer) Token(context.Context, *TokenRequest) (*TokenReply, error)
- func (UnimplementedAuthServer) ValidatePassword(context.Context, *ValidatePasswordRequest) (*ValidatePasswordReply, error)
- type UnimplementedAuthWebServer
- func (UnimplementedAuthWebServer) GetConsent(context.Context, *GetConsentRequest) (*GetConsentResponse, error)
- func (UnimplementedAuthWebServer) GetWebLogin(context.Context, *GetLoginRequest) (*GetLoginResponse, error)
- func (UnimplementedAuthWebServer) GetWebLogout(context.Context, *GetLogoutRequest) (*GetLogoutResponse, error)
- func (UnimplementedAuthWebServer) GrantConsent(context.Context, *GrantConsentRequest) (*GrantConsentResponse, error)
- func (UnimplementedAuthWebServer) WebLogin(context.Context, *WebLoginAuthRequest) (*WebLoginAuthReply, error)
- func (UnimplementedAuthWebServer) WebLogout(context.Context, *LogoutRequest) (*LogoutResponse, error)
- type UnsafeAuthServer
- type UnsafeAuthWebServer
- type ValidatePasswordReply
- func (*ValidatePasswordReply) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatePasswordReply) GetOk() bool
- func (*ValidatePasswordReply) ProtoMessage()
- func (x *ValidatePasswordReply) ProtoReflect() protoreflect.Message
- func (x *ValidatePasswordReply) Reset()
- func (x *ValidatePasswordReply) String() string
- func (m *ValidatePasswordReply) Validate() error
- func (m *ValidatePasswordReply) ValidateAll() error
- type ValidatePasswordReplyMultiError
- type ValidatePasswordReplyValidationError
- func (e ValidatePasswordReplyValidationError) Cause() error
- func (e ValidatePasswordReplyValidationError) Error() string
- func (e ValidatePasswordReplyValidationError) ErrorName() string
- func (e ValidatePasswordReplyValidationError) Field() string
- func (e ValidatePasswordReplyValidationError) Key() bool
- func (e ValidatePasswordReplyValidationError) Reason() string
- type ValidatePasswordRequest
- func (*ValidatePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatePasswordRequest) GetPassword() string
- func (*ValidatePasswordRequest) ProtoMessage()
- func (x *ValidatePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ValidatePasswordRequest) Reset()
- func (x *ValidatePasswordRequest) String() string
- func (x *ValidatePasswordRequest) StringWithMask(mask string) string
- func (m *ValidatePasswordRequest) Validate() error
- func (m *ValidatePasswordRequest) ValidateAll() error
- type ValidatePasswordRequestMultiError
- type ValidatePasswordRequestValidationError
- func (e ValidatePasswordRequestValidationError) Cause() error
- func (e ValidatePasswordRequestValidationError) Error() string
- func (e ValidatePasswordRequestValidationError) ErrorName() string
- func (e ValidatePasswordRequestValidationError) Field() string
- func (e ValidatePasswordRequestValidationError) Key() bool
- func (e ValidatePasswordRequestValidationError) Reason() string
- type WebLoginAuthReply
- func (*WebLoginAuthReply) Descriptor() ([]byte, []int)deprecated
- func (x *WebLoginAuthReply) GetAccessToken() string
- func (x *WebLoginAuthReply) GetExpires() int32
- func (x *WebLoginAuthReply) GetExpiresIn() int32
- func (x *WebLoginAuthReply) GetRedirect() string
- func (x *WebLoginAuthReply) GetRefreshToken() string
- func (x *WebLoginAuthReply) GetTokenType() string
- func (*WebLoginAuthReply) ProtoMessage()
- func (x *WebLoginAuthReply) ProtoReflect() protoreflect.Message
- func (x *WebLoginAuthReply) Reset()
- func (x *WebLoginAuthReply) String() string
- func (m *WebLoginAuthReply) Validate() error
- func (m *WebLoginAuthReply) ValidateAll() error
- type WebLoginAuthReplyMultiError
- type WebLoginAuthReplyValidationError
- func (e WebLoginAuthReplyValidationError) Cause() error
- func (e WebLoginAuthReplyValidationError) Error() string
- func (e WebLoginAuthReplyValidationError) ErrorName() string
- func (e WebLoginAuthReplyValidationError) Field() string
- func (e WebLoginAuthReplyValidationError) Key() bool
- func (e WebLoginAuthReplyValidationError) Reason() string
- type WebLoginAuthRequest
- func (*WebLoginAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WebLoginAuthRequest) GetChallenge() string
- func (x *WebLoginAuthRequest) GetPassword() string
- func (x *WebLoginAuthRequest) GetReject() bool
- func (x *WebLoginAuthRequest) GetRemember() bool
- func (x *WebLoginAuthRequest) GetUsername() string
- func (*WebLoginAuthRequest) ProtoMessage()
- func (x *WebLoginAuthRequest) ProtoReflect() protoreflect.Message
- func (x *WebLoginAuthRequest) Reset()
- func (x *WebLoginAuthRequest) String() string
- func (x *WebLoginAuthRequest) StringWithMask(mask string) string
- func (m *WebLoginAuthRequest) Validate() error
- func (m *WebLoginAuthRequest) ValidateAll() error
- type WebLoginAuthRequestMultiError
- type WebLoginAuthRequestValidationError
- func (e WebLoginAuthRequestValidationError) Cause() error
- func (e WebLoginAuthRequestValidationError) Error() string
- func (e WebLoginAuthRequestValidationError) ErrorName() string
- func (e WebLoginAuthRequestValidationError) Field() string
- func (e WebLoginAuthRequestValidationError) Key() bool
- func (e WebLoginAuthRequestValidationError) Reason() string
Constants ¶
const OperationAuthChangePasswordByForget = "/user.api.auth.v1.Auth/ChangePasswordByForget"
const OperationAuthChangePasswordByPre = "/user.api.auth.v1.Auth/ChangePasswordByPre"
const OperationAuthForgetPassword = "/user.api.auth.v1.Auth/ForgetPassword"
const OperationAuthGetCsrfToken = "/user.api.auth.v1.Auth/GetCsrfToken"
const OperationAuthGetLogin = "/user.api.auth.v1.Auth/GetLogin"
const OperationAuthLogin = "/user.api.auth.v1.Auth/Login"
const OperationAuthLoginPasswordless = "/user.api.auth.v1.Auth/LoginPasswordless"
const OperationAuthRefresh = "/user.api.auth.v1.Auth/Refresh"
const OperationAuthRegister = "/user.api.auth.v1.Auth/Register"
const OperationAuthSendForgetPasswordToken = "/user.api.auth.v1.Auth/SendForgetPasswordToken"
const OperationAuthSendPasswordlessToken = "/user.api.auth.v1.Auth/SendPasswordlessToken"
const OperationAuthToken = "/user.api.auth.v1.Auth/Token"
const OperationAuthValidatePassword = "/user.api.auth.v1.Auth/ValidatePassword"
const OperationAuthWebGetConsent = "/user.api.auth.v1.AuthWeb/GetConsent"
const OperationAuthWebGetWebLogin = "/user.api.auth.v1.AuthWeb/GetWebLogin"
const OperationAuthWebGetWebLogout = "/user.api.auth.v1.AuthWeb/GetWebLogout"
const OperationAuthWebGrantConsent = "/user.api.auth.v1.AuthWeb/GrantConsent"
const OperationAuthWebWebLogin = "/user.api.auth.v1.AuthWeb/WebLogin"
const OperationAuthWebWebLogout = "/user.api.auth.v1.AuthWeb/WebLogout"
Variables ¶
var ( ErrorReason_name = map[int32]string{ 0: "INVALID_CREDENTIALS", 1: "INVALID_OPERATION", 2: "USER_LOCKED", 3: "EMAIL_NOT_CONFIRMED", 4: "PHONE_NOT_CONFIRMED", 5: "EMAIL_RECOVER_FAILED", 6: "EMAIL_CONFIRM_FAILED", 7: "PHONE_RECOVER_FAILED", 8: "PHONE_CONFIRM_FAILED", 9: "TWO_STEP_FAILED", 10: "CONFIRM_PASSWORD_MISMATCH", 11: "REMEMBER_TOKEN_NOT_FOUND", 14: "REMEMBER_TOKEN_USED", 12: "USER_DELETED", 13: "REFRESH_TOKEN_INVALID", } ErrorReason_value = map[string]int32{ "INVALID_CREDENTIALS": 0, "INVALID_OPERATION": 1, "USER_LOCKED": 2, "EMAIL_NOT_CONFIRMED": 3, "PHONE_NOT_CONFIRMED": 4, "EMAIL_RECOVER_FAILED": 5, "EMAIL_CONFIRM_FAILED": 6, "PHONE_RECOVER_FAILED": 7, "PHONE_CONFIRM_FAILED": 8, "TWO_STEP_FAILED": 9, "CONFIRM_PASSWORD_MISMATCH": 10, "REMEMBER_TOKEN_NOT_FOUND": 11, "REMEMBER_TOKEN_USED": 14, "USER_DELETED": 12, "REFRESH_TOKEN_INVALID": 13, } )
Enum value maps for ErrorReason.
var AuthWeb_ServiceDesc = grpc.ServiceDesc{ ServiceName: "user.api.auth.v1.AuthWeb", HandlerType: (*AuthWebServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetWebLogin", Handler: _AuthWeb_GetWebLogin_Handler, }, { MethodName: "WebLogin", Handler: _AuthWeb_WebLogin_Handler, }, { MethodName: "GetWebLogout", Handler: _AuthWeb_GetWebLogout_Handler, }, { MethodName: "WebLogout", Handler: _AuthWeb_WebLogout_Handler, }, { MethodName: "GetConsent", Handler: _AuthWeb_GetConsent_Handler, }, { MethodName: "GrantConsent", Handler: _AuthWeb_GrantConsent_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user/api/auth/v1/web.proto", }
AuthWeb_ServiceDesc is the grpc.ServiceDesc for AuthWeb service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Auth_ServiceDesc = grpc.ServiceDesc{ ServiceName: "user.api.auth.v1.Auth", HandlerType: (*AuthServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _Auth_Register_Handler, }, { MethodName: "Login", Handler: _Auth_Login_Handler, }, { MethodName: "GetLogin", Handler: _Auth_GetLogin_Handler, }, { MethodName: "Token", Handler: _Auth_Token_Handler, }, { MethodName: "Refresh", Handler: _Auth_Refresh_Handler, }, { MethodName: "SendPasswordlessToken", Handler: _Auth_SendPasswordlessToken_Handler, }, { MethodName: "LoginPasswordless", Handler: _Auth_LoginPasswordless_Handler, }, { MethodName: "SendForgetPasswordToken", Handler: _Auth_SendForgetPasswordToken_Handler, }, { MethodName: "ForgetPassword", Handler: _Auth_ForgetPassword_Handler, }, { MethodName: "ChangePasswordByForget", Handler: _Auth_ChangePasswordByForget_Handler, }, { MethodName: "ValidatePassword", Handler: _Auth_ValidatePassword_Handler, }, { MethodName: "ChangePasswordByPre", Handler: _Auth_ChangePasswordByPre_Handler, }, { MethodName: "GetCsrfToken", Handler: _Auth_GetCsrfToken_Handler, }, { MethodName: "RefreshRememberToken", Handler: _Auth_RefreshRememberToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user/api/auth/v1/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_user_api_auth_v1_auth_proto protoreflect.FileDescriptor
var File_user_api_auth_v1_error_reason_proto protoreflect.FileDescriptor
var File_user_api_auth_v1_web_proto protoreflect.FileDescriptor
Functions ¶
func ErrorEmailConfirmFailed ¶
func ErrorEmailNotConfirmed ¶
func ErrorEmailRecoverFailed ¶
func ErrorInvalidCredentials ¶
func ErrorInvalidOperation ¶
func ErrorPhoneConfirmFailed ¶
func ErrorPhoneNotConfirmed ¶
func ErrorPhoneRecoverFailed ¶
func ErrorRememberTokenUsed ¶
func ErrorTwoStepFailed ¶
func ErrorUserDeleted ¶
func ErrorUserLocked ¶
func IsEmailConfirmFailed ¶
func IsEmailNotConfirmed ¶
func IsEmailRecoverFailed ¶
func IsInvalidCredentials ¶
func IsInvalidOperation ¶
func IsPhoneConfirmFailed ¶
func IsPhoneNotConfirmed ¶
func IsPhoneRecoverFailed ¶
func IsRefreshTokenInvalid ¶
func IsRememberTokenNotFound ¶
func IsRememberTokenUsed ¶
func IsTwoStepFailed ¶
func IsUserDeleted ¶
func IsUserLocked ¶
func RegisterAuthHTTPServer ¶
func RegisterAuthHTTPServer(s *http.Server, srv AuthHTTPServer)
func RegisterAuthServer ¶
func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)
func RegisterAuthWebHTTPServer ¶
func RegisterAuthWebHTTPServer(s *http.Server, srv AuthWebHTTPServer)
func RegisterAuthWebServer ¶
func RegisterAuthWebServer(s grpc.ServiceRegistrar, srv AuthWebServer)
Types ¶
type AuthClient ¶
type AuthClient interface { Register(ctx context.Context, in *RegisterAuthRequest, opts ...grpc.CallOption) (*RegisterAuthReply, error) Login(ctx context.Context, in *LoginAuthRequest, opts ...grpc.CallOption) (*LoginAuthReply, error) GetLogin(ctx context.Context, in *GetLoginRequest, opts ...grpc.CallOption) (*GetLoginResponse, error) Token(ctx context.Context, in *TokenRequest, opts ...grpc.CallOption) (*TokenReply, error) Refresh(ctx context.Context, in *RefreshTokenAuthRequest, opts ...grpc.CallOption) (*RefreshTokenAuthReply, error) SendPasswordlessToken(ctx context.Context, in *PasswordlessTokenAuthRequest, opts ...grpc.CallOption) (*PasswordlessTokenAuthReply, error) LoginPasswordless(ctx context.Context, in *LoginPasswordlessRequest, opts ...grpc.CallOption) (*LoginPasswordlessReply, error) SendForgetPasswordToken(ctx context.Context, in *ForgetPasswordTokenRequest, opts ...grpc.CallOption) (*ForgetPasswordTokenReply, error) //ForgetPassword //verify forget password token ForgetPassword(ctx context.Context, in *ForgetPasswordRequest, opts ...grpc.CallOption) (*ForgetPasswordReply, error) ChangePasswordByForget(ctx context.Context, in *ChangePasswordByForgetRequest, opts ...grpc.CallOption) (*ChangePasswordByForgetReply, error) //ValidatePassword // server validation for password strength ValidatePassword(ctx context.Context, in *ValidatePasswordRequest, opts ...grpc.CallOption) (*ValidatePasswordReply, error) ChangePasswordByPre(ctx context.Context, in *ChangePasswordByPreRequest, opts ...grpc.CallOption) (*ChangePasswordByPreReply, error) GetCsrfToken(ctx context.Context, in *GetCsrfTokenRequest, opts ...grpc.CallOption) (*GetCsrfTokenResponse, error) //RefreshRememberToken internal api for refresh remember token RefreshRememberToken(ctx context.Context, in *RefreshRememberTokenRequest, opts ...grpc.CallOption) (*RefreshRememberTokenReply, 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 AuthHTTPClient ¶
type AuthHTTPClient interface { ChangePasswordByForget(ctx context.Context, req *ChangePasswordByForgetRequest, opts ...http.CallOption) (rsp *ChangePasswordByForgetReply, err error) ChangePasswordByPre(ctx context.Context, req *ChangePasswordByPreRequest, opts ...http.CallOption) (rsp *ChangePasswordByPreReply, err error) ForgetPassword(ctx context.Context, req *ForgetPasswordRequest, opts ...http.CallOption) (rsp *ForgetPasswordReply, err error) GetCsrfToken(ctx context.Context, req *GetCsrfTokenRequest, opts ...http.CallOption) (rsp *GetCsrfTokenResponse, err error) GetLogin(ctx context.Context, req *GetLoginRequest, opts ...http.CallOption) (rsp *GetLoginResponse, err error) Login(ctx context.Context, req *LoginAuthRequest, opts ...http.CallOption) (rsp *LoginAuthReply, err error) LoginPasswordless(ctx context.Context, req *LoginPasswordlessRequest, opts ...http.CallOption) (rsp *LoginPasswordlessReply, err error) Refresh(ctx context.Context, req *RefreshTokenAuthRequest, opts ...http.CallOption) (rsp *RefreshTokenAuthReply, err error) Register(ctx context.Context, req *RegisterAuthRequest, opts ...http.CallOption) (rsp *RegisterAuthReply, err error) SendForgetPasswordToken(ctx context.Context, req *ForgetPasswordTokenRequest, opts ...http.CallOption) (rsp *ForgetPasswordTokenReply, err error) SendPasswordlessToken(ctx context.Context, req *PasswordlessTokenAuthRequest, opts ...http.CallOption) (rsp *PasswordlessTokenAuthReply, err error) Token(ctx context.Context, req *TokenRequest, opts ...http.CallOption) (rsp *TokenReply, err error) ValidatePassword(ctx context.Context, req *ValidatePasswordRequest, opts ...http.CallOption) (rsp *ValidatePasswordReply, err error) }
func NewAuthHTTPClient ¶
func NewAuthHTTPClient(client *http.Client) AuthHTTPClient
type AuthHTTPClientImpl ¶
type AuthHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*AuthHTTPClientImpl) ChangePasswordByForget ¶
func (c *AuthHTTPClientImpl) ChangePasswordByForget(ctx context.Context, in *ChangePasswordByForgetRequest, opts ...http.CallOption) (*ChangePasswordByForgetReply, error)
func (*AuthHTTPClientImpl) ChangePasswordByPre ¶
func (c *AuthHTTPClientImpl) ChangePasswordByPre(ctx context.Context, in *ChangePasswordByPreRequest, opts ...http.CallOption) (*ChangePasswordByPreReply, error)
func (*AuthHTTPClientImpl) ForgetPassword ¶
func (c *AuthHTTPClientImpl) ForgetPassword(ctx context.Context, in *ForgetPasswordRequest, opts ...http.CallOption) (*ForgetPasswordReply, error)
func (*AuthHTTPClientImpl) GetCsrfToken ¶
func (c *AuthHTTPClientImpl) GetCsrfToken(ctx context.Context, in *GetCsrfTokenRequest, opts ...http.CallOption) (*GetCsrfTokenResponse, error)
func (*AuthHTTPClientImpl) GetLogin ¶
func (c *AuthHTTPClientImpl) GetLogin(ctx context.Context, in *GetLoginRequest, opts ...http.CallOption) (*GetLoginResponse, error)
func (*AuthHTTPClientImpl) Login ¶
func (c *AuthHTTPClientImpl) Login(ctx context.Context, in *LoginAuthRequest, opts ...http.CallOption) (*LoginAuthReply, error)
func (*AuthHTTPClientImpl) LoginPasswordless ¶
func (c *AuthHTTPClientImpl) LoginPasswordless(ctx context.Context, in *LoginPasswordlessRequest, opts ...http.CallOption) (*LoginPasswordlessReply, error)
func (*AuthHTTPClientImpl) Refresh ¶
func (c *AuthHTTPClientImpl) Refresh(ctx context.Context, in *RefreshTokenAuthRequest, opts ...http.CallOption) (*RefreshTokenAuthReply, error)
func (*AuthHTTPClientImpl) Register ¶
func (c *AuthHTTPClientImpl) Register(ctx context.Context, in *RegisterAuthRequest, opts ...http.CallOption) (*RegisterAuthReply, error)
func (*AuthHTTPClientImpl) SendForgetPasswordToken ¶
func (c *AuthHTTPClientImpl) SendForgetPasswordToken(ctx context.Context, in *ForgetPasswordTokenRequest, opts ...http.CallOption) (*ForgetPasswordTokenReply, error)
func (*AuthHTTPClientImpl) SendPasswordlessToken ¶
func (c *AuthHTTPClientImpl) SendPasswordlessToken(ctx context.Context, in *PasswordlessTokenAuthRequest, opts ...http.CallOption) (*PasswordlessTokenAuthReply, error)
func (*AuthHTTPClientImpl) Token ¶
func (c *AuthHTTPClientImpl) Token(ctx context.Context, in *TokenRequest, opts ...http.CallOption) (*TokenReply, error)
func (*AuthHTTPClientImpl) ValidatePassword ¶
func (c *AuthHTTPClientImpl) ValidatePassword(ctx context.Context, in *ValidatePasswordRequest, opts ...http.CallOption) (*ValidatePasswordReply, error)
type AuthHTTPServer ¶
type AuthHTTPServer interface { ChangePasswordByForget(context.Context, *ChangePasswordByForgetRequest) (*ChangePasswordByForgetReply, error) ChangePasswordByPre(context.Context, *ChangePasswordByPreRequest) (*ChangePasswordByPreReply, error) ForgetPassword(context.Context, *ForgetPasswordRequest) (*ForgetPasswordReply, error) GetCsrfToken(context.Context, *GetCsrfTokenRequest) (*GetCsrfTokenResponse, error) GetLogin(context.Context, *GetLoginRequest) (*GetLoginResponse, error) Login(context.Context, *LoginAuthRequest) (*LoginAuthReply, error) LoginPasswordless(context.Context, *LoginPasswordlessRequest) (*LoginPasswordlessReply, error) Refresh(context.Context, *RefreshTokenAuthRequest) (*RefreshTokenAuthReply, error) Register(context.Context, *RegisterAuthRequest) (*RegisterAuthReply, error) SendForgetPasswordToken(context.Context, *ForgetPasswordTokenRequest) (*ForgetPasswordTokenReply, error) SendPasswordlessToken(context.Context, *PasswordlessTokenAuthRequest) (*PasswordlessTokenAuthReply, error) Token(context.Context, *TokenRequest) (*TokenReply, error) ValidatePassword(context.Context, *ValidatePasswordRequest) (*ValidatePasswordReply, error) }
type AuthServer ¶
type AuthServer interface { Register(context.Context, *RegisterAuthRequest) (*RegisterAuthReply, error) Login(context.Context, *LoginAuthRequest) (*LoginAuthReply, error) GetLogin(context.Context, *GetLoginRequest) (*GetLoginResponse, error) Token(context.Context, *TokenRequest) (*TokenReply, error) Refresh(context.Context, *RefreshTokenAuthRequest) (*RefreshTokenAuthReply, error) SendPasswordlessToken(context.Context, *PasswordlessTokenAuthRequest) (*PasswordlessTokenAuthReply, error) LoginPasswordless(context.Context, *LoginPasswordlessRequest) (*LoginPasswordlessReply, error) SendForgetPasswordToken(context.Context, *ForgetPasswordTokenRequest) (*ForgetPasswordTokenReply, error) //ForgetPassword //verify forget password token ForgetPassword(context.Context, *ForgetPasswordRequest) (*ForgetPasswordReply, error) ChangePasswordByForget(context.Context, *ChangePasswordByForgetRequest) (*ChangePasswordByForgetReply, error) //ValidatePassword // server validation for password strength ValidatePassword(context.Context, *ValidatePasswordRequest) (*ValidatePasswordReply, error) ChangePasswordByPre(context.Context, *ChangePasswordByPreRequest) (*ChangePasswordByPreReply, error) GetCsrfToken(context.Context, *GetCsrfTokenRequest) (*GetCsrfTokenResponse, error) //RefreshRememberToken internal api for refresh remember token RefreshRememberToken(context.Context, *RefreshRememberTokenRequest) (*RefreshRememberTokenReply, error) }
AuthServer is the server API for Auth service. All implementations should embed UnimplementedAuthServer for forward compatibility
func NewAuthClientProxy ¶
func NewAuthClientProxy(cc AuthClient) AuthServer
type AuthWebClient ¶
type AuthWebClient interface { GetWebLogin(ctx context.Context, in *GetLoginRequest, opts ...grpc.CallOption) (*GetLoginResponse, error) WebLogin(ctx context.Context, in *WebLoginAuthRequest, opts ...grpc.CallOption) (*WebLoginAuthReply, error) GetWebLogout(ctx context.Context, in *GetLogoutRequest, opts ...grpc.CallOption) (*GetLogoutResponse, error) WebLogout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error) GetConsent(ctx context.Context, in *GetConsentRequest, opts ...grpc.CallOption) (*GetConsentResponse, error) GrantConsent(ctx context.Context, in *GrantConsentRequest, opts ...grpc.CallOption) (*GrantConsentResponse, error) }
AuthWebClient is the client API for AuthWeb 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 NewAuthWebClient ¶
func NewAuthWebClient(cc grpc.ClientConnInterface) AuthWebClient
type AuthWebHTTPClient ¶
type AuthWebHTTPClient interface { GetConsent(ctx context.Context, req *GetConsentRequest, opts ...http.CallOption) (rsp *GetConsentResponse, err error) GetWebLogin(ctx context.Context, req *GetLoginRequest, opts ...http.CallOption) (rsp *GetLoginResponse, err error) GetWebLogout(ctx context.Context, req *GetLogoutRequest, opts ...http.CallOption) (rsp *GetLogoutResponse, err error) GrantConsent(ctx context.Context, req *GrantConsentRequest, opts ...http.CallOption) (rsp *GrantConsentResponse, err error) WebLogin(ctx context.Context, req *WebLoginAuthRequest, opts ...http.CallOption) (rsp *WebLoginAuthReply, err error) WebLogout(ctx context.Context, req *LogoutRequest, opts ...http.CallOption) (rsp *LogoutResponse, err error) }
func NewAuthWebHTTPClient ¶
func NewAuthWebHTTPClient(client *http.Client) AuthWebHTTPClient
type AuthWebHTTPClientImpl ¶
type AuthWebHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*AuthWebHTTPClientImpl) GetConsent ¶
func (c *AuthWebHTTPClientImpl) GetConsent(ctx context.Context, in *GetConsentRequest, opts ...http.CallOption) (*GetConsentResponse, error)
func (*AuthWebHTTPClientImpl) GetWebLogin ¶
func (c *AuthWebHTTPClientImpl) GetWebLogin(ctx context.Context, in *GetLoginRequest, opts ...http.CallOption) (*GetLoginResponse, error)
func (*AuthWebHTTPClientImpl) GetWebLogout ¶
func (c *AuthWebHTTPClientImpl) GetWebLogout(ctx context.Context, in *GetLogoutRequest, opts ...http.CallOption) (*GetLogoutResponse, error)
func (*AuthWebHTTPClientImpl) GrantConsent ¶
func (c *AuthWebHTTPClientImpl) GrantConsent(ctx context.Context, in *GrantConsentRequest, opts ...http.CallOption) (*GrantConsentResponse, error)
func (*AuthWebHTTPClientImpl) WebLogin ¶
func (c *AuthWebHTTPClientImpl) WebLogin(ctx context.Context, in *WebLoginAuthRequest, opts ...http.CallOption) (*WebLoginAuthReply, error)
func (*AuthWebHTTPClientImpl) WebLogout ¶
func (c *AuthWebHTTPClientImpl) WebLogout(ctx context.Context, in *LogoutRequest, opts ...http.CallOption) (*LogoutResponse, error)
type AuthWebHTTPServer ¶
type AuthWebHTTPServer interface { GetConsent(context.Context, *GetConsentRequest) (*GetConsentResponse, error) GetWebLogin(context.Context, *GetLoginRequest) (*GetLoginResponse, error) GetWebLogout(context.Context, *GetLogoutRequest) (*GetLogoutResponse, error) GrantConsent(context.Context, *GrantConsentRequest) (*GrantConsentResponse, error) WebLogin(context.Context, *WebLoginAuthRequest) (*WebLoginAuthReply, error) WebLogout(context.Context, *LogoutRequest) (*LogoutResponse, error) }
type AuthWebServer ¶
type AuthWebServer interface { GetWebLogin(context.Context, *GetLoginRequest) (*GetLoginResponse, error) WebLogin(context.Context, *WebLoginAuthRequest) (*WebLoginAuthReply, error) GetWebLogout(context.Context, *GetLogoutRequest) (*GetLogoutResponse, error) WebLogout(context.Context, *LogoutRequest) (*LogoutResponse, error) GetConsent(context.Context, *GetConsentRequest) (*GetConsentResponse, error) GrantConsent(context.Context, *GrantConsentRequest) (*GrantConsentResponse, error) }
AuthWebServer is the server API for AuthWeb service. All implementations should embed UnimplementedAuthWebServer for forward compatibility
func NewAuthWebClientProxy ¶
func NewAuthWebClientProxy(cc AuthWebClient) AuthWebServer
type ChangePasswordByForgetReply ¶
type ChangePasswordByForgetReply struct {
// contains filtered or unexported fields
}
func (*ChangePasswordByForgetReply) Descriptor
deprecated
func (*ChangePasswordByForgetReply) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordByForgetReply.ProtoReflect.Descriptor instead.
func (*ChangePasswordByForgetReply) ProtoMessage ¶
func (*ChangePasswordByForgetReply) ProtoMessage()
func (*ChangePasswordByForgetReply) ProtoReflect ¶
func (x *ChangePasswordByForgetReply) ProtoReflect() protoreflect.Message
func (*ChangePasswordByForgetReply) Reset ¶
func (x *ChangePasswordByForgetReply) Reset()
func (*ChangePasswordByForgetReply) String ¶
func (x *ChangePasswordByForgetReply) String() string
func (*ChangePasswordByForgetReply) Validate ¶
func (m *ChangePasswordByForgetReply) Validate() error
Validate checks the field values on ChangePasswordByForgetReply 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 (*ChangePasswordByForgetReply) ValidateAll ¶
func (m *ChangePasswordByForgetReply) ValidateAll() error
ValidateAll checks the field values on ChangePasswordByForgetReply 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 ChangePasswordByForgetReplyMultiError, or nil if none found.
type ChangePasswordByForgetReplyMultiError ¶
type ChangePasswordByForgetReplyMultiError []error
ChangePasswordByForgetReplyMultiError is an error wrapping multiple validation errors returned by ChangePasswordByForgetReply.ValidateAll() if the designated constraints aren't met.
func (ChangePasswordByForgetReplyMultiError) AllErrors ¶
func (m ChangePasswordByForgetReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangePasswordByForgetReplyMultiError) Error ¶
func (m ChangePasswordByForgetReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangePasswordByForgetReplyValidationError ¶
type ChangePasswordByForgetReplyValidationError struct {
// contains filtered or unexported fields
}
ChangePasswordByForgetReplyValidationError is the validation error returned by ChangePasswordByForgetReply.Validate if the designated constraints aren't met.
func (ChangePasswordByForgetReplyValidationError) Cause ¶
func (e ChangePasswordByForgetReplyValidationError) Cause() error
Cause function returns cause value.
func (ChangePasswordByForgetReplyValidationError) Error ¶
func (e ChangePasswordByForgetReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ChangePasswordByForgetReplyValidationError) ErrorName ¶
func (e ChangePasswordByForgetReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ChangePasswordByForgetReplyValidationError) Field ¶
func (e ChangePasswordByForgetReplyValidationError) Field() string
Field function returns field value.
func (ChangePasswordByForgetReplyValidationError) Key ¶
func (e ChangePasswordByForgetReplyValidationError) Key() bool
Key function returns key value.
func (ChangePasswordByForgetReplyValidationError) Reason ¶
func (e ChangePasswordByForgetReplyValidationError) Reason() string
Reason function returns reason value.
type ChangePasswordByForgetRequest ¶
type ChangePasswordByForgetRequest struct { ChangePasswordToken string `protobuf:"bytes,1,opt,name=change_password_token,json=changePasswordToken,proto3" json:"change_password_token,omitempty"` NewPassword string `protobuf:"bytes,5,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` ConfirmNewPassword string `protobuf:"bytes,6,opt,name=confirm_new_password,json=confirmNewPassword,proto3" json:"confirm_new_password,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordByForgetRequest) Descriptor
deprecated
func (*ChangePasswordByForgetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordByForgetRequest.ProtoReflect.Descriptor instead.
func (*ChangePasswordByForgetRequest) GetChangePasswordToken ¶
func (x *ChangePasswordByForgetRequest) GetChangePasswordToken() string
func (*ChangePasswordByForgetRequest) GetConfirmNewPassword ¶
func (x *ChangePasswordByForgetRequest) GetConfirmNewPassword() string
func (*ChangePasswordByForgetRequest) GetNewPassword ¶
func (x *ChangePasswordByForgetRequest) GetNewPassword() string
func (*ChangePasswordByForgetRequest) ProtoMessage ¶
func (*ChangePasswordByForgetRequest) ProtoMessage()
func (*ChangePasswordByForgetRequest) ProtoReflect ¶
func (x *ChangePasswordByForgetRequest) ProtoReflect() protoreflect.Message
func (*ChangePasswordByForgetRequest) Reset ¶
func (x *ChangePasswordByForgetRequest) Reset()
func (*ChangePasswordByForgetRequest) String ¶
func (x *ChangePasswordByForgetRequest) String() string
func (*ChangePasswordByForgetRequest) Validate ¶
func (m *ChangePasswordByForgetRequest) Validate() error
Validate checks the field values on ChangePasswordByForgetRequest 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 (*ChangePasswordByForgetRequest) ValidateAll ¶
func (m *ChangePasswordByForgetRequest) ValidateAll() error
ValidateAll checks the field values on ChangePasswordByForgetRequest 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 ChangePasswordByForgetRequestMultiError, or nil if none found.
type ChangePasswordByForgetRequestMultiError ¶
type ChangePasswordByForgetRequestMultiError []error
ChangePasswordByForgetRequestMultiError is an error wrapping multiple validation errors returned by ChangePasswordByForgetRequest.ValidateAll() if the designated constraints aren't met.
func (ChangePasswordByForgetRequestMultiError) AllErrors ¶
func (m ChangePasswordByForgetRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangePasswordByForgetRequestMultiError) Error ¶
func (m ChangePasswordByForgetRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangePasswordByForgetRequestValidationError ¶
type ChangePasswordByForgetRequestValidationError struct {
// contains filtered or unexported fields
}
ChangePasswordByForgetRequestValidationError is the validation error returned by ChangePasswordByForgetRequest.Validate if the designated constraints aren't met.
func (ChangePasswordByForgetRequestValidationError) Cause ¶
func (e ChangePasswordByForgetRequestValidationError) Cause() error
Cause function returns cause value.
func (ChangePasswordByForgetRequestValidationError) Error ¶
func (e ChangePasswordByForgetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ChangePasswordByForgetRequestValidationError) ErrorName ¶
func (e ChangePasswordByForgetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ChangePasswordByForgetRequestValidationError) Field ¶
func (e ChangePasswordByForgetRequestValidationError) Field() string
Field function returns field value.
func (ChangePasswordByForgetRequestValidationError) Key ¶
func (e ChangePasswordByForgetRequestValidationError) Key() bool
Key function returns key value.
func (ChangePasswordByForgetRequestValidationError) Reason ¶
func (e ChangePasswordByForgetRequestValidationError) Reason() string
Reason function returns reason value.
type ChangePasswordByPreReply ¶
type ChangePasswordByPreReply struct {
// contains filtered or unexported fields
}
func (*ChangePasswordByPreReply) Descriptor
deprecated
func (*ChangePasswordByPreReply) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordByPreReply.ProtoReflect.Descriptor instead.
func (*ChangePasswordByPreReply) ProtoMessage ¶
func (*ChangePasswordByPreReply) ProtoMessage()
func (*ChangePasswordByPreReply) ProtoReflect ¶
func (x *ChangePasswordByPreReply) ProtoReflect() protoreflect.Message
func (*ChangePasswordByPreReply) Reset ¶
func (x *ChangePasswordByPreReply) Reset()
func (*ChangePasswordByPreReply) String ¶
func (x *ChangePasswordByPreReply) String() string
func (*ChangePasswordByPreReply) Validate ¶
func (m *ChangePasswordByPreReply) Validate() error
Validate checks the field values on ChangePasswordByPreReply 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 (*ChangePasswordByPreReply) ValidateAll ¶
func (m *ChangePasswordByPreReply) ValidateAll() error
ValidateAll checks the field values on ChangePasswordByPreReply 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 ChangePasswordByPreReplyMultiError, or nil if none found.
type ChangePasswordByPreReplyMultiError ¶
type ChangePasswordByPreReplyMultiError []error
ChangePasswordByPreReplyMultiError is an error wrapping multiple validation errors returned by ChangePasswordByPreReply.ValidateAll() if the designated constraints aren't met.
func (ChangePasswordByPreReplyMultiError) AllErrors ¶
func (m ChangePasswordByPreReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangePasswordByPreReplyMultiError) Error ¶
func (m ChangePasswordByPreReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangePasswordByPreReplyValidationError ¶
type ChangePasswordByPreReplyValidationError struct {
// contains filtered or unexported fields
}
ChangePasswordByPreReplyValidationError is the validation error returned by ChangePasswordByPreReply.Validate if the designated constraints aren't met.
func (ChangePasswordByPreReplyValidationError) Cause ¶
func (e ChangePasswordByPreReplyValidationError) Cause() error
Cause function returns cause value.
func (ChangePasswordByPreReplyValidationError) Error ¶
func (e ChangePasswordByPreReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ChangePasswordByPreReplyValidationError) ErrorName ¶
func (e ChangePasswordByPreReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ChangePasswordByPreReplyValidationError) Field ¶
func (e ChangePasswordByPreReplyValidationError) Field() string
Field function returns field value.
func (ChangePasswordByPreReplyValidationError) Key ¶
func (e ChangePasswordByPreReplyValidationError) Key() bool
Key function returns key value.
func (ChangePasswordByPreReplyValidationError) Reason ¶
func (e ChangePasswordByPreReplyValidationError) Reason() string
Reason function returns reason value.
type ChangePasswordByPreRequest ¶
type ChangePasswordByPreRequest struct { PrePassword string `protobuf:"bytes,4,opt,name=pre_password,json=prePassword,proto3" json:"pre_password,omitempty"` NewPassword string `protobuf:"bytes,5,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` ConfirmNewPassword string `protobuf:"bytes,6,opt,name=confirm_new_password,json=confirmNewPassword,proto3" json:"confirm_new_password,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordByPreRequest) Descriptor
deprecated
func (*ChangePasswordByPreRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordByPreRequest.ProtoReflect.Descriptor instead.
func (*ChangePasswordByPreRequest) GetConfirmNewPassword ¶
func (x *ChangePasswordByPreRequest) GetConfirmNewPassword() string
func (*ChangePasswordByPreRequest) GetNewPassword ¶
func (x *ChangePasswordByPreRequest) GetNewPassword() string
func (*ChangePasswordByPreRequest) GetPrePassword ¶
func (x *ChangePasswordByPreRequest) GetPrePassword() string
func (*ChangePasswordByPreRequest) ProtoMessage ¶
func (*ChangePasswordByPreRequest) ProtoMessage()
func (*ChangePasswordByPreRequest) ProtoReflect ¶
func (x *ChangePasswordByPreRequest) ProtoReflect() protoreflect.Message
func (*ChangePasswordByPreRequest) Reset ¶
func (x *ChangePasswordByPreRequest) Reset()
func (*ChangePasswordByPreRequest) String ¶
func (x *ChangePasswordByPreRequest) String() string
func (*ChangePasswordByPreRequest) Validate ¶
func (m *ChangePasswordByPreRequest) Validate() error
Validate checks the field values on ChangePasswordByPreRequest 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 (*ChangePasswordByPreRequest) ValidateAll ¶
func (m *ChangePasswordByPreRequest) ValidateAll() error
ValidateAll checks the field values on ChangePasswordByPreRequest 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 ChangePasswordByPreRequestMultiError, or nil if none found.
type ChangePasswordByPreRequestMultiError ¶
type ChangePasswordByPreRequestMultiError []error
ChangePasswordByPreRequestMultiError is an error wrapping multiple validation errors returned by ChangePasswordByPreRequest.ValidateAll() if the designated constraints aren't met.
func (ChangePasswordByPreRequestMultiError) AllErrors ¶
func (m ChangePasswordByPreRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangePasswordByPreRequestMultiError) Error ¶
func (m ChangePasswordByPreRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangePasswordByPreRequestValidationError ¶
type ChangePasswordByPreRequestValidationError struct {
// contains filtered or unexported fields
}
ChangePasswordByPreRequestValidationError is the validation error returned by ChangePasswordByPreRequest.Validate if the designated constraints aren't met.
func (ChangePasswordByPreRequestValidationError) Cause ¶
func (e ChangePasswordByPreRequestValidationError) Cause() error
Cause function returns cause value.
func (ChangePasswordByPreRequestValidationError) Error ¶
func (e ChangePasswordByPreRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ChangePasswordByPreRequestValidationError) ErrorName ¶
func (e ChangePasswordByPreRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ChangePasswordByPreRequestValidationError) Field ¶
func (e ChangePasswordByPreRequestValidationError) Field() string
Field function returns field value.
func (ChangePasswordByPreRequestValidationError) Key ¶
func (e ChangePasswordByPreRequestValidationError) Key() bool
Key function returns key value.
func (ChangePasswordByPreRequestValidationError) Reason ¶
func (e ChangePasswordByPreRequestValidationError) Reason() string
Reason function returns reason value.
type ErrorReason ¶
type ErrorReason int32
const ( ErrorReason_INVALID_CREDENTIALS ErrorReason = 0 ErrorReason_INVALID_OPERATION ErrorReason = 1 ErrorReason_USER_LOCKED ErrorReason = 2 ErrorReason_EMAIL_NOT_CONFIRMED ErrorReason = 3 ErrorReason_PHONE_NOT_CONFIRMED ErrorReason = 4 ErrorReason_EMAIL_RECOVER_FAILED ErrorReason = 5 ErrorReason_EMAIL_CONFIRM_FAILED ErrorReason = 6 ErrorReason_PHONE_RECOVER_FAILED ErrorReason = 7 ErrorReason_PHONE_CONFIRM_FAILED ErrorReason = 8 ErrorReason_TWO_STEP_FAILED ErrorReason = 9 ErrorReason_CONFIRM_PASSWORD_MISMATCH ErrorReason = 10 ErrorReason_REMEMBER_TOKEN_NOT_FOUND ErrorReason = 11 ErrorReason_REMEMBER_TOKEN_USED ErrorReason = 14 ErrorReason_USER_DELETED ErrorReason = 12 ErrorReason_REFRESH_TOKEN_INVALID ErrorReason = 13 )
func (ErrorReason) Descriptor ¶
func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorReason) Enum ¶
func (x ErrorReason) Enum() *ErrorReason
func (ErrorReason) EnumDescriptor
deprecated
func (ErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorReason.Descriptor instead.
func (ErrorReason) Number ¶
func (x ErrorReason) Number() protoreflect.EnumNumber
func (ErrorReason) String ¶
func (x ErrorReason) String() string
func (ErrorReason) Type ¶
func (ErrorReason) Type() protoreflect.EnumType
type ForgetPasswordReply ¶
type ForgetPasswordReply struct { //next step for change password ChangePasswordToken string `protobuf:"bytes,1,opt,name=change_password_token,json=changePasswordToken,proto3" json:"change_password_token,omitempty"` // contains filtered or unexported fields }
func (*ForgetPasswordReply) Descriptor
deprecated
func (*ForgetPasswordReply) Descriptor() ([]byte, []int)
Deprecated: Use ForgetPasswordReply.ProtoReflect.Descriptor instead.
func (*ForgetPasswordReply) GetChangePasswordToken ¶
func (x *ForgetPasswordReply) GetChangePasswordToken() string
func (*ForgetPasswordReply) ProtoMessage ¶
func (*ForgetPasswordReply) ProtoMessage()
func (*ForgetPasswordReply) ProtoReflect ¶
func (x *ForgetPasswordReply) ProtoReflect() protoreflect.Message
func (*ForgetPasswordReply) Reset ¶
func (x *ForgetPasswordReply) Reset()
func (*ForgetPasswordReply) String ¶
func (x *ForgetPasswordReply) String() string
func (*ForgetPasswordReply) Validate ¶
func (m *ForgetPasswordReply) Validate() error
Validate checks the field values on ForgetPasswordReply 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 (*ForgetPasswordReply) ValidateAll ¶
func (m *ForgetPasswordReply) ValidateAll() error
ValidateAll checks the field values on ForgetPasswordReply 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 ForgetPasswordReplyMultiError, or nil if none found.
type ForgetPasswordReplyMultiError ¶
type ForgetPasswordReplyMultiError []error
ForgetPasswordReplyMultiError is an error wrapping multiple validation errors returned by ForgetPasswordReply.ValidateAll() if the designated constraints aren't met.
func (ForgetPasswordReplyMultiError) AllErrors ¶
func (m ForgetPasswordReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ForgetPasswordReplyMultiError) Error ¶
func (m ForgetPasswordReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ForgetPasswordReplyValidationError ¶
type ForgetPasswordReplyValidationError struct {
// contains filtered or unexported fields
}
ForgetPasswordReplyValidationError is the validation error returned by ForgetPasswordReply.Validate if the designated constraints aren't met.
func (ForgetPasswordReplyValidationError) Cause ¶
func (e ForgetPasswordReplyValidationError) Cause() error
Cause function returns cause value.
func (ForgetPasswordReplyValidationError) Error ¶
func (e ForgetPasswordReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ForgetPasswordReplyValidationError) ErrorName ¶
func (e ForgetPasswordReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ForgetPasswordReplyValidationError) Field ¶
func (e ForgetPasswordReplyValidationError) Field() string
Field function returns field value.
func (ForgetPasswordReplyValidationError) Key ¶
func (e ForgetPasswordReplyValidationError) Key() bool
Key function returns key value.
func (ForgetPasswordReplyValidationError) Reason ¶
func (e ForgetPasswordReplyValidationError) Reason() string
Reason function returns reason value.
type ForgetPasswordRequest ¶
type ForgetPasswordRequest struct { Phone *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=phone,proto3,oneof" json:"phone,omitempty"` Email *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=email,proto3,oneof" json:"email,omitempty"` Token string `protobuf:"bytes,10,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*ForgetPasswordRequest) Descriptor
deprecated
func (*ForgetPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForgetPasswordRequest.ProtoReflect.Descriptor instead.
func (*ForgetPasswordRequest) GetEmail ¶
func (x *ForgetPasswordRequest) GetEmail() *wrapperspb.StringValue
func (*ForgetPasswordRequest) GetPhone ¶
func (x *ForgetPasswordRequest) GetPhone() *wrapperspb.StringValue
func (*ForgetPasswordRequest) GetToken ¶
func (x *ForgetPasswordRequest) GetToken() string
func (*ForgetPasswordRequest) ProtoMessage ¶
func (*ForgetPasswordRequest) ProtoMessage()
func (*ForgetPasswordRequest) ProtoReflect ¶
func (x *ForgetPasswordRequest) ProtoReflect() protoreflect.Message
func (*ForgetPasswordRequest) Reset ¶
func (x *ForgetPasswordRequest) Reset()
func (*ForgetPasswordRequest) String ¶
func (x *ForgetPasswordRequest) String() string
func (*ForgetPasswordRequest) Validate ¶
func (m *ForgetPasswordRequest) Validate() error
Validate checks the field values on ForgetPasswordRequest 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 (*ForgetPasswordRequest) ValidateAll ¶
func (m *ForgetPasswordRequest) ValidateAll() error
ValidateAll checks the field values on ForgetPasswordRequest 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 ForgetPasswordRequestMultiError, or nil if none found.
type ForgetPasswordRequestMultiError ¶
type ForgetPasswordRequestMultiError []error
ForgetPasswordRequestMultiError is an error wrapping multiple validation errors returned by ForgetPasswordRequest.ValidateAll() if the designated constraints aren't met.
func (ForgetPasswordRequestMultiError) AllErrors ¶
func (m ForgetPasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ForgetPasswordRequestMultiError) Error ¶
func (m ForgetPasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ForgetPasswordRequestValidationError ¶
type ForgetPasswordRequestValidationError struct {
// contains filtered or unexported fields
}
ForgetPasswordRequestValidationError is the validation error returned by ForgetPasswordRequest.Validate if the designated constraints aren't met.
func (ForgetPasswordRequestValidationError) Cause ¶
func (e ForgetPasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (ForgetPasswordRequestValidationError) Error ¶
func (e ForgetPasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ForgetPasswordRequestValidationError) ErrorName ¶
func (e ForgetPasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ForgetPasswordRequestValidationError) Field ¶
func (e ForgetPasswordRequestValidationError) Field() string
Field function returns field value.
func (ForgetPasswordRequestValidationError) Key ¶
func (e ForgetPasswordRequestValidationError) Key() bool
Key function returns key value.
func (ForgetPasswordRequestValidationError) Reason ¶
func (e ForgetPasswordRequestValidationError) Reason() string
Reason function returns reason value.
type ForgetPasswordTokenReply ¶
type ForgetPasswordTokenReply struct { //expire time Expire *durationpb.Duration `protobuf:"bytes,1,opt,name=expire,proto3" json:"expire,omitempty"` // contains filtered or unexported fields }
func (*ForgetPasswordTokenReply) Descriptor
deprecated
func (*ForgetPasswordTokenReply) Descriptor() ([]byte, []int)
Deprecated: Use ForgetPasswordTokenReply.ProtoReflect.Descriptor instead.
func (*ForgetPasswordTokenReply) GetExpire ¶
func (x *ForgetPasswordTokenReply) GetExpire() *durationpb.Duration
func (*ForgetPasswordTokenReply) ProtoMessage ¶
func (*ForgetPasswordTokenReply) ProtoMessage()
func (*ForgetPasswordTokenReply) ProtoReflect ¶
func (x *ForgetPasswordTokenReply) ProtoReflect() protoreflect.Message
func (*ForgetPasswordTokenReply) Reset ¶
func (x *ForgetPasswordTokenReply) Reset()
func (*ForgetPasswordTokenReply) String ¶
func (x *ForgetPasswordTokenReply) String() string
func (*ForgetPasswordTokenReply) Validate ¶
func (m *ForgetPasswordTokenReply) Validate() error
Validate checks the field values on ForgetPasswordTokenReply 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 (*ForgetPasswordTokenReply) ValidateAll ¶
func (m *ForgetPasswordTokenReply) ValidateAll() error
ValidateAll checks the field values on ForgetPasswordTokenReply 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 ForgetPasswordTokenReplyMultiError, or nil if none found.
type ForgetPasswordTokenReplyMultiError ¶
type ForgetPasswordTokenReplyMultiError []error
ForgetPasswordTokenReplyMultiError is an error wrapping multiple validation errors returned by ForgetPasswordTokenReply.ValidateAll() if the designated constraints aren't met.
func (ForgetPasswordTokenReplyMultiError) AllErrors ¶
func (m ForgetPasswordTokenReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ForgetPasswordTokenReplyMultiError) Error ¶
func (m ForgetPasswordTokenReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ForgetPasswordTokenReplyValidationError ¶
type ForgetPasswordTokenReplyValidationError struct {
// contains filtered or unexported fields
}
ForgetPasswordTokenReplyValidationError is the validation error returned by ForgetPasswordTokenReply.Validate if the designated constraints aren't met.
func (ForgetPasswordTokenReplyValidationError) Cause ¶
func (e ForgetPasswordTokenReplyValidationError) Cause() error
Cause function returns cause value.
func (ForgetPasswordTokenReplyValidationError) Error ¶
func (e ForgetPasswordTokenReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ForgetPasswordTokenReplyValidationError) ErrorName ¶
func (e ForgetPasswordTokenReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ForgetPasswordTokenReplyValidationError) Field ¶
func (e ForgetPasswordTokenReplyValidationError) Field() string
Field function returns field value.
func (ForgetPasswordTokenReplyValidationError) Key ¶
func (e ForgetPasswordTokenReplyValidationError) Key() bool
Key function returns key value.
func (ForgetPasswordTokenReplyValidationError) Reason ¶
func (e ForgetPasswordTokenReplyValidationError) Reason() string
Reason function returns reason value.
type ForgetPasswordTokenRequest ¶
type ForgetPasswordTokenRequest struct { Phone *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=phone,proto3,oneof" json:"phone,omitempty"` Email *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=email,proto3,oneof" json:"email,omitempty"` // contains filtered or unexported fields }
func (*ForgetPasswordTokenRequest) Descriptor
deprecated
func (*ForgetPasswordTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForgetPasswordTokenRequest.ProtoReflect.Descriptor instead.
func (*ForgetPasswordTokenRequest) GetEmail ¶
func (x *ForgetPasswordTokenRequest) GetEmail() *wrapperspb.StringValue
func (*ForgetPasswordTokenRequest) GetPhone ¶
func (x *ForgetPasswordTokenRequest) GetPhone() *wrapperspb.StringValue
func (*ForgetPasswordTokenRequest) ProtoMessage ¶
func (*ForgetPasswordTokenRequest) ProtoMessage()
func (*ForgetPasswordTokenRequest) ProtoReflect ¶
func (x *ForgetPasswordTokenRequest) ProtoReflect() protoreflect.Message
func (*ForgetPasswordTokenRequest) Reset ¶
func (x *ForgetPasswordTokenRequest) Reset()
func (*ForgetPasswordTokenRequest) String ¶
func (x *ForgetPasswordTokenRequest) String() string
func (*ForgetPasswordTokenRequest) Validate ¶
func (m *ForgetPasswordTokenRequest) Validate() error
Validate checks the field values on ForgetPasswordTokenRequest 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 (*ForgetPasswordTokenRequest) ValidateAll ¶
func (m *ForgetPasswordTokenRequest) ValidateAll() error
ValidateAll checks the field values on ForgetPasswordTokenRequest 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 ForgetPasswordTokenRequestMultiError, or nil if none found.
type ForgetPasswordTokenRequestMultiError ¶
type ForgetPasswordTokenRequestMultiError []error
ForgetPasswordTokenRequestMultiError is an error wrapping multiple validation errors returned by ForgetPasswordTokenRequest.ValidateAll() if the designated constraints aren't met.
func (ForgetPasswordTokenRequestMultiError) AllErrors ¶
func (m ForgetPasswordTokenRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ForgetPasswordTokenRequestMultiError) Error ¶
func (m ForgetPasswordTokenRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ForgetPasswordTokenRequestValidationError ¶
type ForgetPasswordTokenRequestValidationError struct {
// contains filtered or unexported fields
}
ForgetPasswordTokenRequestValidationError is the validation error returned by ForgetPasswordTokenRequest.Validate if the designated constraints aren't met.
func (ForgetPasswordTokenRequestValidationError) Cause ¶
func (e ForgetPasswordTokenRequestValidationError) Cause() error
Cause function returns cause value.
func (ForgetPasswordTokenRequestValidationError) Error ¶
func (e ForgetPasswordTokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ForgetPasswordTokenRequestValidationError) ErrorName ¶
func (e ForgetPasswordTokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ForgetPasswordTokenRequestValidationError) Field ¶
func (e ForgetPasswordTokenRequestValidationError) Field() string
Field function returns field value.
func (ForgetPasswordTokenRequestValidationError) Key ¶
func (e ForgetPasswordTokenRequestValidationError) Key() bool
Key function returns key value.
func (ForgetPasswordTokenRequestValidationError) Reason ¶
func (e ForgetPasswordTokenRequestValidationError) Reason() string
Reason function returns reason value.
type GetConsentRequest ¶
type GetConsentRequest struct { ConsentChallenge string `protobuf:"bytes,1,opt,name=consent_challenge,json=consentChallenge,proto3" json:"consent_challenge,omitempty"` // contains filtered or unexported fields }
func (*GetConsentRequest) Descriptor
deprecated
func (*GetConsentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConsentRequest.ProtoReflect.Descriptor instead.
func (*GetConsentRequest) GetConsentChallenge ¶
func (x *GetConsentRequest) GetConsentChallenge() string
func (*GetConsentRequest) ProtoMessage ¶
func (*GetConsentRequest) ProtoMessage()
func (*GetConsentRequest) ProtoReflect ¶
func (x *GetConsentRequest) ProtoReflect() protoreflect.Message
func (*GetConsentRequest) Reset ¶
func (x *GetConsentRequest) Reset()
func (*GetConsentRequest) String ¶
func (x *GetConsentRequest) String() string
func (*GetConsentRequest) Validate ¶
func (m *GetConsentRequest) Validate() error
Validate checks the field values on GetConsentRequest 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 (*GetConsentRequest) ValidateAll ¶
func (m *GetConsentRequest) ValidateAll() error
ValidateAll checks the field values on GetConsentRequest 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 GetConsentRequestMultiError, or nil if none found.
type GetConsentRequestMultiError ¶
type GetConsentRequestMultiError []error
GetConsentRequestMultiError is an error wrapping multiple validation errors returned by GetConsentRequest.ValidateAll() if the designated constraints aren't met.
func (GetConsentRequestMultiError) AllErrors ¶
func (m GetConsentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConsentRequestMultiError) Error ¶
func (m GetConsentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetConsentRequestValidationError ¶
type GetConsentRequestValidationError struct {
// contains filtered or unexported fields
}
GetConsentRequestValidationError is the validation error returned by GetConsentRequest.Validate if the designated constraints aren't met.
func (GetConsentRequestValidationError) Cause ¶
func (e GetConsentRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConsentRequestValidationError) Error ¶
func (e GetConsentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConsentRequestValidationError) ErrorName ¶
func (e GetConsentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConsentRequestValidationError) Field ¶
func (e GetConsentRequestValidationError) Field() string
Field function returns field value.
func (GetConsentRequestValidationError) Key ¶
func (e GetConsentRequestValidationError) Key() bool
Key function returns key value.
func (GetConsentRequestValidationError) Reason ¶
func (e GetConsentRequestValidationError) Reason() string
Reason function returns reason value.
type GetConsentResponse ¶
type GetConsentResponse struct { Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"` RequestedScope []string `protobuf:"bytes,2,rep,name=requested_scope,json=requestedScope,proto3" json:"requested_scope,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Client *OAuthClient `protobuf:"bytes,4,opt,name=client,proto3" json:"client,omitempty"` Redirect string `protobuf:"bytes,10,opt,name=redirect,proto3" json:"redirect,omitempty"` // contains filtered or unexported fields }
func (*GetConsentResponse) Descriptor
deprecated
func (*GetConsentResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConsentResponse.ProtoReflect.Descriptor instead.
func (*GetConsentResponse) GetChallenge ¶
func (x *GetConsentResponse) GetChallenge() string
func (*GetConsentResponse) GetClient ¶
func (x *GetConsentResponse) GetClient() *OAuthClient
func (*GetConsentResponse) GetRedirect ¶
func (x *GetConsentResponse) GetRedirect() string
func (*GetConsentResponse) GetRequestedScope ¶
func (x *GetConsentResponse) GetRequestedScope() []string
func (*GetConsentResponse) GetUserId ¶
func (x *GetConsentResponse) GetUserId() string
func (*GetConsentResponse) ProtoMessage ¶
func (*GetConsentResponse) ProtoMessage()
func (*GetConsentResponse) ProtoReflect ¶
func (x *GetConsentResponse) ProtoReflect() protoreflect.Message
func (*GetConsentResponse) Reset ¶
func (x *GetConsentResponse) Reset()
func (*GetConsentResponse) String ¶
func (x *GetConsentResponse) String() string
func (*GetConsentResponse) Validate ¶
func (m *GetConsentResponse) Validate() error
Validate checks the field values on GetConsentResponse 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 (*GetConsentResponse) ValidateAll ¶
func (m *GetConsentResponse) ValidateAll() error
ValidateAll checks the field values on GetConsentResponse 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 GetConsentResponseMultiError, or nil if none found.
type GetConsentResponseMultiError ¶
type GetConsentResponseMultiError []error
GetConsentResponseMultiError is an error wrapping multiple validation errors returned by GetConsentResponse.ValidateAll() if the designated constraints aren't met.
func (GetConsentResponseMultiError) AllErrors ¶
func (m GetConsentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConsentResponseMultiError) Error ¶
func (m GetConsentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetConsentResponseValidationError ¶
type GetConsentResponseValidationError struct {
// contains filtered or unexported fields
}
GetConsentResponseValidationError is the validation error returned by GetConsentResponse.Validate if the designated constraints aren't met.
func (GetConsentResponseValidationError) Cause ¶
func (e GetConsentResponseValidationError) Cause() error
Cause function returns cause value.
func (GetConsentResponseValidationError) Error ¶
func (e GetConsentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetConsentResponseValidationError) ErrorName ¶
func (e GetConsentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetConsentResponseValidationError) Field ¶
func (e GetConsentResponseValidationError) Field() string
Field function returns field value.
func (GetConsentResponseValidationError) Key ¶
func (e GetConsentResponseValidationError) Key() bool
Key function returns key value.
func (GetConsentResponseValidationError) Reason ¶
func (e GetConsentResponseValidationError) Reason() string
Reason function returns reason value.
type GetCsrfTokenRequest ¶
type GetCsrfTokenRequest struct {
// contains filtered or unexported fields
}
func (*GetCsrfTokenRequest) Descriptor
deprecated
func (*GetCsrfTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCsrfTokenRequest.ProtoReflect.Descriptor instead.
func (*GetCsrfTokenRequest) ProtoMessage ¶
func (*GetCsrfTokenRequest) ProtoMessage()
func (*GetCsrfTokenRequest) ProtoReflect ¶
func (x *GetCsrfTokenRequest) ProtoReflect() protoreflect.Message
func (*GetCsrfTokenRequest) Reset ¶
func (x *GetCsrfTokenRequest) Reset()
func (*GetCsrfTokenRequest) String ¶
func (x *GetCsrfTokenRequest) String() string
func (*GetCsrfTokenRequest) Validate ¶
func (m *GetCsrfTokenRequest) Validate() error
Validate checks the field values on GetCsrfTokenRequest 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 (*GetCsrfTokenRequest) ValidateAll ¶
func (m *GetCsrfTokenRequest) ValidateAll() error
ValidateAll checks the field values on GetCsrfTokenRequest 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 GetCsrfTokenRequestMultiError, or nil if none found.
type GetCsrfTokenRequestMultiError ¶
type GetCsrfTokenRequestMultiError []error
GetCsrfTokenRequestMultiError is an error wrapping multiple validation errors returned by GetCsrfTokenRequest.ValidateAll() if the designated constraints aren't met.
func (GetCsrfTokenRequestMultiError) AllErrors ¶
func (m GetCsrfTokenRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCsrfTokenRequestMultiError) Error ¶
func (m GetCsrfTokenRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCsrfTokenRequestValidationError ¶
type GetCsrfTokenRequestValidationError struct {
// contains filtered or unexported fields
}
GetCsrfTokenRequestValidationError is the validation error returned by GetCsrfTokenRequest.Validate if the designated constraints aren't met.
func (GetCsrfTokenRequestValidationError) Cause ¶
func (e GetCsrfTokenRequestValidationError) Cause() error
Cause function returns cause value.
func (GetCsrfTokenRequestValidationError) Error ¶
func (e GetCsrfTokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetCsrfTokenRequestValidationError) ErrorName ¶
func (e GetCsrfTokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetCsrfTokenRequestValidationError) Field ¶
func (e GetCsrfTokenRequestValidationError) Field() string
Field function returns field value.
func (GetCsrfTokenRequestValidationError) Key ¶
func (e GetCsrfTokenRequestValidationError) Key() bool
Key function returns key value.
func (GetCsrfTokenRequestValidationError) Reason ¶
func (e GetCsrfTokenRequestValidationError) Reason() string
Reason function returns reason value.
type GetCsrfTokenResponse ¶
type GetCsrfTokenResponse struct { CsrfToken string `protobuf:"bytes,1,opt,name=csrf_token,json=csrfToken,proto3" json:"csrf_token,omitempty"` // contains filtered or unexported fields }
func (*GetCsrfTokenResponse) Descriptor
deprecated
func (*GetCsrfTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCsrfTokenResponse.ProtoReflect.Descriptor instead.
func (*GetCsrfTokenResponse) GetCsrfToken ¶
func (x *GetCsrfTokenResponse) GetCsrfToken() string
func (*GetCsrfTokenResponse) ProtoMessage ¶
func (*GetCsrfTokenResponse) ProtoMessage()
func (*GetCsrfTokenResponse) ProtoReflect ¶
func (x *GetCsrfTokenResponse) ProtoReflect() protoreflect.Message
func (*GetCsrfTokenResponse) Reset ¶
func (x *GetCsrfTokenResponse) Reset()
func (*GetCsrfTokenResponse) String ¶
func (x *GetCsrfTokenResponse) String() string
func (*GetCsrfTokenResponse) Validate ¶
func (m *GetCsrfTokenResponse) Validate() error
Validate checks the field values on GetCsrfTokenResponse 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 (*GetCsrfTokenResponse) ValidateAll ¶
func (m *GetCsrfTokenResponse) ValidateAll() error
ValidateAll checks the field values on GetCsrfTokenResponse 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 GetCsrfTokenResponseMultiError, or nil if none found.
type GetCsrfTokenResponseMultiError ¶
type GetCsrfTokenResponseMultiError []error
GetCsrfTokenResponseMultiError is an error wrapping multiple validation errors returned by GetCsrfTokenResponse.ValidateAll() if the designated constraints aren't met.
func (GetCsrfTokenResponseMultiError) AllErrors ¶
func (m GetCsrfTokenResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCsrfTokenResponseMultiError) Error ¶
func (m GetCsrfTokenResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCsrfTokenResponseValidationError ¶
type GetCsrfTokenResponseValidationError struct {
// contains filtered or unexported fields
}
GetCsrfTokenResponseValidationError is the validation error returned by GetCsrfTokenResponse.Validate if the designated constraints aren't met.
func (GetCsrfTokenResponseValidationError) Cause ¶
func (e GetCsrfTokenResponseValidationError) Cause() error
Cause function returns cause value.
func (GetCsrfTokenResponseValidationError) Error ¶
func (e GetCsrfTokenResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetCsrfTokenResponseValidationError) ErrorName ¶
func (e GetCsrfTokenResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetCsrfTokenResponseValidationError) Field ¶
func (e GetCsrfTokenResponseValidationError) Field() string
Field function returns field value.
func (GetCsrfTokenResponseValidationError) Key ¶
func (e GetCsrfTokenResponseValidationError) Key() bool
Key function returns key value.
func (GetCsrfTokenResponseValidationError) Reason ¶
func (e GetCsrfTokenResponseValidationError) Reason() string
Reason function returns reason value.
type GetLoginRequest ¶
type GetLoginRequest struct { //redirect url Redirect string `protobuf:"bytes,1,opt,name=redirect,proto3" json:"redirect,omitempty"` LoginChallenge string `protobuf:"bytes,2,opt,name=login_challenge,json=loginChallenge,proto3" json:"login_challenge,omitempty"` // contains filtered or unexported fields }
func (*GetLoginRequest) Descriptor
deprecated
func (*GetLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLoginRequest.ProtoReflect.Descriptor instead.
func (*GetLoginRequest) GetLoginChallenge ¶
func (x *GetLoginRequest) GetLoginChallenge() string
func (*GetLoginRequest) GetRedirect ¶
func (x *GetLoginRequest) GetRedirect() string
func (*GetLoginRequest) ProtoMessage ¶
func (*GetLoginRequest) ProtoMessage()
func (*GetLoginRequest) ProtoReflect ¶
func (x *GetLoginRequest) ProtoReflect() protoreflect.Message
func (*GetLoginRequest) Reset ¶
func (x *GetLoginRequest) Reset()
func (*GetLoginRequest) String ¶
func (x *GetLoginRequest) String() string
func (*GetLoginRequest) Validate ¶
func (m *GetLoginRequest) Validate() error
Validate checks the field values on GetLoginRequest 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 (*GetLoginRequest) ValidateAll ¶
func (m *GetLoginRequest) ValidateAll() error
ValidateAll checks the field values on GetLoginRequest 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 GetLoginRequestMultiError, or nil if none found.
type GetLoginRequestMultiError ¶
type GetLoginRequestMultiError []error
GetLoginRequestMultiError is an error wrapping multiple validation errors returned by GetLoginRequest.ValidateAll() if the designated constraints aren't met.
func (GetLoginRequestMultiError) AllErrors ¶
func (m GetLoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetLoginRequestMultiError) Error ¶
func (m GetLoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetLoginRequestValidationError ¶
type GetLoginRequestValidationError struct {
// contains filtered or unexported fields
}
GetLoginRequestValidationError is the validation error returned by GetLoginRequest.Validate if the designated constraints aren't met.
func (GetLoginRequestValidationError) Cause ¶
func (e GetLoginRequestValidationError) Cause() error
Cause function returns cause value.
func (GetLoginRequestValidationError) Error ¶
func (e GetLoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetLoginRequestValidationError) ErrorName ¶
func (e GetLoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetLoginRequestValidationError) Field ¶
func (e GetLoginRequestValidationError) Field() string
Field function returns field value.
func (GetLoginRequestValidationError) Key ¶
func (e GetLoginRequestValidationError) Key() bool
Key function returns key value.
func (GetLoginRequestValidationError) Reason ¶
func (e GetLoginRequestValidationError) Reason() string
Reason function returns reason value.
type GetLoginResponse ¶
type GetLoginResponse struct { //normalized redirect url Redirect string `protobuf:"bytes,1,opt,name=redirect,proto3" json:"redirect,omitempty"` Oauth []*OAuthProvider `protobuf:"bytes,2,rep,name=oauth,proto3" json:"oauth,omitempty"` Hint string `protobuf:"bytes,3,opt,name=hint,proto3" json:"hint,omitempty"` Challenge string `protobuf:"bytes,4,opt,name=challenge,proto3" json:"challenge,omitempty"` // contains filtered or unexported fields }
func (*GetLoginResponse) Descriptor
deprecated
func (*GetLoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLoginResponse.ProtoReflect.Descriptor instead.
func (*GetLoginResponse) GetChallenge ¶
func (x *GetLoginResponse) GetChallenge() string
func (*GetLoginResponse) GetHint ¶
func (x *GetLoginResponse) GetHint() string
func (*GetLoginResponse) GetOauth ¶
func (x *GetLoginResponse) GetOauth() []*OAuthProvider
func (*GetLoginResponse) GetRedirect ¶
func (x *GetLoginResponse) GetRedirect() string
func (*GetLoginResponse) ProtoMessage ¶
func (*GetLoginResponse) ProtoMessage()
func (*GetLoginResponse) ProtoReflect ¶
func (x *GetLoginResponse) ProtoReflect() protoreflect.Message
func (*GetLoginResponse) Reset ¶
func (x *GetLoginResponse) Reset()
func (*GetLoginResponse) String ¶
func (x *GetLoginResponse) String() string
func (*GetLoginResponse) Validate ¶
func (m *GetLoginResponse) Validate() error
Validate checks the field values on GetLoginResponse 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 (*GetLoginResponse) ValidateAll ¶
func (m *GetLoginResponse) ValidateAll() error
ValidateAll checks the field values on GetLoginResponse 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 GetLoginResponseMultiError, or nil if none found.
type GetLoginResponseMultiError ¶
type GetLoginResponseMultiError []error
GetLoginResponseMultiError is an error wrapping multiple validation errors returned by GetLoginResponse.ValidateAll() if the designated constraints aren't met.
func (GetLoginResponseMultiError) AllErrors ¶
func (m GetLoginResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetLoginResponseMultiError) Error ¶
func (m GetLoginResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetLoginResponseValidationError ¶
type GetLoginResponseValidationError struct {
// contains filtered or unexported fields
}
GetLoginResponseValidationError is the validation error returned by GetLoginResponse.Validate if the designated constraints aren't met.
func (GetLoginResponseValidationError) Cause ¶
func (e GetLoginResponseValidationError) Cause() error
Cause function returns cause value.
func (GetLoginResponseValidationError) Error ¶
func (e GetLoginResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetLoginResponseValidationError) ErrorName ¶
func (e GetLoginResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetLoginResponseValidationError) Field ¶
func (e GetLoginResponseValidationError) Field() string
Field function returns field value.
func (GetLoginResponseValidationError) Key ¶
func (e GetLoginResponseValidationError) Key() bool
Key function returns key value.
func (GetLoginResponseValidationError) Reason ¶
func (e GetLoginResponseValidationError) Reason() string
Reason function returns reason value.
type GetLogoutRequest ¶
type GetLogoutRequest struct { LogoutChallenge string `protobuf:"bytes,1,opt,name=logout_challenge,json=logoutChallenge,proto3" json:"logout_challenge,omitempty"` // contains filtered or unexported fields }
func (*GetLogoutRequest) Descriptor
deprecated
func (*GetLogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLogoutRequest.ProtoReflect.Descriptor instead.
func (*GetLogoutRequest) GetLogoutChallenge ¶
func (x *GetLogoutRequest) GetLogoutChallenge() string
func (*GetLogoutRequest) ProtoMessage ¶
func (*GetLogoutRequest) ProtoMessage()
func (*GetLogoutRequest) ProtoReflect ¶
func (x *GetLogoutRequest) ProtoReflect() protoreflect.Message
func (*GetLogoutRequest) Reset ¶
func (x *GetLogoutRequest) Reset()
func (*GetLogoutRequest) String ¶
func (x *GetLogoutRequest) String() string
func (*GetLogoutRequest) Validate ¶
func (m *GetLogoutRequest) Validate() error
Validate checks the field values on GetLogoutRequest 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 (*GetLogoutRequest) ValidateAll ¶
func (m *GetLogoutRequest) ValidateAll() error
ValidateAll checks the field values on GetLogoutRequest 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 GetLogoutRequestMultiError, or nil if none found.
type GetLogoutRequestMultiError ¶
type GetLogoutRequestMultiError []error
GetLogoutRequestMultiError is an error wrapping multiple validation errors returned by GetLogoutRequest.ValidateAll() if the designated constraints aren't met.
func (GetLogoutRequestMultiError) AllErrors ¶
func (m GetLogoutRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetLogoutRequestMultiError) Error ¶
func (m GetLogoutRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetLogoutRequestValidationError ¶
type GetLogoutRequestValidationError struct {
// contains filtered or unexported fields
}
GetLogoutRequestValidationError is the validation error returned by GetLogoutRequest.Validate if the designated constraints aren't met.
func (GetLogoutRequestValidationError) Cause ¶
func (e GetLogoutRequestValidationError) Cause() error
Cause function returns cause value.
func (GetLogoutRequestValidationError) Error ¶
func (e GetLogoutRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetLogoutRequestValidationError) ErrorName ¶
func (e GetLogoutRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetLogoutRequestValidationError) Field ¶
func (e GetLogoutRequestValidationError) Field() string
Field function returns field value.
func (GetLogoutRequestValidationError) Key ¶
func (e GetLogoutRequestValidationError) Key() bool
Key function returns key value.
func (GetLogoutRequestValidationError) Reason ¶
func (e GetLogoutRequestValidationError) Reason() string
Reason function returns reason value.
type GetLogoutResponse ¶
type GetLogoutResponse struct { Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"` // contains filtered or unexported fields }
func (*GetLogoutResponse) Descriptor
deprecated
func (*GetLogoutResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLogoutResponse.ProtoReflect.Descriptor instead.
func (*GetLogoutResponse) GetChallenge ¶
func (x *GetLogoutResponse) GetChallenge() string
func (*GetLogoutResponse) ProtoMessage ¶
func (*GetLogoutResponse) ProtoMessage()
func (*GetLogoutResponse) ProtoReflect ¶
func (x *GetLogoutResponse) ProtoReflect() protoreflect.Message
func (*GetLogoutResponse) Reset ¶
func (x *GetLogoutResponse) Reset()
func (*GetLogoutResponse) String ¶
func (x *GetLogoutResponse) String() string
func (*GetLogoutResponse) Validate ¶
func (m *GetLogoutResponse) Validate() error
Validate checks the field values on GetLogoutResponse 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 (*GetLogoutResponse) ValidateAll ¶
func (m *GetLogoutResponse) ValidateAll() error
ValidateAll checks the field values on GetLogoutResponse 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 GetLogoutResponseMultiError, or nil if none found.
type GetLogoutResponseMultiError ¶
type GetLogoutResponseMultiError []error
GetLogoutResponseMultiError is an error wrapping multiple validation errors returned by GetLogoutResponse.ValidateAll() if the designated constraints aren't met.
func (GetLogoutResponseMultiError) AllErrors ¶
func (m GetLogoutResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetLogoutResponseMultiError) Error ¶
func (m GetLogoutResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetLogoutResponseValidationError ¶
type GetLogoutResponseValidationError struct {
// contains filtered or unexported fields
}
GetLogoutResponseValidationError is the validation error returned by GetLogoutResponse.Validate if the designated constraints aren't met.
func (GetLogoutResponseValidationError) Cause ¶
func (e GetLogoutResponseValidationError) Cause() error
Cause function returns cause value.
func (GetLogoutResponseValidationError) Error ¶
func (e GetLogoutResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetLogoutResponseValidationError) ErrorName ¶
func (e GetLogoutResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetLogoutResponseValidationError) Field ¶
func (e GetLogoutResponseValidationError) Field() string
Field function returns field value.
func (GetLogoutResponseValidationError) Key ¶
func (e GetLogoutResponseValidationError) Key() bool
Key function returns key value.
func (GetLogoutResponseValidationError) Reason ¶
func (e GetLogoutResponseValidationError) Reason() string
Reason function returns reason value.
type GrantConsentRequest ¶
type GrantConsentRequest struct { Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"` //user granted scope GrantScope []string `protobuf:"bytes,2,rep,name=grant_scope,json=grantScope,proto3" json:"grant_scope,omitempty"` Reject bool `protobuf:"varint,5,opt,name=reject,proto3" json:"reject,omitempty"` // contains filtered or unexported fields }
func (*GrantConsentRequest) Descriptor
deprecated
func (*GrantConsentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GrantConsentRequest.ProtoReflect.Descriptor instead.
func (*GrantConsentRequest) GetChallenge ¶
func (x *GrantConsentRequest) GetChallenge() string
func (*GrantConsentRequest) GetGrantScope ¶
func (x *GrantConsentRequest) GetGrantScope() []string
func (*GrantConsentRequest) GetReject ¶
func (x *GrantConsentRequest) GetReject() bool
func (*GrantConsentRequest) ProtoMessage ¶
func (*GrantConsentRequest) ProtoMessage()
func (*GrantConsentRequest) ProtoReflect ¶
func (x *GrantConsentRequest) ProtoReflect() protoreflect.Message
func (*GrantConsentRequest) Reset ¶
func (x *GrantConsentRequest) Reset()
func (*GrantConsentRequest) String ¶
func (x *GrantConsentRequest) String() string
func (*GrantConsentRequest) Validate ¶
func (m *GrantConsentRequest) Validate() error
Validate checks the field values on GrantConsentRequest 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 (*GrantConsentRequest) ValidateAll ¶
func (m *GrantConsentRequest) ValidateAll() error
ValidateAll checks the field values on GrantConsentRequest 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 GrantConsentRequestMultiError, or nil if none found.
type GrantConsentRequestMultiError ¶
type GrantConsentRequestMultiError []error
GrantConsentRequestMultiError is an error wrapping multiple validation errors returned by GrantConsentRequest.ValidateAll() if the designated constraints aren't met.
func (GrantConsentRequestMultiError) AllErrors ¶
func (m GrantConsentRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantConsentRequestMultiError) Error ¶
func (m GrantConsentRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantConsentRequestValidationError ¶
type GrantConsentRequestValidationError struct {
// contains filtered or unexported fields
}
GrantConsentRequestValidationError is the validation error returned by GrantConsentRequest.Validate if the designated constraints aren't met.
func (GrantConsentRequestValidationError) Cause ¶
func (e GrantConsentRequestValidationError) Cause() error
Cause function returns cause value.
func (GrantConsentRequestValidationError) Error ¶
func (e GrantConsentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GrantConsentRequestValidationError) ErrorName ¶
func (e GrantConsentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GrantConsentRequestValidationError) Field ¶
func (e GrantConsentRequestValidationError) Field() string
Field function returns field value.
func (GrantConsentRequestValidationError) Key ¶
func (e GrantConsentRequestValidationError) Key() bool
Key function returns key value.
func (GrantConsentRequestValidationError) Reason ¶
func (e GrantConsentRequestValidationError) Reason() string
Reason function returns reason value.
type GrantConsentResponse ¶
type GrantConsentResponse struct { Redirect string `protobuf:"bytes,10,opt,name=redirect,proto3" json:"redirect,omitempty"` // contains filtered or unexported fields }
func (*GrantConsentResponse) Descriptor
deprecated
func (*GrantConsentResponse) Descriptor() ([]byte, []int)
Deprecated: Use GrantConsentResponse.ProtoReflect.Descriptor instead.
func (*GrantConsentResponse) GetRedirect ¶
func (x *GrantConsentResponse) GetRedirect() string
func (*GrantConsentResponse) ProtoMessage ¶
func (*GrantConsentResponse) ProtoMessage()
func (*GrantConsentResponse) ProtoReflect ¶
func (x *GrantConsentResponse) ProtoReflect() protoreflect.Message
func (*GrantConsentResponse) Reset ¶
func (x *GrantConsentResponse) Reset()
func (*GrantConsentResponse) String ¶
func (x *GrantConsentResponse) String() string
func (*GrantConsentResponse) Validate ¶
func (m *GrantConsentResponse) Validate() error
Validate checks the field values on GrantConsentResponse 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 (*GrantConsentResponse) ValidateAll ¶
func (m *GrantConsentResponse) ValidateAll() error
ValidateAll checks the field values on GrantConsentResponse 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 GrantConsentResponseMultiError, or nil if none found.
type GrantConsentResponseMultiError ¶
type GrantConsentResponseMultiError []error
GrantConsentResponseMultiError is an error wrapping multiple validation errors returned by GrantConsentResponse.ValidateAll() if the designated constraints aren't met.
func (GrantConsentResponseMultiError) AllErrors ¶
func (m GrantConsentResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantConsentResponseMultiError) Error ¶
func (m GrantConsentResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantConsentResponseValidationError ¶
type GrantConsentResponseValidationError struct {
// contains filtered or unexported fields
}
GrantConsentResponseValidationError is the validation error returned by GrantConsentResponse.Validate if the designated constraints aren't met.
func (GrantConsentResponseValidationError) Cause ¶
func (e GrantConsentResponseValidationError) Cause() error
Cause function returns cause value.
func (GrantConsentResponseValidationError) Error ¶
func (e GrantConsentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GrantConsentResponseValidationError) ErrorName ¶
func (e GrantConsentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GrantConsentResponseValidationError) Field ¶
func (e GrantConsentResponseValidationError) Field() string
Field function returns field value.
func (GrantConsentResponseValidationError) Key ¶
func (e GrantConsentResponseValidationError) Key() bool
Key function returns key value.
func (GrantConsentResponseValidationError) Reason ¶
func (e GrantConsentResponseValidationError) Reason() string
Reason function returns reason value.
type LoginAuthReply ¶
type LoginAuthReply struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // Bearer TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"` // Expires time in seconds // Deprecated, use expires_in instead // // Deprecated: Do not use. Expires int32 `protobuf:"varint,3,opt,name=expires,proto3" json:"expires,omitempty"` // Refresh token to keep login state RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // Expires time in seconds ExpiresIn int32 `protobuf:"varint,5,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` Redirect string `protobuf:"bytes,10,opt,name=redirect,proto3" json:"redirect,omitempty"` // contains filtered or unexported fields }
func (*LoginAuthReply) Descriptor
deprecated
func (*LoginAuthReply) Descriptor() ([]byte, []int)
Deprecated: Use LoginAuthReply.ProtoReflect.Descriptor instead.
func (*LoginAuthReply) GetAccessToken ¶
func (x *LoginAuthReply) GetAccessToken() string
func (*LoginAuthReply) GetExpires
deprecated
func (x *LoginAuthReply) GetExpires() int32
Deprecated: Do not use.
func (*LoginAuthReply) GetExpiresIn ¶
func (x *LoginAuthReply) GetExpiresIn() int32
func (*LoginAuthReply) GetRedirect ¶
func (x *LoginAuthReply) GetRedirect() string
func (*LoginAuthReply) GetRefreshToken ¶
func (x *LoginAuthReply) GetRefreshToken() string
func (*LoginAuthReply) GetTokenType ¶
func (x *LoginAuthReply) GetTokenType() string
func (*LoginAuthReply) ProtoMessage ¶
func (*LoginAuthReply) ProtoMessage()
func (*LoginAuthReply) ProtoReflect ¶
func (x *LoginAuthReply) ProtoReflect() protoreflect.Message
func (*LoginAuthReply) Reset ¶
func (x *LoginAuthReply) Reset()
func (*LoginAuthReply) String ¶
func (x *LoginAuthReply) String() string
func (*LoginAuthReply) Validate ¶
func (m *LoginAuthReply) Validate() error
Validate checks the field values on LoginAuthReply 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 (*LoginAuthReply) ValidateAll ¶
func (m *LoginAuthReply) ValidateAll() error
ValidateAll checks the field values on LoginAuthReply 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 LoginAuthReplyMultiError, or nil if none found.
type LoginAuthReplyMultiError ¶
type LoginAuthReplyMultiError []error
LoginAuthReplyMultiError is an error wrapping multiple validation errors returned by LoginAuthReply.ValidateAll() if the designated constraints aren't met.
func (LoginAuthReplyMultiError) AllErrors ¶
func (m LoginAuthReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginAuthReplyMultiError) Error ¶
func (m LoginAuthReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginAuthReplyValidationError ¶
type LoginAuthReplyValidationError struct {
// contains filtered or unexported fields
}
LoginAuthReplyValidationError is the validation error returned by LoginAuthReply.Validate if the designated constraints aren't met.
func (LoginAuthReplyValidationError) Cause ¶
func (e LoginAuthReplyValidationError) Cause() error
Cause function returns cause value.
func (LoginAuthReplyValidationError) Error ¶
func (e LoginAuthReplyValidationError) Error() string
Error satisfies the builtin error interface
func (LoginAuthReplyValidationError) ErrorName ¶
func (e LoginAuthReplyValidationError) ErrorName() string
ErrorName returns error name.
func (LoginAuthReplyValidationError) Field ¶
func (e LoginAuthReplyValidationError) Field() string
Field function returns field value.
func (LoginAuthReplyValidationError) Key ¶
func (e LoginAuthReplyValidationError) Key() bool
Key function returns key value.
func (LoginAuthReplyValidationError) Reason ¶
func (e LoginAuthReplyValidationError) Reason() string
Reason function returns reason value.
type LoginAuthRequest ¶
type LoginAuthRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Remember bool `protobuf:"varint,3,opt,name=remember,proto3" json:"remember,omitempty"` // contains filtered or unexported fields }
func (*LoginAuthRequest) Descriptor
deprecated
func (*LoginAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginAuthRequest.ProtoReflect.Descriptor instead.
func (*LoginAuthRequest) GetPassword ¶
func (x *LoginAuthRequest) GetPassword() string
func (*LoginAuthRequest) GetRemember ¶
func (x *LoginAuthRequest) GetRemember() bool
func (*LoginAuthRequest) GetUsername ¶
func (x *LoginAuthRequest) GetUsername() string
func (*LoginAuthRequest) ProtoMessage ¶
func (*LoginAuthRequest) ProtoMessage()
func (*LoginAuthRequest) ProtoReflect ¶
func (x *LoginAuthRequest) ProtoReflect() protoreflect.Message
func (*LoginAuthRequest) Reset ¶
func (x *LoginAuthRequest) Reset()
func (*LoginAuthRequest) String ¶
func (x *LoginAuthRequest) String() string
func (*LoginAuthRequest) StringWithMask ¶
func (x *LoginAuthRequest) StringWithMask(mask string) string
func (*LoginAuthRequest) Validate ¶
func (m *LoginAuthRequest) Validate() error
Validate checks the field values on LoginAuthRequest 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 (*LoginAuthRequest) ValidateAll ¶
func (m *LoginAuthRequest) ValidateAll() error
ValidateAll checks the field values on LoginAuthRequest 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 LoginAuthRequestMultiError, or nil if none found.
type LoginAuthRequestMultiError ¶
type LoginAuthRequestMultiError []error
LoginAuthRequestMultiError is an error wrapping multiple validation errors returned by LoginAuthRequest.ValidateAll() if the designated constraints aren't met.
func (LoginAuthRequestMultiError) AllErrors ¶
func (m LoginAuthRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginAuthRequestMultiError) Error ¶
func (m LoginAuthRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginAuthRequestValidationError ¶
type LoginAuthRequestValidationError struct {
// contains filtered or unexported fields
}
LoginAuthRequestValidationError is the validation error returned by LoginAuthRequest.Validate if the designated constraints aren't met.
func (LoginAuthRequestValidationError) Cause ¶
func (e LoginAuthRequestValidationError) Cause() error
Cause function returns cause value.
func (LoginAuthRequestValidationError) Error ¶
func (e LoginAuthRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LoginAuthRequestValidationError) ErrorName ¶
func (e LoginAuthRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LoginAuthRequestValidationError) Field ¶
func (e LoginAuthRequestValidationError) Field() string
Field function returns field value.
func (LoginAuthRequestValidationError) Key ¶
func (e LoginAuthRequestValidationError) Key() bool
Key function returns key value.
func (LoginAuthRequestValidationError) Reason ¶
func (e LoginAuthRequestValidationError) Reason() string
Reason function returns reason value.
type LoginPasswordlessReply ¶
type LoginPasswordlessReply struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // Bearer TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"` // Refresh token to keep login state RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // Expires time in seconds ExpiresIn int32 `protobuf:"varint,5,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` // contains filtered or unexported fields }
func (*LoginPasswordlessReply) Descriptor
deprecated
func (*LoginPasswordlessReply) Descriptor() ([]byte, []int)
Deprecated: Use LoginPasswordlessReply.ProtoReflect.Descriptor instead.
func (*LoginPasswordlessReply) GetAccessToken ¶
func (x *LoginPasswordlessReply) GetAccessToken() string
func (*LoginPasswordlessReply) GetExpiresIn ¶
func (x *LoginPasswordlessReply) GetExpiresIn() int32
func (*LoginPasswordlessReply) GetRefreshToken ¶
func (x *LoginPasswordlessReply) GetRefreshToken() string
func (*LoginPasswordlessReply) GetTokenType ¶
func (x *LoginPasswordlessReply) GetTokenType() string
func (*LoginPasswordlessReply) ProtoMessage ¶
func (*LoginPasswordlessReply) ProtoMessage()
func (*LoginPasswordlessReply) ProtoReflect ¶
func (x *LoginPasswordlessReply) ProtoReflect() protoreflect.Message
func (*LoginPasswordlessReply) Reset ¶
func (x *LoginPasswordlessReply) Reset()
func (*LoginPasswordlessReply) String ¶
func (x *LoginPasswordlessReply) String() string
func (*LoginPasswordlessReply) Validate ¶
func (m *LoginPasswordlessReply) Validate() error
Validate checks the field values on LoginPasswordlessReply 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 (*LoginPasswordlessReply) ValidateAll ¶
func (m *LoginPasswordlessReply) ValidateAll() error
ValidateAll checks the field values on LoginPasswordlessReply 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 LoginPasswordlessReplyMultiError, or nil if none found.
type LoginPasswordlessReplyMultiError ¶
type LoginPasswordlessReplyMultiError []error
LoginPasswordlessReplyMultiError is an error wrapping multiple validation errors returned by LoginPasswordlessReply.ValidateAll() if the designated constraints aren't met.
func (LoginPasswordlessReplyMultiError) AllErrors ¶
func (m LoginPasswordlessReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginPasswordlessReplyMultiError) Error ¶
func (m LoginPasswordlessReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginPasswordlessReplyValidationError ¶
type LoginPasswordlessReplyValidationError struct {
// contains filtered or unexported fields
}
LoginPasswordlessReplyValidationError is the validation error returned by LoginPasswordlessReply.Validate if the designated constraints aren't met.
func (LoginPasswordlessReplyValidationError) Cause ¶
func (e LoginPasswordlessReplyValidationError) Cause() error
Cause function returns cause value.
func (LoginPasswordlessReplyValidationError) Error ¶
func (e LoginPasswordlessReplyValidationError) Error() string
Error satisfies the builtin error interface
func (LoginPasswordlessReplyValidationError) ErrorName ¶
func (e LoginPasswordlessReplyValidationError) ErrorName() string
ErrorName returns error name.
func (LoginPasswordlessReplyValidationError) Field ¶
func (e LoginPasswordlessReplyValidationError) Field() string
Field function returns field value.
func (LoginPasswordlessReplyValidationError) Key ¶
func (e LoginPasswordlessReplyValidationError) Key() bool
Key function returns key value.
func (LoginPasswordlessReplyValidationError) Reason ¶
func (e LoginPasswordlessReplyValidationError) Reason() string
Reason function returns reason value.
type LoginPasswordlessRequest ¶
type LoginPasswordlessRequest struct { Phone *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=phone,proto3,oneof" json:"phone,omitempty"` Email *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=email,proto3,oneof" json:"email,omitempty"` Token string `protobuf:"bytes,10,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*LoginPasswordlessRequest) Descriptor
deprecated
func (*LoginPasswordlessRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginPasswordlessRequest.ProtoReflect.Descriptor instead.
func (*LoginPasswordlessRequest) GetEmail ¶
func (x *LoginPasswordlessRequest) GetEmail() *wrapperspb.StringValue
func (*LoginPasswordlessRequest) GetPhone ¶
func (x *LoginPasswordlessRequest) GetPhone() *wrapperspb.StringValue
func (*LoginPasswordlessRequest) GetToken ¶
func (x *LoginPasswordlessRequest) GetToken() string
func (*LoginPasswordlessRequest) ProtoMessage ¶
func (*LoginPasswordlessRequest) ProtoMessage()
func (*LoginPasswordlessRequest) ProtoReflect ¶
func (x *LoginPasswordlessRequest) ProtoReflect() protoreflect.Message
func (*LoginPasswordlessRequest) Reset ¶
func (x *LoginPasswordlessRequest) Reset()
func (*LoginPasswordlessRequest) String ¶
func (x *LoginPasswordlessRequest) String() string
func (*LoginPasswordlessRequest) Validate ¶
func (m *LoginPasswordlessRequest) Validate() error
Validate checks the field values on LoginPasswordlessRequest 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 (*LoginPasswordlessRequest) ValidateAll ¶
func (m *LoginPasswordlessRequest) ValidateAll() error
ValidateAll checks the field values on LoginPasswordlessRequest 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 LoginPasswordlessRequestMultiError, or nil if none found.
type LoginPasswordlessRequestMultiError ¶
type LoginPasswordlessRequestMultiError []error
LoginPasswordlessRequestMultiError is an error wrapping multiple validation errors returned by LoginPasswordlessRequest.ValidateAll() if the designated constraints aren't met.
func (LoginPasswordlessRequestMultiError) AllErrors ¶
func (m LoginPasswordlessRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginPasswordlessRequestMultiError) Error ¶
func (m LoginPasswordlessRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginPasswordlessRequestValidationError ¶
type LoginPasswordlessRequestValidationError struct {
// contains filtered or unexported fields
}
LoginPasswordlessRequestValidationError is the validation error returned by LoginPasswordlessRequest.Validate if the designated constraints aren't met.
func (LoginPasswordlessRequestValidationError) Cause ¶
func (e LoginPasswordlessRequestValidationError) Cause() error
Cause function returns cause value.
func (LoginPasswordlessRequestValidationError) Error ¶
func (e LoginPasswordlessRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LoginPasswordlessRequestValidationError) ErrorName ¶
func (e LoginPasswordlessRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LoginPasswordlessRequestValidationError) Field ¶
func (e LoginPasswordlessRequestValidationError) Field() string
Field function returns field value.
func (LoginPasswordlessRequestValidationError) Key ¶
func (e LoginPasswordlessRequestValidationError) Key() bool
Key function returns key value.
func (LoginPasswordlessRequestValidationError) Reason ¶
func (e LoginPasswordlessRequestValidationError) Reason() string
Reason function returns reason value.
type LogoutRequest ¶
type LogoutRequest struct { Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"` // contains filtered or unexported fields }
func (*LogoutRequest) Descriptor
deprecated
func (*LogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.
func (*LogoutRequest) GetChallenge ¶
func (x *LogoutRequest) GetChallenge() 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
func (*LogoutRequest) Validate ¶
func (m *LogoutRequest) Validate() error
Validate checks the field values on LogoutRequest 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 (*LogoutRequest) ValidateAll ¶
func (m *LogoutRequest) ValidateAll() error
ValidateAll checks the field values on LogoutRequest 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 LogoutRequestMultiError, or nil if none found.
type LogoutRequestMultiError ¶
type LogoutRequestMultiError []error
LogoutRequestMultiError is an error wrapping multiple validation errors returned by LogoutRequest.ValidateAll() if the designated constraints aren't met.
func (LogoutRequestMultiError) AllErrors ¶
func (m LogoutRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LogoutRequestMultiError) Error ¶
func (m LogoutRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LogoutRequestValidationError ¶
type LogoutRequestValidationError struct {
// contains filtered or unexported fields
}
LogoutRequestValidationError is the validation error returned by LogoutRequest.Validate if the designated constraints aren't met.
func (LogoutRequestValidationError) Cause ¶
func (e LogoutRequestValidationError) Cause() error
Cause function returns cause value.
func (LogoutRequestValidationError) Error ¶
func (e LogoutRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LogoutRequestValidationError) ErrorName ¶
func (e LogoutRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LogoutRequestValidationError) Field ¶
func (e LogoutRequestValidationError) Field() string
Field function returns field value.
func (LogoutRequestValidationError) Key ¶
func (e LogoutRequestValidationError) Key() bool
Key function returns key value.
func (LogoutRequestValidationError) Reason ¶
func (e LogoutRequestValidationError) Reason() string
Reason function returns reason value.
type LogoutResponse ¶
type LogoutResponse struct { Redirect string `protobuf:"bytes,1,opt,name=redirect,proto3" json:"redirect,omitempty"` // contains filtered or unexported fields }
func (*LogoutResponse) Descriptor
deprecated
func (*LogoutResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.
func (*LogoutResponse) GetRedirect ¶
func (x *LogoutResponse) GetRedirect() string
func (*LogoutResponse) ProtoMessage ¶
func (*LogoutResponse) ProtoMessage()
func (*LogoutResponse) ProtoReflect ¶
func (x *LogoutResponse) ProtoReflect() protoreflect.Message
func (*LogoutResponse) Reset ¶
func (x *LogoutResponse) Reset()
func (*LogoutResponse) String ¶
func (x *LogoutResponse) String() string
func (*LogoutResponse) Validate ¶
func (m *LogoutResponse) Validate() error
Validate checks the field values on LogoutResponse 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 (*LogoutResponse) ValidateAll ¶
func (m *LogoutResponse) ValidateAll() error
ValidateAll checks the field values on LogoutResponse 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 LogoutResponseMultiError, or nil if none found.
type LogoutResponseMultiError ¶
type LogoutResponseMultiError []error
LogoutResponseMultiError is an error wrapping multiple validation errors returned by LogoutResponse.ValidateAll() if the designated constraints aren't met.
func (LogoutResponseMultiError) AllErrors ¶
func (m LogoutResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LogoutResponseMultiError) Error ¶
func (m LogoutResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LogoutResponseValidationError ¶
type LogoutResponseValidationError struct {
// contains filtered or unexported fields
}
LogoutResponseValidationError is the validation error returned by LogoutResponse.Validate if the designated constraints aren't met.
func (LogoutResponseValidationError) Cause ¶
func (e LogoutResponseValidationError) Cause() error
Cause function returns cause value.
func (LogoutResponseValidationError) Error ¶
func (e LogoutResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LogoutResponseValidationError) ErrorName ¶
func (e LogoutResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LogoutResponseValidationError) Field ¶
func (e LogoutResponseValidationError) Field() string
Field function returns field value.
func (LogoutResponseValidationError) Key ¶
func (e LogoutResponseValidationError) Key() bool
Key function returns key value.
func (LogoutResponseValidationError) Reason ¶
func (e LogoutResponseValidationError) Reason() string
Reason function returns reason value.
type OAuthClient ¶
type OAuthClient struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` LogoUrl string `protobuf:"bytes,3,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"` Metadata *structpb.Struct `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*OAuthClient) Descriptor
deprecated
func (*OAuthClient) Descriptor() ([]byte, []int)
Deprecated: Use OAuthClient.ProtoReflect.Descriptor instead.
func (*OAuthClient) GetId ¶
func (x *OAuthClient) GetId() string
func (*OAuthClient) GetLogoUrl ¶
func (x *OAuthClient) GetLogoUrl() string
func (*OAuthClient) GetMetadata ¶
func (x *OAuthClient) GetMetadata() *structpb.Struct
func (*OAuthClient) GetName ¶
func (x *OAuthClient) GetName() string
func (*OAuthClient) ProtoMessage ¶
func (*OAuthClient) ProtoMessage()
func (*OAuthClient) ProtoReflect ¶
func (x *OAuthClient) ProtoReflect() protoreflect.Message
func (*OAuthClient) Reset ¶
func (x *OAuthClient) Reset()
func (*OAuthClient) String ¶
func (x *OAuthClient) String() string
func (*OAuthClient) Validate ¶
func (m *OAuthClient) Validate() error
Validate checks the field values on OAuthClient 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 (*OAuthClient) ValidateAll ¶
func (m *OAuthClient) ValidateAll() error
ValidateAll checks the field values on OAuthClient 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 OAuthClientMultiError, or nil if none found.
type OAuthClientMultiError ¶
type OAuthClientMultiError []error
OAuthClientMultiError is an error wrapping multiple validation errors returned by OAuthClient.ValidateAll() if the designated constraints aren't met.
func (OAuthClientMultiError) AllErrors ¶
func (m OAuthClientMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OAuthClientMultiError) Error ¶
func (m OAuthClientMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OAuthClientValidationError ¶
type OAuthClientValidationError struct {
// contains filtered or unexported fields
}
OAuthClientValidationError is the validation error returned by OAuthClient.Validate if the designated constraints aren't met.
func (OAuthClientValidationError) Cause ¶
func (e OAuthClientValidationError) Cause() error
Cause function returns cause value.
func (OAuthClientValidationError) Error ¶
func (e OAuthClientValidationError) Error() string
Error satisfies the builtin error interface
func (OAuthClientValidationError) ErrorName ¶
func (e OAuthClientValidationError) ErrorName() string
ErrorName returns error name.
func (OAuthClientValidationError) Field ¶
func (e OAuthClientValidationError) Field() string
Field function returns field value.
func (OAuthClientValidationError) Key ¶
func (e OAuthClientValidationError) Key() bool
Key function returns key value.
func (OAuthClientValidationError) Reason ¶
func (e OAuthClientValidationError) Reason() string
Reason function returns reason value.
type OAuthProvider ¶
type OAuthProvider struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*OAuthProvider) Descriptor
deprecated
func (*OAuthProvider) Descriptor() ([]byte, []int)
Deprecated: Use OAuthProvider.ProtoReflect.Descriptor instead.
func (*OAuthProvider) GetName ¶
func (x *OAuthProvider) GetName() string
func (*OAuthProvider) ProtoMessage ¶
func (*OAuthProvider) ProtoMessage()
func (*OAuthProvider) ProtoReflect ¶
func (x *OAuthProvider) ProtoReflect() protoreflect.Message
func (*OAuthProvider) Reset ¶
func (x *OAuthProvider) Reset()
func (*OAuthProvider) String ¶
func (x *OAuthProvider) String() string
func (*OAuthProvider) Validate ¶
func (m *OAuthProvider) Validate() error
Validate checks the field values on OAuthProvider 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 (*OAuthProvider) ValidateAll ¶
func (m *OAuthProvider) ValidateAll() error
ValidateAll checks the field values on OAuthProvider 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 OAuthProviderMultiError, or nil if none found.
type OAuthProviderMultiError ¶
type OAuthProviderMultiError []error
OAuthProviderMultiError is an error wrapping multiple validation errors returned by OAuthProvider.ValidateAll() if the designated constraints aren't met.
func (OAuthProviderMultiError) AllErrors ¶
func (m OAuthProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OAuthProviderMultiError) Error ¶
func (m OAuthProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OAuthProviderValidationError ¶
type OAuthProviderValidationError struct {
// contains filtered or unexported fields
}
OAuthProviderValidationError is the validation error returned by OAuthProvider.Validate if the designated constraints aren't met.
func (OAuthProviderValidationError) Cause ¶
func (e OAuthProviderValidationError) Cause() error
Cause function returns cause value.
func (OAuthProviderValidationError) Error ¶
func (e OAuthProviderValidationError) Error() string
Error satisfies the builtin error interface
func (OAuthProviderValidationError) ErrorName ¶
func (e OAuthProviderValidationError) ErrorName() string
ErrorName returns error name.
func (OAuthProviderValidationError) Field ¶
func (e OAuthProviderValidationError) Field() string
Field function returns field value.
func (OAuthProviderValidationError) Key ¶
func (e OAuthProviderValidationError) Key() bool
Key function returns key value.
func (OAuthProviderValidationError) Reason ¶
func (e OAuthProviderValidationError) Reason() string
Reason function returns reason value.
type PasswordlessTokenAuthReply ¶
type PasswordlessTokenAuthReply struct { //expire time Expire *durationpb.Duration `protobuf:"bytes,1,opt,name=expire,proto3" json:"expire,omitempty"` // contains filtered or unexported fields }
func (*PasswordlessTokenAuthReply) Descriptor
deprecated
func (*PasswordlessTokenAuthReply) Descriptor() ([]byte, []int)
Deprecated: Use PasswordlessTokenAuthReply.ProtoReflect.Descriptor instead.
func (*PasswordlessTokenAuthReply) GetExpire ¶
func (x *PasswordlessTokenAuthReply) GetExpire() *durationpb.Duration
func (*PasswordlessTokenAuthReply) ProtoMessage ¶
func (*PasswordlessTokenAuthReply) ProtoMessage()
func (*PasswordlessTokenAuthReply) ProtoReflect ¶
func (x *PasswordlessTokenAuthReply) ProtoReflect() protoreflect.Message
func (*PasswordlessTokenAuthReply) Reset ¶
func (x *PasswordlessTokenAuthReply) Reset()
func (*PasswordlessTokenAuthReply) String ¶
func (x *PasswordlessTokenAuthReply) String() string
func (*PasswordlessTokenAuthReply) Validate ¶
func (m *PasswordlessTokenAuthReply) Validate() error
Validate checks the field values on PasswordlessTokenAuthReply 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 (*PasswordlessTokenAuthReply) ValidateAll ¶
func (m *PasswordlessTokenAuthReply) ValidateAll() error
ValidateAll checks the field values on PasswordlessTokenAuthReply 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 PasswordlessTokenAuthReplyMultiError, or nil if none found.
type PasswordlessTokenAuthReplyMultiError ¶
type PasswordlessTokenAuthReplyMultiError []error
PasswordlessTokenAuthReplyMultiError is an error wrapping multiple validation errors returned by PasswordlessTokenAuthReply.ValidateAll() if the designated constraints aren't met.
func (PasswordlessTokenAuthReplyMultiError) AllErrors ¶
func (m PasswordlessTokenAuthReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PasswordlessTokenAuthReplyMultiError) Error ¶
func (m PasswordlessTokenAuthReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PasswordlessTokenAuthReplyValidationError ¶
type PasswordlessTokenAuthReplyValidationError struct {
// contains filtered or unexported fields
}
PasswordlessTokenAuthReplyValidationError is the validation error returned by PasswordlessTokenAuthReply.Validate if the designated constraints aren't met.
func (PasswordlessTokenAuthReplyValidationError) Cause ¶
func (e PasswordlessTokenAuthReplyValidationError) Cause() error
Cause function returns cause value.
func (PasswordlessTokenAuthReplyValidationError) Error ¶
func (e PasswordlessTokenAuthReplyValidationError) Error() string
Error satisfies the builtin error interface
func (PasswordlessTokenAuthReplyValidationError) ErrorName ¶
func (e PasswordlessTokenAuthReplyValidationError) ErrorName() string
ErrorName returns error name.
func (PasswordlessTokenAuthReplyValidationError) Field ¶
func (e PasswordlessTokenAuthReplyValidationError) Field() string
Field function returns field value.
func (PasswordlessTokenAuthReplyValidationError) Key ¶
func (e PasswordlessTokenAuthReplyValidationError) Key() bool
Key function returns key value.
func (PasswordlessTokenAuthReplyValidationError) Reason ¶
func (e PasswordlessTokenAuthReplyValidationError) Reason() string
Reason function returns reason value.
type PasswordlessTokenAuthRequest ¶
type PasswordlessTokenAuthRequest struct { Phone *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=phone,proto3,oneof" json:"phone,omitempty"` Email *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=email,proto3,oneof" json:"email,omitempty"` // contains filtered or unexported fields }
func (*PasswordlessTokenAuthRequest) Descriptor
deprecated
func (*PasswordlessTokenAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use PasswordlessTokenAuthRequest.ProtoReflect.Descriptor instead.
func (*PasswordlessTokenAuthRequest) GetEmail ¶
func (x *PasswordlessTokenAuthRequest) GetEmail() *wrapperspb.StringValue
func (*PasswordlessTokenAuthRequest) GetPhone ¶
func (x *PasswordlessTokenAuthRequest) GetPhone() *wrapperspb.StringValue
func (*PasswordlessTokenAuthRequest) ProtoMessage ¶
func (*PasswordlessTokenAuthRequest) ProtoMessage()
func (*PasswordlessTokenAuthRequest) ProtoReflect ¶
func (x *PasswordlessTokenAuthRequest) ProtoReflect() protoreflect.Message
func (*PasswordlessTokenAuthRequest) Reset ¶
func (x *PasswordlessTokenAuthRequest) Reset()
func (*PasswordlessTokenAuthRequest) String ¶
func (x *PasswordlessTokenAuthRequest) String() string
func (*PasswordlessTokenAuthRequest) Validate ¶
func (m *PasswordlessTokenAuthRequest) Validate() error
Validate checks the field values on PasswordlessTokenAuthRequest 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 (*PasswordlessTokenAuthRequest) ValidateAll ¶
func (m *PasswordlessTokenAuthRequest) ValidateAll() error
ValidateAll checks the field values on PasswordlessTokenAuthRequest 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 PasswordlessTokenAuthRequestMultiError, or nil if none found.
type PasswordlessTokenAuthRequestMultiError ¶
type PasswordlessTokenAuthRequestMultiError []error
PasswordlessTokenAuthRequestMultiError is an error wrapping multiple validation errors returned by PasswordlessTokenAuthRequest.ValidateAll() if the designated constraints aren't met.
func (PasswordlessTokenAuthRequestMultiError) AllErrors ¶
func (m PasswordlessTokenAuthRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PasswordlessTokenAuthRequestMultiError) Error ¶
func (m PasswordlessTokenAuthRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PasswordlessTokenAuthRequestValidationError ¶
type PasswordlessTokenAuthRequestValidationError struct {
// contains filtered or unexported fields
}
PasswordlessTokenAuthRequestValidationError is the validation error returned by PasswordlessTokenAuthRequest.Validate if the designated constraints aren't met.
func (PasswordlessTokenAuthRequestValidationError) Cause ¶
func (e PasswordlessTokenAuthRequestValidationError) Cause() error
Cause function returns cause value.
func (PasswordlessTokenAuthRequestValidationError) Error ¶
func (e PasswordlessTokenAuthRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PasswordlessTokenAuthRequestValidationError) ErrorName ¶
func (e PasswordlessTokenAuthRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PasswordlessTokenAuthRequestValidationError) Field ¶
func (e PasswordlessTokenAuthRequestValidationError) Field() string
Field function returns field value.
func (PasswordlessTokenAuthRequestValidationError) Key ¶
func (e PasswordlessTokenAuthRequestValidationError) Key() bool
Key function returns key value.
func (PasswordlessTokenAuthRequestValidationError) Reason ¶
func (e PasswordlessTokenAuthRequestValidationError) Reason() string
Reason function returns reason value.
type RefreshRememberTokenReply ¶
type RefreshRememberTokenReply struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` NewRmToken string `protobuf:"bytes,2,opt,name=new_rm_token,json=newRmToken,proto3" json:"new_rm_token,omitempty"` // contains filtered or unexported fields }
func (*RefreshRememberTokenReply) Descriptor
deprecated
func (*RefreshRememberTokenReply) Descriptor() ([]byte, []int)
Deprecated: Use RefreshRememberTokenReply.ProtoReflect.Descriptor instead.
func (*RefreshRememberTokenReply) GetNewRmToken ¶
func (x *RefreshRememberTokenReply) GetNewRmToken() string
func (*RefreshRememberTokenReply) GetUserId ¶
func (x *RefreshRememberTokenReply) GetUserId() string
func (*RefreshRememberTokenReply) ProtoMessage ¶
func (*RefreshRememberTokenReply) ProtoMessage()
func (*RefreshRememberTokenReply) ProtoReflect ¶
func (x *RefreshRememberTokenReply) ProtoReflect() protoreflect.Message
func (*RefreshRememberTokenReply) Reset ¶
func (x *RefreshRememberTokenReply) Reset()
func (*RefreshRememberTokenReply) String ¶
func (x *RefreshRememberTokenReply) String() string
func (*RefreshRememberTokenReply) Validate ¶
func (m *RefreshRememberTokenReply) Validate() error
Validate checks the field values on RefreshRememberTokenReply 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 (*RefreshRememberTokenReply) ValidateAll ¶
func (m *RefreshRememberTokenReply) ValidateAll() error
ValidateAll checks the field values on RefreshRememberTokenReply 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 RefreshRememberTokenReplyMultiError, or nil if none found.
type RefreshRememberTokenReplyMultiError ¶
type RefreshRememberTokenReplyMultiError []error
RefreshRememberTokenReplyMultiError is an error wrapping multiple validation errors returned by RefreshRememberTokenReply.ValidateAll() if the designated constraints aren't met.
func (RefreshRememberTokenReplyMultiError) AllErrors ¶
func (m RefreshRememberTokenReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RefreshRememberTokenReplyMultiError) Error ¶
func (m RefreshRememberTokenReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RefreshRememberTokenReplyValidationError ¶
type RefreshRememberTokenReplyValidationError struct {
// contains filtered or unexported fields
}
RefreshRememberTokenReplyValidationError is the validation error returned by RefreshRememberTokenReply.Validate if the designated constraints aren't met.
func (RefreshRememberTokenReplyValidationError) Cause ¶
func (e RefreshRememberTokenReplyValidationError) Cause() error
Cause function returns cause value.
func (RefreshRememberTokenReplyValidationError) Error ¶
func (e RefreshRememberTokenReplyValidationError) Error() string
Error satisfies the builtin error interface
func (RefreshRememberTokenReplyValidationError) ErrorName ¶
func (e RefreshRememberTokenReplyValidationError) ErrorName() string
ErrorName returns error name.
func (RefreshRememberTokenReplyValidationError) Field ¶
func (e RefreshRememberTokenReplyValidationError) Field() string
Field function returns field value.
func (RefreshRememberTokenReplyValidationError) Key ¶
func (e RefreshRememberTokenReplyValidationError) Key() bool
Key function returns key value.
func (RefreshRememberTokenReplyValidationError) Reason ¶
func (e RefreshRememberTokenReplyValidationError) Reason() string
Reason function returns reason value.
type RefreshRememberTokenRequest ¶
type RefreshRememberTokenRequest struct { RmToken string `protobuf:"bytes,1,opt,name=rm_token,json=rmToken,proto3" json:"rm_token,omitempty"` // contains filtered or unexported fields }
func (*RefreshRememberTokenRequest) Descriptor
deprecated
func (*RefreshRememberTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshRememberTokenRequest.ProtoReflect.Descriptor instead.
func (*RefreshRememberTokenRequest) GetRmToken ¶
func (x *RefreshRememberTokenRequest) GetRmToken() string
func (*RefreshRememberTokenRequest) ProtoMessage ¶
func (*RefreshRememberTokenRequest) ProtoMessage()
func (*RefreshRememberTokenRequest) ProtoReflect ¶
func (x *RefreshRememberTokenRequest) ProtoReflect() protoreflect.Message
func (*RefreshRememberTokenRequest) Reset ¶
func (x *RefreshRememberTokenRequest) Reset()
func (*RefreshRememberTokenRequest) String ¶
func (x *RefreshRememberTokenRequest) String() string
func (*RefreshRememberTokenRequest) Validate ¶
func (m *RefreshRememberTokenRequest) Validate() error
Validate checks the field values on RefreshRememberTokenRequest 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 (*RefreshRememberTokenRequest) ValidateAll ¶
func (m *RefreshRememberTokenRequest) ValidateAll() error
ValidateAll checks the field values on RefreshRememberTokenRequest 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 RefreshRememberTokenRequestMultiError, or nil if none found.
type RefreshRememberTokenRequestMultiError ¶
type RefreshRememberTokenRequestMultiError []error
RefreshRememberTokenRequestMultiError is an error wrapping multiple validation errors returned by RefreshRememberTokenRequest.ValidateAll() if the designated constraints aren't met.
func (RefreshRememberTokenRequestMultiError) AllErrors ¶
func (m RefreshRememberTokenRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RefreshRememberTokenRequestMultiError) Error ¶
func (m RefreshRememberTokenRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RefreshRememberTokenRequestValidationError ¶
type RefreshRememberTokenRequestValidationError struct {
// contains filtered or unexported fields
}
RefreshRememberTokenRequestValidationError is the validation error returned by RefreshRememberTokenRequest.Validate if the designated constraints aren't met.
func (RefreshRememberTokenRequestValidationError) Cause ¶
func (e RefreshRememberTokenRequestValidationError) Cause() error
Cause function returns cause value.
func (RefreshRememberTokenRequestValidationError) Error ¶
func (e RefreshRememberTokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RefreshRememberTokenRequestValidationError) ErrorName ¶
func (e RefreshRememberTokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RefreshRememberTokenRequestValidationError) Field ¶
func (e RefreshRememberTokenRequestValidationError) Field() string
Field function returns field value.
func (RefreshRememberTokenRequestValidationError) Key ¶
func (e RefreshRememberTokenRequestValidationError) Key() bool
Key function returns key value.
func (RefreshRememberTokenRequestValidationError) Reason ¶
func (e RefreshRememberTokenRequestValidationError) Reason() string
Reason function returns reason value.
type RefreshTokenAuthReply ¶
type RefreshTokenAuthReply struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // Bearer TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"` // Refresh token to keep login state RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // Expires time in seconds ExpiresIn int32 `protobuf:"varint,5,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` // contains filtered or unexported fields }
func (*RefreshTokenAuthReply) Descriptor
deprecated
func (*RefreshTokenAuthReply) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenAuthReply.ProtoReflect.Descriptor instead.
func (*RefreshTokenAuthReply) GetAccessToken ¶
func (x *RefreshTokenAuthReply) GetAccessToken() string
func (*RefreshTokenAuthReply) GetExpiresIn ¶
func (x *RefreshTokenAuthReply) GetExpiresIn() int32
func (*RefreshTokenAuthReply) GetRefreshToken ¶
func (x *RefreshTokenAuthReply) GetRefreshToken() string
func (*RefreshTokenAuthReply) GetTokenType ¶
func (x *RefreshTokenAuthReply) GetTokenType() string
func (*RefreshTokenAuthReply) ProtoMessage ¶
func (*RefreshTokenAuthReply) ProtoMessage()
func (*RefreshTokenAuthReply) ProtoReflect ¶
func (x *RefreshTokenAuthReply) ProtoReflect() protoreflect.Message
func (*RefreshTokenAuthReply) Reset ¶
func (x *RefreshTokenAuthReply) Reset()
func (*RefreshTokenAuthReply) String ¶
func (x *RefreshTokenAuthReply) String() string
func (*RefreshTokenAuthReply) Validate ¶
func (m *RefreshTokenAuthReply) Validate() error
Validate checks the field values on RefreshTokenAuthReply 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 (*RefreshTokenAuthReply) ValidateAll ¶
func (m *RefreshTokenAuthReply) ValidateAll() error
ValidateAll checks the field values on RefreshTokenAuthReply 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 RefreshTokenAuthReplyMultiError, or nil if none found.
type RefreshTokenAuthReplyMultiError ¶
type RefreshTokenAuthReplyMultiError []error
RefreshTokenAuthReplyMultiError is an error wrapping multiple validation errors returned by RefreshTokenAuthReply.ValidateAll() if the designated constraints aren't met.
func (RefreshTokenAuthReplyMultiError) AllErrors ¶
func (m RefreshTokenAuthReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RefreshTokenAuthReplyMultiError) Error ¶
func (m RefreshTokenAuthReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RefreshTokenAuthReplyValidationError ¶
type RefreshTokenAuthReplyValidationError struct {
// contains filtered or unexported fields
}
RefreshTokenAuthReplyValidationError is the validation error returned by RefreshTokenAuthReply.Validate if the designated constraints aren't met.
func (RefreshTokenAuthReplyValidationError) Cause ¶
func (e RefreshTokenAuthReplyValidationError) Cause() error
Cause function returns cause value.
func (RefreshTokenAuthReplyValidationError) Error ¶
func (e RefreshTokenAuthReplyValidationError) Error() string
Error satisfies the builtin error interface
func (RefreshTokenAuthReplyValidationError) ErrorName ¶
func (e RefreshTokenAuthReplyValidationError) ErrorName() string
ErrorName returns error name.
func (RefreshTokenAuthReplyValidationError) Field ¶
func (e RefreshTokenAuthReplyValidationError) Field() string
Field function returns field value.
func (RefreshTokenAuthReplyValidationError) Key ¶
func (e RefreshTokenAuthReplyValidationError) Key() bool
Key function returns key value.
func (RefreshTokenAuthReplyValidationError) Reason ¶
func (e RefreshTokenAuthReplyValidationError) Reason() string
Reason function returns reason value.
type RefreshTokenAuthRequest ¶
type RefreshTokenAuthRequest struct { RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*RefreshTokenAuthRequest) Descriptor
deprecated
func (*RefreshTokenAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenAuthRequest.ProtoReflect.Descriptor instead.
func (*RefreshTokenAuthRequest) GetRefreshToken ¶
func (x *RefreshTokenAuthRequest) GetRefreshToken() string
func (*RefreshTokenAuthRequest) ProtoMessage ¶
func (*RefreshTokenAuthRequest) ProtoMessage()
func (*RefreshTokenAuthRequest) ProtoReflect ¶
func (x *RefreshTokenAuthRequest) ProtoReflect() protoreflect.Message
func (*RefreshTokenAuthRequest) Reset ¶
func (x *RefreshTokenAuthRequest) Reset()
func (*RefreshTokenAuthRequest) String ¶
func (x *RefreshTokenAuthRequest) String() string
func (*RefreshTokenAuthRequest) Validate ¶
func (m *RefreshTokenAuthRequest) Validate() error
Validate checks the field values on RefreshTokenAuthRequest 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 (*RefreshTokenAuthRequest) ValidateAll ¶
func (m *RefreshTokenAuthRequest) ValidateAll() error
ValidateAll checks the field values on RefreshTokenAuthRequest 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 RefreshTokenAuthRequestMultiError, or nil if none found.
type RefreshTokenAuthRequestMultiError ¶
type RefreshTokenAuthRequestMultiError []error
RefreshTokenAuthRequestMultiError is an error wrapping multiple validation errors returned by RefreshTokenAuthRequest.ValidateAll() if the designated constraints aren't met.
func (RefreshTokenAuthRequestMultiError) AllErrors ¶
func (m RefreshTokenAuthRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RefreshTokenAuthRequestMultiError) Error ¶
func (m RefreshTokenAuthRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RefreshTokenAuthRequestValidationError ¶
type RefreshTokenAuthRequestValidationError struct {
// contains filtered or unexported fields
}
RefreshTokenAuthRequestValidationError is the validation error returned by RefreshTokenAuthRequest.Validate if the designated constraints aren't met.
func (RefreshTokenAuthRequestValidationError) Cause ¶
func (e RefreshTokenAuthRequestValidationError) Cause() error
Cause function returns cause value.
func (RefreshTokenAuthRequestValidationError) Error ¶
func (e RefreshTokenAuthRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RefreshTokenAuthRequestValidationError) ErrorName ¶
func (e RefreshTokenAuthRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RefreshTokenAuthRequestValidationError) Field ¶
func (e RefreshTokenAuthRequestValidationError) Field() string
Field function returns field value.
func (RefreshTokenAuthRequestValidationError) Key ¶
func (e RefreshTokenAuthRequestValidationError) Key() bool
Key function returns key value.
func (RefreshTokenAuthRequestValidationError) Reason ¶
func (e RefreshTokenAuthRequestValidationError) Reason() string
Reason function returns reason value.
type RegisterAuthReply ¶
type RegisterAuthReply struct {
// contains filtered or unexported fields
}
func (*RegisterAuthReply) Descriptor
deprecated
func (*RegisterAuthReply) Descriptor() ([]byte, []int)
Deprecated: Use RegisterAuthReply.ProtoReflect.Descriptor instead.
func (*RegisterAuthReply) ProtoMessage ¶
func (*RegisterAuthReply) ProtoMessage()
func (*RegisterAuthReply) ProtoReflect ¶
func (x *RegisterAuthReply) ProtoReflect() protoreflect.Message
func (*RegisterAuthReply) Reset ¶
func (x *RegisterAuthReply) Reset()
func (*RegisterAuthReply) String ¶
func (x *RegisterAuthReply) String() string
func (*RegisterAuthReply) Validate ¶
func (m *RegisterAuthReply) Validate() error
Validate checks the field values on RegisterAuthReply 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 (*RegisterAuthReply) ValidateAll ¶
func (m *RegisterAuthReply) ValidateAll() error
ValidateAll checks the field values on RegisterAuthReply 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 RegisterAuthReplyMultiError, or nil if none found.
type RegisterAuthReplyMultiError ¶
type RegisterAuthReplyMultiError []error
RegisterAuthReplyMultiError is an error wrapping multiple validation errors returned by RegisterAuthReply.ValidateAll() if the designated constraints aren't met.
func (RegisterAuthReplyMultiError) AllErrors ¶
func (m RegisterAuthReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterAuthReplyMultiError) Error ¶
func (m RegisterAuthReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterAuthReplyValidationError ¶
type RegisterAuthReplyValidationError struct {
// contains filtered or unexported fields
}
RegisterAuthReplyValidationError is the validation error returned by RegisterAuthReply.Validate if the designated constraints aren't met.
func (RegisterAuthReplyValidationError) Cause ¶
func (e RegisterAuthReplyValidationError) Cause() error
Cause function returns cause value.
func (RegisterAuthReplyValidationError) Error ¶
func (e RegisterAuthReplyValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterAuthReplyValidationError) ErrorName ¶
func (e RegisterAuthReplyValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterAuthReplyValidationError) Field ¶
func (e RegisterAuthReplyValidationError) Field() string
Field function returns field value.
func (RegisterAuthReplyValidationError) Key ¶
func (e RegisterAuthReplyValidationError) Key() bool
Key function returns key value.
func (RegisterAuthReplyValidationError) Reason ¶
func (e RegisterAuthReplyValidationError) Reason() string
Reason function returns reason value.
type RegisterAuthRequest ¶
type RegisterAuthRequest struct {
// contains filtered or unexported fields
}
func (*RegisterAuthRequest) Descriptor
deprecated
func (*RegisterAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterAuthRequest.ProtoReflect.Descriptor instead.
func (*RegisterAuthRequest) ProtoMessage ¶
func (*RegisterAuthRequest) ProtoMessage()
func (*RegisterAuthRequest) ProtoReflect ¶
func (x *RegisterAuthRequest) ProtoReflect() protoreflect.Message
func (*RegisterAuthRequest) Reset ¶
func (x *RegisterAuthRequest) Reset()
func (*RegisterAuthRequest) String ¶
func (x *RegisterAuthRequest) String() string
func (*RegisterAuthRequest) Validate ¶
func (m *RegisterAuthRequest) Validate() error
Validate checks the field values on RegisterAuthRequest 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 (*RegisterAuthRequest) ValidateAll ¶
func (m *RegisterAuthRequest) ValidateAll() error
ValidateAll checks the field values on RegisterAuthRequest 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 RegisterAuthRequestMultiError, or nil if none found.
type RegisterAuthRequestMultiError ¶
type RegisterAuthRequestMultiError []error
RegisterAuthRequestMultiError is an error wrapping multiple validation errors returned by RegisterAuthRequest.ValidateAll() if the designated constraints aren't met.
func (RegisterAuthRequestMultiError) AllErrors ¶
func (m RegisterAuthRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegisterAuthRequestMultiError) Error ¶
func (m RegisterAuthRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegisterAuthRequestValidationError ¶
type RegisterAuthRequestValidationError struct {
// contains filtered or unexported fields
}
RegisterAuthRequestValidationError is the validation error returned by RegisterAuthRequest.Validate if the designated constraints aren't met.
func (RegisterAuthRequestValidationError) Cause ¶
func (e RegisterAuthRequestValidationError) Cause() error
Cause function returns cause value.
func (RegisterAuthRequestValidationError) Error ¶
func (e RegisterAuthRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RegisterAuthRequestValidationError) ErrorName ¶
func (e RegisterAuthRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RegisterAuthRequestValidationError) Field ¶
func (e RegisterAuthRequestValidationError) Field() string
Field function returns field value.
func (RegisterAuthRequestValidationError) Key ¶
func (e RegisterAuthRequestValidationError) Key() bool
Key function returns key value.
func (RegisterAuthRequestValidationError) Reason ¶
func (e RegisterAuthRequestValidationError) Reason() string
Reason function returns reason value.
type TokenReply ¶
type TokenReply struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // Bearer TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"` // Refresh token to keep login state RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // Expires time in seconds ExpiresIn int32 `protobuf:"varint,5,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` // contains filtered or unexported fields }
func (*TokenReply) Descriptor
deprecated
func (*TokenReply) Descriptor() ([]byte, []int)
Deprecated: Use TokenReply.ProtoReflect.Descriptor instead.
func (*TokenReply) GetAccessToken ¶
func (x *TokenReply) GetAccessToken() string
func (*TokenReply) GetExpiresIn ¶
func (x *TokenReply) GetExpiresIn() int32
func (*TokenReply) GetRefreshToken ¶
func (x *TokenReply) GetRefreshToken() string
func (*TokenReply) GetTokenType ¶
func (x *TokenReply) GetTokenType() string
func (*TokenReply) ProtoMessage ¶
func (*TokenReply) ProtoMessage()
func (*TokenReply) ProtoReflect ¶
func (x *TokenReply) ProtoReflect() protoreflect.Message
func (*TokenReply) Reset ¶
func (x *TokenReply) Reset()
func (*TokenReply) String ¶
func (x *TokenReply) String() string
func (*TokenReply) Validate ¶
func (m *TokenReply) Validate() error
Validate checks the field values on TokenReply 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 (*TokenReply) ValidateAll ¶
func (m *TokenReply) ValidateAll() error
ValidateAll checks the field values on TokenReply 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 TokenReplyMultiError, or nil if none found.
type TokenReplyMultiError ¶
type TokenReplyMultiError []error
TokenReplyMultiError is an error wrapping multiple validation errors returned by TokenReply.ValidateAll() if the designated constraints aren't met.
func (TokenReplyMultiError) AllErrors ¶
func (m TokenReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TokenReplyMultiError) Error ¶
func (m TokenReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TokenReplyValidationError ¶
type TokenReplyValidationError struct {
// contains filtered or unexported fields
}
TokenReplyValidationError is the validation error returned by TokenReply.Validate if the designated constraints aren't met.
func (TokenReplyValidationError) Cause ¶
func (e TokenReplyValidationError) Cause() error
Cause function returns cause value.
func (TokenReplyValidationError) Error ¶
func (e TokenReplyValidationError) Error() string
Error satisfies the builtin error interface
func (TokenReplyValidationError) ErrorName ¶
func (e TokenReplyValidationError) ErrorName() string
ErrorName returns error name.
func (TokenReplyValidationError) Field ¶
func (e TokenReplyValidationError) Field() string
Field function returns field value.
func (TokenReplyValidationError) Key ¶
func (e TokenReplyValidationError) Key() bool
Key function returns key value.
func (TokenReplyValidationError) Reason ¶
func (e TokenReplyValidationError) Reason() string
Reason function returns reason value.
type TokenRequest ¶
type TokenRequest struct { GrantType string `protobuf:"bytes,1,opt,name=grant_type,json=grantType,proto3" json:"grant_type,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"` RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*TokenRequest) Descriptor
deprecated
func (*TokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use TokenRequest.ProtoReflect.Descriptor instead.
func (*TokenRequest) GetGrantType ¶
func (x *TokenRequest) GetGrantType() string
func (*TokenRequest) GetPassword ¶
func (x *TokenRequest) GetPassword() string
func (*TokenRequest) GetRefreshToken ¶
func (x *TokenRequest) GetRefreshToken() string
func (*TokenRequest) GetUsername ¶
func (x *TokenRequest) GetUsername() string
func (*TokenRequest) ProtoMessage ¶
func (*TokenRequest) ProtoMessage()
func (*TokenRequest) ProtoReflect ¶
func (x *TokenRequest) ProtoReflect() protoreflect.Message
func (*TokenRequest) Reset ¶
func (x *TokenRequest) Reset()
func (*TokenRequest) String ¶
func (x *TokenRequest) String() string
func (*TokenRequest) StringWithMask ¶
func (x *TokenRequest) StringWithMask(mask string) string
func (*TokenRequest) Validate ¶
func (m *TokenRequest) Validate() error
Validate checks the field values on TokenRequest 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 (*TokenRequest) ValidateAll ¶
func (m *TokenRequest) ValidateAll() error
ValidateAll checks the field values on TokenRequest 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 TokenRequestMultiError, or nil if none found.
type TokenRequestMultiError ¶
type TokenRequestMultiError []error
TokenRequestMultiError is an error wrapping multiple validation errors returned by TokenRequest.ValidateAll() if the designated constraints aren't met.
func (TokenRequestMultiError) AllErrors ¶
func (m TokenRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TokenRequestMultiError) Error ¶
func (m TokenRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TokenRequestValidationError ¶
type TokenRequestValidationError struct {
// contains filtered or unexported fields
}
TokenRequestValidationError is the validation error returned by TokenRequest.Validate if the designated constraints aren't met.
func (TokenRequestValidationError) Cause ¶
func (e TokenRequestValidationError) Cause() error
Cause function returns cause value.
func (TokenRequestValidationError) Error ¶
func (e TokenRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TokenRequestValidationError) ErrorName ¶
func (e TokenRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TokenRequestValidationError) Field ¶
func (e TokenRequestValidationError) Field() string
Field function returns field value.
func (TokenRequestValidationError) Key ¶
func (e TokenRequestValidationError) Key() bool
Key function returns key value.
func (TokenRequestValidationError) Reason ¶
func (e TokenRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAuthServer ¶
type UnimplementedAuthServer struct { }
UnimplementedAuthServer should be embedded to have forward compatible implementations.
func (UnimplementedAuthServer) ChangePasswordByForget ¶
func (UnimplementedAuthServer) ChangePasswordByForget(context.Context, *ChangePasswordByForgetRequest) (*ChangePasswordByForgetReply, error)
func (UnimplementedAuthServer) ChangePasswordByPre ¶
func (UnimplementedAuthServer) ChangePasswordByPre(context.Context, *ChangePasswordByPreRequest) (*ChangePasswordByPreReply, error)
func (UnimplementedAuthServer) ForgetPassword ¶
func (UnimplementedAuthServer) ForgetPassword(context.Context, *ForgetPasswordRequest) (*ForgetPasswordReply, error)
func (UnimplementedAuthServer) GetCsrfToken ¶
func (UnimplementedAuthServer) GetCsrfToken(context.Context, *GetCsrfTokenRequest) (*GetCsrfTokenResponse, error)
func (UnimplementedAuthServer) GetLogin ¶
func (UnimplementedAuthServer) GetLogin(context.Context, *GetLoginRequest) (*GetLoginResponse, error)
func (UnimplementedAuthServer) Login ¶
func (UnimplementedAuthServer) Login(context.Context, *LoginAuthRequest) (*LoginAuthReply, error)
func (UnimplementedAuthServer) LoginPasswordless ¶
func (UnimplementedAuthServer) LoginPasswordless(context.Context, *LoginPasswordlessRequest) (*LoginPasswordlessReply, error)
func (UnimplementedAuthServer) Refresh ¶
func (UnimplementedAuthServer) Refresh(context.Context, *RefreshTokenAuthRequest) (*RefreshTokenAuthReply, error)
func (UnimplementedAuthServer) RefreshRememberToken ¶
func (UnimplementedAuthServer) RefreshRememberToken(context.Context, *RefreshRememberTokenRequest) (*RefreshRememberTokenReply, error)
func (UnimplementedAuthServer) Register ¶
func (UnimplementedAuthServer) Register(context.Context, *RegisterAuthRequest) (*RegisterAuthReply, error)
func (UnimplementedAuthServer) SendForgetPasswordToken ¶
func (UnimplementedAuthServer) SendForgetPasswordToken(context.Context, *ForgetPasswordTokenRequest) (*ForgetPasswordTokenReply, error)
func (UnimplementedAuthServer) SendPasswordlessToken ¶
func (UnimplementedAuthServer) SendPasswordlessToken(context.Context, *PasswordlessTokenAuthRequest) (*PasswordlessTokenAuthReply, error)
func (UnimplementedAuthServer) Token ¶
func (UnimplementedAuthServer) Token(context.Context, *TokenRequest) (*TokenReply, error)
func (UnimplementedAuthServer) ValidatePassword ¶
func (UnimplementedAuthServer) ValidatePassword(context.Context, *ValidatePasswordRequest) (*ValidatePasswordReply, error)
type UnimplementedAuthWebServer ¶
type UnimplementedAuthWebServer struct { }
UnimplementedAuthWebServer should be embedded to have forward compatible implementations.
func (UnimplementedAuthWebServer) GetConsent ¶
func (UnimplementedAuthWebServer) GetConsent(context.Context, *GetConsentRequest) (*GetConsentResponse, error)
func (UnimplementedAuthWebServer) GetWebLogin ¶
func (UnimplementedAuthWebServer) GetWebLogin(context.Context, *GetLoginRequest) (*GetLoginResponse, error)
func (UnimplementedAuthWebServer) GetWebLogout ¶
func (UnimplementedAuthWebServer) GetWebLogout(context.Context, *GetLogoutRequest) (*GetLogoutResponse, error)
func (UnimplementedAuthWebServer) GrantConsent ¶
func (UnimplementedAuthWebServer) GrantConsent(context.Context, *GrantConsentRequest) (*GrantConsentResponse, error)
func (UnimplementedAuthWebServer) WebLogin ¶
func (UnimplementedAuthWebServer) WebLogin(context.Context, *WebLoginAuthRequest) (*WebLoginAuthReply, error)
func (UnimplementedAuthWebServer) WebLogout ¶
func (UnimplementedAuthWebServer) WebLogout(context.Context, *LogoutRequest) (*LogoutResponse, 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.
type UnsafeAuthWebServer ¶
type UnsafeAuthWebServer interface {
// contains filtered or unexported methods
}
UnsafeAuthWebServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthWebServer will result in compilation errors.
type ValidatePasswordReply ¶
type ValidatePasswordReply struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*ValidatePasswordReply) Descriptor
deprecated
func (*ValidatePasswordReply) Descriptor() ([]byte, []int)
Deprecated: Use ValidatePasswordReply.ProtoReflect.Descriptor instead.
func (*ValidatePasswordReply) GetOk ¶
func (x *ValidatePasswordReply) GetOk() bool
func (*ValidatePasswordReply) ProtoMessage ¶
func (*ValidatePasswordReply) ProtoMessage()
func (*ValidatePasswordReply) ProtoReflect ¶
func (x *ValidatePasswordReply) ProtoReflect() protoreflect.Message
func (*ValidatePasswordReply) Reset ¶
func (x *ValidatePasswordReply) Reset()
func (*ValidatePasswordReply) String ¶
func (x *ValidatePasswordReply) String() string
func (*ValidatePasswordReply) Validate ¶
func (m *ValidatePasswordReply) Validate() error
Validate checks the field values on ValidatePasswordReply 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 (*ValidatePasswordReply) ValidateAll ¶
func (m *ValidatePasswordReply) ValidateAll() error
ValidateAll checks the field values on ValidatePasswordReply 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 ValidatePasswordReplyMultiError, or nil if none found.
type ValidatePasswordReplyMultiError ¶
type ValidatePasswordReplyMultiError []error
ValidatePasswordReplyMultiError is an error wrapping multiple validation errors returned by ValidatePasswordReply.ValidateAll() if the designated constraints aren't met.
func (ValidatePasswordReplyMultiError) AllErrors ¶
func (m ValidatePasswordReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidatePasswordReplyMultiError) Error ¶
func (m ValidatePasswordReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidatePasswordReplyValidationError ¶
type ValidatePasswordReplyValidationError struct {
// contains filtered or unexported fields
}
ValidatePasswordReplyValidationError is the validation error returned by ValidatePasswordReply.Validate if the designated constraints aren't met.
func (ValidatePasswordReplyValidationError) Cause ¶
func (e ValidatePasswordReplyValidationError) Cause() error
Cause function returns cause value.
func (ValidatePasswordReplyValidationError) Error ¶
func (e ValidatePasswordReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ValidatePasswordReplyValidationError) ErrorName ¶
func (e ValidatePasswordReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ValidatePasswordReplyValidationError) Field ¶
func (e ValidatePasswordReplyValidationError) Field() string
Field function returns field value.
func (ValidatePasswordReplyValidationError) Key ¶
func (e ValidatePasswordReplyValidationError) Key() bool
Key function returns key value.
func (ValidatePasswordReplyValidationError) Reason ¶
func (e ValidatePasswordReplyValidationError) Reason() string
Reason function returns reason value.
type ValidatePasswordRequest ¶
type ValidatePasswordRequest struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*ValidatePasswordRequest) Descriptor
deprecated
func (*ValidatePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidatePasswordRequest.ProtoReflect.Descriptor instead.
func (*ValidatePasswordRequest) GetPassword ¶
func (x *ValidatePasswordRequest) GetPassword() string
func (*ValidatePasswordRequest) ProtoMessage ¶
func (*ValidatePasswordRequest) ProtoMessage()
func (*ValidatePasswordRequest) ProtoReflect ¶
func (x *ValidatePasswordRequest) ProtoReflect() protoreflect.Message
func (*ValidatePasswordRequest) Reset ¶
func (x *ValidatePasswordRequest) Reset()
func (*ValidatePasswordRequest) String ¶
func (x *ValidatePasswordRequest) String() string
func (*ValidatePasswordRequest) StringWithMask ¶
func (x *ValidatePasswordRequest) StringWithMask(mask string) string
func (*ValidatePasswordRequest) Validate ¶
func (m *ValidatePasswordRequest) Validate() error
Validate checks the field values on ValidatePasswordRequest 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 (*ValidatePasswordRequest) ValidateAll ¶
func (m *ValidatePasswordRequest) ValidateAll() error
ValidateAll checks the field values on ValidatePasswordRequest 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 ValidatePasswordRequestMultiError, or nil if none found.
type ValidatePasswordRequestMultiError ¶
type ValidatePasswordRequestMultiError []error
ValidatePasswordRequestMultiError is an error wrapping multiple validation errors returned by ValidatePasswordRequest.ValidateAll() if the designated constraints aren't met.
func (ValidatePasswordRequestMultiError) AllErrors ¶
func (m ValidatePasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidatePasswordRequestMultiError) Error ¶
func (m ValidatePasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ValidatePasswordRequestValidationError ¶
type ValidatePasswordRequestValidationError struct {
// contains filtered or unexported fields
}
ValidatePasswordRequestValidationError is the validation error returned by ValidatePasswordRequest.Validate if the designated constraints aren't met.
func (ValidatePasswordRequestValidationError) Cause ¶
func (e ValidatePasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (ValidatePasswordRequestValidationError) Error ¶
func (e ValidatePasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ValidatePasswordRequestValidationError) ErrorName ¶
func (e ValidatePasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ValidatePasswordRequestValidationError) Field ¶
func (e ValidatePasswordRequestValidationError) Field() string
Field function returns field value.
func (ValidatePasswordRequestValidationError) Key ¶
func (e ValidatePasswordRequestValidationError) Key() bool
Key function returns key value.
func (ValidatePasswordRequestValidationError) Reason ¶
func (e ValidatePasswordRequestValidationError) Reason() string
Reason function returns reason value.
type WebLoginAuthReply ¶
type WebLoginAuthReply struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // Bearer TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"` // Expires time in seconds Expires int32 `protobuf:"varint,3,opt,name=expires,proto3" json:"expires,omitempty"` // Refresh token to keep login state RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // Expires time in seconds ExpiresIn int32 `protobuf:"varint,5,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` Redirect string `protobuf:"bytes,10,opt,name=redirect,proto3" json:"redirect,omitempty"` // contains filtered or unexported fields }
func (*WebLoginAuthReply) Descriptor
deprecated
func (*WebLoginAuthReply) Descriptor() ([]byte, []int)
Deprecated: Use WebLoginAuthReply.ProtoReflect.Descriptor instead.
func (*WebLoginAuthReply) GetAccessToken ¶
func (x *WebLoginAuthReply) GetAccessToken() string
func (*WebLoginAuthReply) GetExpires ¶
func (x *WebLoginAuthReply) GetExpires() int32
func (*WebLoginAuthReply) GetExpiresIn ¶
func (x *WebLoginAuthReply) GetExpiresIn() int32
func (*WebLoginAuthReply) GetRedirect ¶
func (x *WebLoginAuthReply) GetRedirect() string
func (*WebLoginAuthReply) GetRefreshToken ¶
func (x *WebLoginAuthReply) GetRefreshToken() string
func (*WebLoginAuthReply) GetTokenType ¶
func (x *WebLoginAuthReply) GetTokenType() string
func (*WebLoginAuthReply) ProtoMessage ¶
func (*WebLoginAuthReply) ProtoMessage()
func (*WebLoginAuthReply) ProtoReflect ¶
func (x *WebLoginAuthReply) ProtoReflect() protoreflect.Message
func (*WebLoginAuthReply) Reset ¶
func (x *WebLoginAuthReply) Reset()
func (*WebLoginAuthReply) String ¶
func (x *WebLoginAuthReply) String() string
func (*WebLoginAuthReply) Validate ¶
func (m *WebLoginAuthReply) Validate() error
Validate checks the field values on WebLoginAuthReply 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 (*WebLoginAuthReply) ValidateAll ¶
func (m *WebLoginAuthReply) ValidateAll() error
ValidateAll checks the field values on WebLoginAuthReply 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 WebLoginAuthReplyMultiError, or nil if none found.
type WebLoginAuthReplyMultiError ¶
type WebLoginAuthReplyMultiError []error
WebLoginAuthReplyMultiError is an error wrapping multiple validation errors returned by WebLoginAuthReply.ValidateAll() if the designated constraints aren't met.
func (WebLoginAuthReplyMultiError) AllErrors ¶
func (m WebLoginAuthReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WebLoginAuthReplyMultiError) Error ¶
func (m WebLoginAuthReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WebLoginAuthReplyValidationError ¶
type WebLoginAuthReplyValidationError struct {
// contains filtered or unexported fields
}
WebLoginAuthReplyValidationError is the validation error returned by WebLoginAuthReply.Validate if the designated constraints aren't met.
func (WebLoginAuthReplyValidationError) Cause ¶
func (e WebLoginAuthReplyValidationError) Cause() error
Cause function returns cause value.
func (WebLoginAuthReplyValidationError) Error ¶
func (e WebLoginAuthReplyValidationError) Error() string
Error satisfies the builtin error interface
func (WebLoginAuthReplyValidationError) ErrorName ¶
func (e WebLoginAuthReplyValidationError) ErrorName() string
ErrorName returns error name.
func (WebLoginAuthReplyValidationError) Field ¶
func (e WebLoginAuthReplyValidationError) Field() string
Field function returns field value.
func (WebLoginAuthReplyValidationError) Key ¶
func (e WebLoginAuthReplyValidationError) Key() bool
Key function returns key value.
func (WebLoginAuthReplyValidationError) Reason ¶
func (e WebLoginAuthReplyValidationError) Reason() string
Reason function returns reason value.
type WebLoginAuthRequest ¶
type WebLoginAuthRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Remember bool `protobuf:"varint,3,opt,name=remember,proto3" json:"remember,omitempty"` Challenge string `protobuf:"bytes,4,opt,name=challenge,proto3" json:"challenge,omitempty"` Reject bool `protobuf:"varint,5,opt,name=reject,proto3" json:"reject,omitempty"` // contains filtered or unexported fields }
func (*WebLoginAuthRequest) Descriptor
deprecated
func (*WebLoginAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use WebLoginAuthRequest.ProtoReflect.Descriptor instead.
func (*WebLoginAuthRequest) GetChallenge ¶
func (x *WebLoginAuthRequest) GetChallenge() string
func (*WebLoginAuthRequest) GetPassword ¶
func (x *WebLoginAuthRequest) GetPassword() string
func (*WebLoginAuthRequest) GetReject ¶
func (x *WebLoginAuthRequest) GetReject() bool
func (*WebLoginAuthRequest) GetRemember ¶
func (x *WebLoginAuthRequest) GetRemember() bool
func (*WebLoginAuthRequest) GetUsername ¶
func (x *WebLoginAuthRequest) GetUsername() string
func (*WebLoginAuthRequest) ProtoMessage ¶
func (*WebLoginAuthRequest) ProtoMessage()
func (*WebLoginAuthRequest) ProtoReflect ¶
func (x *WebLoginAuthRequest) ProtoReflect() protoreflect.Message
func (*WebLoginAuthRequest) Reset ¶
func (x *WebLoginAuthRequest) Reset()
func (*WebLoginAuthRequest) String ¶
func (x *WebLoginAuthRequest) String() string
func (*WebLoginAuthRequest) StringWithMask ¶
func (x *WebLoginAuthRequest) StringWithMask(mask string) string
func (*WebLoginAuthRequest) Validate ¶
func (m *WebLoginAuthRequest) Validate() error
Validate checks the field values on WebLoginAuthRequest 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 (*WebLoginAuthRequest) ValidateAll ¶
func (m *WebLoginAuthRequest) ValidateAll() error
ValidateAll checks the field values on WebLoginAuthRequest 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 WebLoginAuthRequestMultiError, or nil if none found.
type WebLoginAuthRequestMultiError ¶
type WebLoginAuthRequestMultiError []error
WebLoginAuthRequestMultiError is an error wrapping multiple validation errors returned by WebLoginAuthRequest.ValidateAll() if the designated constraints aren't met.
func (WebLoginAuthRequestMultiError) AllErrors ¶
func (m WebLoginAuthRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WebLoginAuthRequestMultiError) Error ¶
func (m WebLoginAuthRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WebLoginAuthRequestValidationError ¶
type WebLoginAuthRequestValidationError struct {
// contains filtered or unexported fields
}
WebLoginAuthRequestValidationError is the validation error returned by WebLoginAuthRequest.Validate if the designated constraints aren't met.
func (WebLoginAuthRequestValidationError) Cause ¶
func (e WebLoginAuthRequestValidationError) Cause() error
Cause function returns cause value.
func (WebLoginAuthRequestValidationError) Error ¶
func (e WebLoginAuthRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WebLoginAuthRequestValidationError) ErrorName ¶
func (e WebLoginAuthRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WebLoginAuthRequestValidationError) Field ¶
func (e WebLoginAuthRequestValidationError) Field() string
Field function returns field value.
func (WebLoginAuthRequestValidationError) Key ¶
func (e WebLoginAuthRequestValidationError) Key() bool
Key function returns key value.
func (WebLoginAuthRequestValidationError) Reason ¶
func (e WebLoginAuthRequestValidationError) Reason() string
Reason function returns reason value.