Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- type AuthServiceClient
- type AuthServiceServer
- type ChangePasswordRequest
- func (*ChangePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordRequest) GetCurrent() string
- func (x *ChangePasswordRequest) GetNew() string
- func (*ChangePasswordRequest) ProtoMessage()
- func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordRequest) Reset()
- func (x *ChangePasswordRequest) String() string
- func (m *ChangePasswordRequest) Validate() error
- func (m *ChangePasswordRequest) ValidateAll() error
- type ChangePasswordRequestMultiError
- type ChangePasswordRequestValidationError
- func (e ChangePasswordRequestValidationError) Cause() error
- func (e ChangePasswordRequestValidationError) Error() string
- func (e ChangePasswordRequestValidationError) ErrorName() string
- func (e ChangePasswordRequestValidationError) Field() string
- func (e ChangePasswordRequestValidationError) Key() bool
- func (e ChangePasswordRequestValidationError) Reason() string
- type ChangePasswordResponse
- func (*ChangePasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordResponse) GetExpires() *timestamp.Timestamp
- func (x *ChangePasswordResponse) GetToken() string
- func (*ChangePasswordResponse) ProtoMessage()
- func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordResponse) Reset()
- func (x *ChangePasswordResponse) String() string
- func (m *ChangePasswordResponse) Validate() error
- func (m *ChangePasswordResponse) ValidateAll() error
- type ChangePasswordResponseMultiError
- type ChangePasswordResponseValidationError
- func (e ChangePasswordResponseValidationError) Cause() error
- func (e ChangePasswordResponseValidationError) Error() string
- func (e ChangePasswordResponseValidationError) ErrorName() string
- func (e ChangePasswordResponseValidationError) Field() string
- func (e ChangePasswordResponseValidationError) Key() bool
- func (e ChangePasswordResponseValidationError) Reason() string
- type ChangeUsernameRequest
- func (*ChangeUsernameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeUsernameRequest) GetCurrent() string
- func (x *ChangeUsernameRequest) GetNew() string
- func (*ChangeUsernameRequest) ProtoMessage()
- func (x *ChangeUsernameRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeUsernameRequest) Reset()
- func (x *ChangeUsernameRequest) String() string
- func (m *ChangeUsernameRequest) Validate() error
- func (m *ChangeUsernameRequest) ValidateAll() error
- type ChangeUsernameRequestMultiError
- type ChangeUsernameRequestValidationError
- func (e ChangeUsernameRequestValidationError) Cause() error
- func (e ChangeUsernameRequestValidationError) Error() string
- func (e ChangeUsernameRequestValidationError) ErrorName() string
- func (e ChangeUsernameRequestValidationError) Field() string
- func (e ChangeUsernameRequestValidationError) Key() bool
- func (e ChangeUsernameRequestValidationError) Reason() string
- type ChangeUsernameResponse
- func (*ChangeUsernameResponse) Descriptor() ([]byte, []int)deprecated
- func (*ChangeUsernameResponse) ProtoMessage()
- func (x *ChangeUsernameResponse) ProtoReflect() protoreflect.Message
- func (x *ChangeUsernameResponse) Reset()
- func (x *ChangeUsernameResponse) String() string
- func (m *ChangeUsernameResponse) Validate() error
- func (m *ChangeUsernameResponse) ValidateAll() error
- type ChangeUsernameResponseMultiError
- type ChangeUsernameResponseValidationError
- func (e ChangeUsernameResponseValidationError) Cause() error
- func (e ChangeUsernameResponseValidationError) Error() string
- func (e ChangeUsernameResponseValidationError) ErrorName() string
- func (e ChangeUsernameResponseValidationError) Field() string
- func (e ChangeUsernameResponseValidationError) Key() bool
- func (e ChangeUsernameResponseValidationError) Reason() string
- type ChooseCharacterRequest
- func (*ChooseCharacterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChooseCharacterRequest) GetCharId() int32
- func (*ChooseCharacterRequest) ProtoMessage()
- func (x *ChooseCharacterRequest) ProtoReflect() protoreflect.Message
- func (x *ChooseCharacterRequest) Reset()
- func (x *ChooseCharacterRequest) String() string
- func (m *ChooseCharacterRequest) Validate() error
- func (m *ChooseCharacterRequest) ValidateAll() error
- type ChooseCharacterRequestMultiError
- type ChooseCharacterRequestValidationError
- func (e ChooseCharacterRequestValidationError) Cause() error
- func (e ChooseCharacterRequestValidationError) Error() string
- func (e ChooseCharacterRequestValidationError) ErrorName() string
- func (e ChooseCharacterRequestValidationError) Field() string
- func (e ChooseCharacterRequestValidationError) Key() bool
- func (e ChooseCharacterRequestValidationError) Reason() string
- type ChooseCharacterResponse
- func (*ChooseCharacterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChooseCharacterResponse) GetChar() *users.User
- func (x *ChooseCharacterResponse) GetExpires() *timestamp.Timestamp
- func (x *ChooseCharacterResponse) GetJobProps() *users.JobProps
- func (x *ChooseCharacterResponse) GetPermissions() []string
- func (x *ChooseCharacterResponse) GetToken() string
- func (*ChooseCharacterResponse) ProtoMessage()
- func (x *ChooseCharacterResponse) ProtoReflect() protoreflect.Message
- func (x *ChooseCharacterResponse) Reset()
- func (x *ChooseCharacterResponse) String() string
- func (m *ChooseCharacterResponse) Validate() error
- func (m *ChooseCharacterResponse) ValidateAll() error
- type ChooseCharacterResponseMultiError
- type ChooseCharacterResponseValidationError
- func (e ChooseCharacterResponseValidationError) Cause() error
- func (e ChooseCharacterResponseValidationError) Error() string
- func (e ChooseCharacterResponseValidationError) ErrorName() string
- func (e ChooseCharacterResponseValidationError) Field() string
- func (e ChooseCharacterResponseValidationError) Key() bool
- func (e ChooseCharacterResponseValidationError) Reason() string
- type CreateAccountRequest
- func (*CreateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountRequest) GetPassword() string
- func (x *CreateAccountRequest) GetRegToken() string
- func (x *CreateAccountRequest) GetUsername() string
- func (*CreateAccountRequest) ProtoMessage()
- func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountRequest) Reset()
- func (x *CreateAccountRequest) String() string
- func (m *CreateAccountRequest) Validate() error
- func (m *CreateAccountRequest) ValidateAll() error
- type CreateAccountRequestMultiError
- type CreateAccountRequestValidationError
- func (e CreateAccountRequestValidationError) Cause() error
- func (e CreateAccountRequestValidationError) Error() string
- func (e CreateAccountRequestValidationError) ErrorName() string
- func (e CreateAccountRequestValidationError) Field() string
- func (e CreateAccountRequestValidationError) Key() bool
- func (e CreateAccountRequestValidationError) Reason() string
- type CreateAccountResponse
- func (*CreateAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountResponse) GetAccountId() uint64
- func (*CreateAccountResponse) ProtoMessage()
- func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccountResponse) Reset()
- func (x *CreateAccountResponse) String() string
- func (m *CreateAccountResponse) Validate() error
- func (m *CreateAccountResponse) ValidateAll() error
- type CreateAccountResponseMultiError
- type CreateAccountResponseValidationError
- func (e CreateAccountResponseValidationError) Cause() error
- func (e CreateAccountResponseValidationError) Error() string
- func (e CreateAccountResponseValidationError) ErrorName() string
- func (e CreateAccountResponseValidationError) Field() string
- func (e CreateAccountResponseValidationError) Key() bool
- func (e CreateAccountResponseValidationError) Reason() string
- type DeleteOAuth2ConnectionRequest
- func (*DeleteOAuth2ConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOAuth2ConnectionRequest) GetProvider() string
- func (*DeleteOAuth2ConnectionRequest) ProtoMessage()
- func (x *DeleteOAuth2ConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteOAuth2ConnectionRequest) Reset()
- func (x *DeleteOAuth2ConnectionRequest) String() string
- func (m *DeleteOAuth2ConnectionRequest) Validate() error
- func (m *DeleteOAuth2ConnectionRequest) ValidateAll() error
- type DeleteOAuth2ConnectionRequestMultiError
- type DeleteOAuth2ConnectionRequestValidationError
- func (e DeleteOAuth2ConnectionRequestValidationError) Cause() error
- func (e DeleteOAuth2ConnectionRequestValidationError) Error() string
- func (e DeleteOAuth2ConnectionRequestValidationError) ErrorName() string
- func (e DeleteOAuth2ConnectionRequestValidationError) Field() string
- func (e DeleteOAuth2ConnectionRequestValidationError) Key() bool
- func (e DeleteOAuth2ConnectionRequestValidationError) Reason() string
- type DeleteOAuth2ConnectionResponse
- func (*DeleteOAuth2ConnectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOAuth2ConnectionResponse) GetSuccess() bool
- func (*DeleteOAuth2ConnectionResponse) ProtoMessage()
- func (x *DeleteOAuth2ConnectionResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteOAuth2ConnectionResponse) Reset()
- func (x *DeleteOAuth2ConnectionResponse) String() string
- func (m *DeleteOAuth2ConnectionResponse) Validate() error
- func (m *DeleteOAuth2ConnectionResponse) ValidateAll() error
- type DeleteOAuth2ConnectionResponseMultiError
- type DeleteOAuth2ConnectionResponseValidationError
- func (e DeleteOAuth2ConnectionResponseValidationError) Cause() error
- func (e DeleteOAuth2ConnectionResponseValidationError) Error() string
- func (e DeleteOAuth2ConnectionResponseValidationError) ErrorName() string
- func (e DeleteOAuth2ConnectionResponseValidationError) Field() string
- func (e DeleteOAuth2ConnectionResponseValidationError) Key() bool
- func (e DeleteOAuth2ConnectionResponseValidationError) Reason() string
- type ForgotPasswordRequest
- func (*ForgotPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForgotPasswordRequest) GetNew() string
- func (x *ForgotPasswordRequest) GetRegToken() string
- func (*ForgotPasswordRequest) ProtoMessage()
- func (x *ForgotPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ForgotPasswordRequest) Reset()
- func (x *ForgotPasswordRequest) String() string
- func (m *ForgotPasswordRequest) Validate() error
- func (m *ForgotPasswordRequest) ValidateAll() error
- type ForgotPasswordRequestMultiError
- type ForgotPasswordRequestValidationError
- func (e ForgotPasswordRequestValidationError) Cause() error
- func (e ForgotPasswordRequestValidationError) Error() string
- func (e ForgotPasswordRequestValidationError) ErrorName() string
- func (e ForgotPasswordRequestValidationError) Field() string
- func (e ForgotPasswordRequestValidationError) Key() bool
- func (e ForgotPasswordRequestValidationError) Reason() string
- type ForgotPasswordResponse
- func (*ForgotPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (*ForgotPasswordResponse) ProtoMessage()
- func (x *ForgotPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *ForgotPasswordResponse) Reset()
- func (x *ForgotPasswordResponse) String() string
- func (m *ForgotPasswordResponse) Validate() error
- func (m *ForgotPasswordResponse) ValidateAll() error
- type ForgotPasswordResponseMultiError
- type ForgotPasswordResponseValidationError
- func (e ForgotPasswordResponseValidationError) Cause() error
- func (e ForgotPasswordResponseValidationError) Error() string
- func (e ForgotPasswordResponseValidationError) ErrorName() string
- func (e ForgotPasswordResponseValidationError) Field() string
- func (e ForgotPasswordResponseValidationError) Key() bool
- func (e ForgotPasswordResponseValidationError) Reason() string
- type GetAccountInfoRequest
- func (*GetAccountInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetAccountInfoRequest) ProtoMessage()
- func (x *GetAccountInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetAccountInfoRequest) Reset()
- func (x *GetAccountInfoRequest) String() string
- func (m *GetAccountInfoRequest) Validate() error
- func (m *GetAccountInfoRequest) ValidateAll() error
- type GetAccountInfoRequestMultiError
- type GetAccountInfoRequestValidationError
- func (e GetAccountInfoRequestValidationError) Cause() error
- func (e GetAccountInfoRequestValidationError) Error() string
- func (e GetAccountInfoRequestValidationError) ErrorName() string
- func (e GetAccountInfoRequestValidationError) Field() string
- func (e GetAccountInfoRequestValidationError) Key() bool
- func (e GetAccountInfoRequestValidationError) Reason() string
- type GetAccountInfoResponse
- func (*GetAccountInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountInfoResponse) GetAccount() *accounts.Account
- func (x *GetAccountInfoResponse) GetOauth2Connections() []*accounts.OAuth2Account
- func (x *GetAccountInfoResponse) GetOauth2Providers() []*accounts.OAuth2Provider
- func (*GetAccountInfoResponse) ProtoMessage()
- func (x *GetAccountInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountInfoResponse) Reset()
- func (x *GetAccountInfoResponse) String() string
- func (m *GetAccountInfoResponse) Validate() error
- func (m *GetAccountInfoResponse) ValidateAll() error
- type GetAccountInfoResponseMultiError
- type GetAccountInfoResponseValidationError
- func (e GetAccountInfoResponseValidationError) Cause() error
- func (e GetAccountInfoResponseValidationError) Error() string
- func (e GetAccountInfoResponseValidationError) ErrorName() string
- func (e GetAccountInfoResponseValidationError) Field() string
- func (e GetAccountInfoResponseValidationError) Key() bool
- func (e GetAccountInfoResponseValidationError) Reason() string
- type GetCharactersRequest
- func (*GetCharactersRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetCharactersRequest) ProtoMessage()
- func (x *GetCharactersRequest) ProtoReflect() protoreflect.Message
- func (x *GetCharactersRequest) Reset()
- func (x *GetCharactersRequest) String() string
- func (m *GetCharactersRequest) Validate() error
- func (m *GetCharactersRequest) ValidateAll() error
- type GetCharactersRequestMultiError
- type GetCharactersRequestValidationError
- func (e GetCharactersRequestValidationError) Cause() error
- func (e GetCharactersRequestValidationError) Error() string
- func (e GetCharactersRequestValidationError) ErrorName() string
- func (e GetCharactersRequestValidationError) Field() string
- func (e GetCharactersRequestValidationError) Key() bool
- func (e GetCharactersRequestValidationError) Reason() string
- type GetCharactersResponse
- func (*GetCharactersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCharactersResponse) GetChars() []*users.User
- func (*GetCharactersResponse) ProtoMessage()
- func (x *GetCharactersResponse) ProtoReflect() protoreflect.Message
- func (x *GetCharactersResponse) Reset()
- func (x *GetCharactersResponse) String() string
- func (m *GetCharactersResponse) Validate() error
- func (m *GetCharactersResponse) ValidateAll() error
- type GetCharactersResponseMultiError
- type GetCharactersResponseValidationError
- func (e GetCharactersResponseValidationError) Cause() error
- func (e GetCharactersResponseValidationError) Error() string
- func (e GetCharactersResponseValidationError) ErrorName() string
- func (e GetCharactersResponseValidationError) Field() string
- func (e GetCharactersResponseValidationError) Key() bool
- func (e GetCharactersResponseValidationError) Reason() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetPassword() string
- func (x *LoginRequest) GetUsername() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- func (m *LoginRequest) Validate() error
- func (m *LoginRequest) ValidateAll() error
- type LoginRequestMultiError
- type LoginRequestValidationError
- func (e LoginRequestValidationError) Cause() error
- func (e LoginRequestValidationError) Error() string
- func (e LoginRequestValidationError) ErrorName() string
- func (e LoginRequestValidationError) Field() string
- func (e LoginRequestValidationError) Key() bool
- func (e LoginRequestValidationError) Reason() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetAccountId() uint64
- func (x *LoginResponse) GetExpires() *timestamp.Timestamp
- func (x *LoginResponse) GetToken() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- func (m *LoginResponse) Validate() error
- func (m *LoginResponse) ValidateAll() error
- type LoginResponseMultiError
- type LoginResponseValidationError
- func (e LoginResponseValidationError) Cause() error
- func (e LoginResponseValidationError) Error() string
- func (e LoginResponseValidationError) ErrorName() string
- func (e LoginResponseValidationError) Field() string
- func (e LoginResponseValidationError) Key() bool
- func (e LoginResponseValidationError) Reason() string
- type LogoutRequest
- func (*LogoutRequest) Descriptor() ([]byte, []int)deprecated
- 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) GetSuccess() bool
- 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 Params
- type Server
- func (s *Server) AuthFuncOverride(ctx context.Context, fullMethod string) (context.Context, error)
- func (s *Server) ChangePassword(ctx context.Context, req *ChangePasswordRequest) (*ChangePasswordResponse, error)
- func (s *Server) ChangeUsername(ctx context.Context, req *ChangeUsernameRequest) (*ChangeUsernameResponse, error)
- func (s *Server) ChooseCharacter(ctx context.Context, req *ChooseCharacterRequest) (*ChooseCharacterResponse, error)
- func (s *Server) CreateAccount(ctx context.Context, req *CreateAccountRequest) (*CreateAccountResponse, error)
- func (s *Server) DeleteOAuth2Connection(ctx context.Context, req *DeleteOAuth2ConnectionRequest) (*DeleteOAuth2ConnectionResponse, error)
- func (s *Server) ForgotPassword(ctx context.Context, req *ForgotPasswordRequest) (*ForgotPasswordResponse, error)
- func (s *Server) GetAccountInfo(ctx context.Context, req *GetAccountInfoRequest) (*GetAccountInfoResponse, error)
- func (s *Server) GetCharacters(ctx context.Context, req *GetCharactersRequest) (*GetCharactersResponse, error)
- func (s *Server) Login(ctx context.Context, req *LoginRequest) (*LoginResponse, error)
- func (s *Server) Logout(ctx context.Context, req *LogoutRequest) (*LogoutResponse, error)
- func (s *Server) PermissionUnaryFuncOverride(ctx context.Context, info *grpc.UnaryServerInfo) (context.Context, error)
- func (s *Server) RegisterServer(srv *grpc.Server)
- func (s *Server) SetSuperUserMode(ctx context.Context, req *SetSuperUserModeRequest) (*SetSuperUserModeResponse, error)
- type SetSuperUserModeRequest
- func (*SetSuperUserModeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetSuperUserModeRequest) GetJob() string
- func (x *SetSuperUserModeRequest) GetSuperuser() bool
- func (*SetSuperUserModeRequest) ProtoMessage()
- func (x *SetSuperUserModeRequest) ProtoReflect() protoreflect.Message
- func (x *SetSuperUserModeRequest) Reset()
- func (x *SetSuperUserModeRequest) String() string
- func (m *SetSuperUserModeRequest) Validate() error
- func (m *SetSuperUserModeRequest) ValidateAll() error
- type SetSuperUserModeRequestMultiError
- type SetSuperUserModeRequestValidationError
- func (e SetSuperUserModeRequestValidationError) Cause() error
- func (e SetSuperUserModeRequestValidationError) Error() string
- func (e SetSuperUserModeRequestValidationError) ErrorName() string
- func (e SetSuperUserModeRequestValidationError) Field() string
- func (e SetSuperUserModeRequestValidationError) Key() bool
- func (e SetSuperUserModeRequestValidationError) Reason() string
- type SetSuperUserModeResponse
- func (*SetSuperUserModeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetSuperUserModeResponse) GetChar() *users.User
- func (x *SetSuperUserModeResponse) GetExpires() *timestamp.Timestamp
- func (x *SetSuperUserModeResponse) GetJobProps() *users.JobProps
- func (x *SetSuperUserModeResponse) GetToken() string
- func (*SetSuperUserModeResponse) ProtoMessage()
- func (x *SetSuperUserModeResponse) ProtoReflect() protoreflect.Message
- func (x *SetSuperUserModeResponse) Reset()
- func (x *SetSuperUserModeResponse) String() string
- func (m *SetSuperUserModeResponse) Validate() error
- func (m *SetSuperUserModeResponse) ValidateAll() error
- type SetSuperUserModeResponseMultiError
- type SetSuperUserModeResponseValidationError
- func (e SetSuperUserModeResponseValidationError) Cause() error
- func (e SetSuperUserModeResponseValidationError) Error() string
- func (e SetSuperUserModeResponseValidationError) ErrorName() string
- func (e SetSuperUserModeResponseValidationError) Field() string
- func (e SetSuperUserModeResponseValidationError) Key() bool
- func (e SetSuperUserModeResponseValidationError) Reason() string
- type UnimplementedAuthServiceServer
- func (UnimplementedAuthServiceServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
- func (UnimplementedAuthServiceServer) ChangeUsername(context.Context, *ChangeUsernameRequest) (*ChangeUsernameResponse, error)
- func (UnimplementedAuthServiceServer) ChooseCharacter(context.Context, *ChooseCharacterRequest) (*ChooseCharacterResponse, error)
- func (UnimplementedAuthServiceServer) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
- func (UnimplementedAuthServiceServer) DeleteOAuth2Connection(context.Context, *DeleteOAuth2ConnectionRequest) (*DeleteOAuth2ConnectionResponse, error)
- func (UnimplementedAuthServiceServer) ForgotPassword(context.Context, *ForgotPasswordRequest) (*ForgotPasswordResponse, error)
- func (UnimplementedAuthServiceServer) GetAccountInfo(context.Context, *GetAccountInfoRequest) (*GetAccountInfoResponse, error)
- func (UnimplementedAuthServiceServer) GetCharacters(context.Context, *GetCharactersRequest) (*GetCharactersResponse, error)
- func (UnimplementedAuthServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedAuthServiceServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
- func (UnimplementedAuthServiceServer) SetSuperUserMode(context.Context, *SetSuperUserModeRequest) (*SetSuperUserModeResponse, error)
- type UnsafeAuthServiceServer
Constants ¶
const ( AuthService_Login_FullMethodName = "/services.auth.AuthService/Login" AuthService_Logout_FullMethodName = "/services.auth.AuthService/Logout" AuthService_CreateAccount_FullMethodName = "/services.auth.AuthService/CreateAccount" AuthService_ChangeUsername_FullMethodName = "/services.auth.AuthService/ChangeUsername" AuthService_ChangePassword_FullMethodName = "/services.auth.AuthService/ChangePassword" AuthService_ForgotPassword_FullMethodName = "/services.auth.AuthService/ForgotPassword" AuthService_GetCharacters_FullMethodName = "/services.auth.AuthService/GetCharacters" AuthService_ChooseCharacter_FullMethodName = "/services.auth.AuthService/ChooseCharacter" AuthService_GetAccountInfo_FullMethodName = "/services.auth.AuthService/GetAccountInfo" AuthService_DeleteOAuth2Connection_FullMethodName = "/services.auth.AuthService/DeleteOAuth2Connection" AuthService_SetSuperUserMode_FullMethodName = "/services.auth.AuthService/SetSuperUserMode" )
Variables ¶
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "services.auth.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _AuthService_Login_Handler, }, { MethodName: "Logout", Handler: _AuthService_Logout_Handler, }, { MethodName: "CreateAccount", Handler: _AuthService_CreateAccount_Handler, }, { MethodName: "ChangeUsername", Handler: _AuthService_ChangeUsername_Handler, }, { MethodName: "ChangePassword", Handler: _AuthService_ChangePassword_Handler, }, { MethodName: "ForgotPassword", Handler: _AuthService_ForgotPassword_Handler, }, { MethodName: "GetCharacters", Handler: _AuthService_GetCharacters_Handler, }, { MethodName: "ChooseCharacter", Handler: _AuthService_ChooseCharacter_Handler, }, { MethodName: "GetAccountInfo", Handler: _AuthService_GetAccountInfo_Handler, }, { MethodName: "DeleteOAuth2Connection", Handler: _AuthService_DeleteOAuth2Connection_Handler, }, { MethodName: "SetSuperUserMode", Handler: _AuthService_SetSuperUserMode_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "services/auth/auth.proto", }
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var (
ErrGenericAccount = status.Error(codes.Internal, "errors.AuthService.ErrGenericAccount")
)
var File_services_auth_auth_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
Types ¶
type AuthServiceClient ¶
type AuthServiceClient interface { Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error) CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*CreateAccountResponse, error) ChangeUsername(ctx context.Context, in *ChangeUsernameRequest, opts ...grpc.CallOption) (*ChangeUsernameResponse, error) ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*ChangePasswordResponse, error) ForgotPassword(ctx context.Context, in *ForgotPasswordRequest, opts ...grpc.CallOption) (*ForgotPasswordResponse, error) GetCharacters(ctx context.Context, in *GetCharactersRequest, opts ...grpc.CallOption) (*GetCharactersResponse, error) // @perm ChooseCharacter(ctx context.Context, in *ChooseCharacterRequest, opts ...grpc.CallOption) (*ChooseCharacterResponse, error) GetAccountInfo(ctx context.Context, in *GetAccountInfoRequest, opts ...grpc.CallOption) (*GetAccountInfoResponse, error) DeleteOAuth2Connection(ctx context.Context, in *DeleteOAuth2ConnectionRequest, opts ...grpc.CallOption) (*DeleteOAuth2ConnectionResponse, error) SetSuperUserMode(ctx context.Context, in *SetSuperUserModeRequest, opts ...grpc.CallOption) (*SetSuperUserModeResponse, error) }
AuthServiceClient is the client API for AuthService 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 NewAuthServiceClient ¶
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
func NewTestAuthServiceClient ¶
func NewTestAuthServiceClient(srv AuthServiceServer) (AuthServiceClient, context.Context, context.CancelFunc)
type AuthServiceServer ¶
type AuthServiceServer interface { Login(context.Context, *LoginRequest) (*LoginResponse, error) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error) ChangeUsername(context.Context, *ChangeUsernameRequest) (*ChangeUsernameResponse, error) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error) ForgotPassword(context.Context, *ForgotPasswordRequest) (*ForgotPasswordResponse, error) GetCharacters(context.Context, *GetCharactersRequest) (*GetCharactersResponse, error) // @perm ChooseCharacter(context.Context, *ChooseCharacterRequest) (*ChooseCharacterResponse, error) GetAccountInfo(context.Context, *GetAccountInfoRequest) (*GetAccountInfoResponse, error) DeleteOAuth2Connection(context.Context, *DeleteOAuth2ConnectionRequest) (*DeleteOAuth2ConnectionResponse, error) SetSuperUserMode(context.Context, *SetSuperUserModeRequest) (*SetSuperUserModeResponse, error) // contains filtered or unexported methods }
AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility
type ChangePasswordRequest ¶
type ChangePasswordRequest struct { Current string `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` New string `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordRequest) Descriptor
deprecated
func (*ChangePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.
func (*ChangePasswordRequest) GetCurrent ¶
func (x *ChangePasswordRequest) GetCurrent() string
func (*ChangePasswordRequest) GetNew ¶
func (x *ChangePasswordRequest) GetNew() string
func (*ChangePasswordRequest) ProtoMessage ¶
func (*ChangePasswordRequest) ProtoMessage()
func (*ChangePasswordRequest) ProtoReflect ¶
func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
func (*ChangePasswordRequest) Reset ¶
func (x *ChangePasswordRequest) Reset()
func (*ChangePasswordRequest) String ¶
func (x *ChangePasswordRequest) String() string
func (*ChangePasswordRequest) Validate ¶
func (m *ChangePasswordRequest) Validate() error
Validate checks the field values on ChangePasswordRequest 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 (*ChangePasswordRequest) ValidateAll ¶
func (m *ChangePasswordRequest) ValidateAll() error
ValidateAll checks the field values on ChangePasswordRequest 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 ChangePasswordRequestMultiError, or nil if none found.
type ChangePasswordRequestMultiError ¶
type ChangePasswordRequestMultiError []error
ChangePasswordRequestMultiError is an error wrapping multiple validation errors returned by ChangePasswordRequest.ValidateAll() if the designated constraints aren't met.
func (ChangePasswordRequestMultiError) AllErrors ¶
func (m ChangePasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangePasswordRequestMultiError) Error ¶
func (m ChangePasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangePasswordRequestValidationError ¶
type ChangePasswordRequestValidationError struct {
// contains filtered or unexported fields
}
ChangePasswordRequestValidationError is the validation error returned by ChangePasswordRequest.Validate if the designated constraints aren't met.
func (ChangePasswordRequestValidationError) Cause ¶
func (e ChangePasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (ChangePasswordRequestValidationError) Error ¶
func (e ChangePasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ChangePasswordRequestValidationError) ErrorName ¶
func (e ChangePasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ChangePasswordRequestValidationError) Field ¶
func (e ChangePasswordRequestValidationError) Field() string
Field function returns field value.
func (ChangePasswordRequestValidationError) Key ¶
func (e ChangePasswordRequestValidationError) Key() bool
Key function returns key value.
func (ChangePasswordRequestValidationError) Reason ¶
func (e ChangePasswordRequestValidationError) Reason() string
Reason function returns reason value.
type ChangePasswordResponse ¶
type ChangePasswordResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Expires *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordResponse) Descriptor
deprecated
func (*ChangePasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordResponse.ProtoReflect.Descriptor instead.
func (*ChangePasswordResponse) GetExpires ¶
func (x *ChangePasswordResponse) GetExpires() *timestamp.Timestamp
func (*ChangePasswordResponse) GetToken ¶
func (x *ChangePasswordResponse) GetToken() string
func (*ChangePasswordResponse) ProtoMessage ¶
func (*ChangePasswordResponse) ProtoMessage()
func (*ChangePasswordResponse) ProtoReflect ¶
func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message
func (*ChangePasswordResponse) Reset ¶
func (x *ChangePasswordResponse) Reset()
func (*ChangePasswordResponse) String ¶
func (x *ChangePasswordResponse) String() string
func (*ChangePasswordResponse) Validate ¶
func (m *ChangePasswordResponse) Validate() error
Validate checks the field values on ChangePasswordResponse 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 (*ChangePasswordResponse) ValidateAll ¶
func (m *ChangePasswordResponse) ValidateAll() error
ValidateAll checks the field values on ChangePasswordResponse 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 ChangePasswordResponseMultiError, or nil if none found.
type ChangePasswordResponseMultiError ¶
type ChangePasswordResponseMultiError []error
ChangePasswordResponseMultiError is an error wrapping multiple validation errors returned by ChangePasswordResponse.ValidateAll() if the designated constraints aren't met.
func (ChangePasswordResponseMultiError) AllErrors ¶
func (m ChangePasswordResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangePasswordResponseMultiError) Error ¶
func (m ChangePasswordResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangePasswordResponseValidationError ¶
type ChangePasswordResponseValidationError struct {
// contains filtered or unexported fields
}
ChangePasswordResponseValidationError is the validation error returned by ChangePasswordResponse.Validate if the designated constraints aren't met.
func (ChangePasswordResponseValidationError) Cause ¶
func (e ChangePasswordResponseValidationError) Cause() error
Cause function returns cause value.
func (ChangePasswordResponseValidationError) Error ¶
func (e ChangePasswordResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ChangePasswordResponseValidationError) ErrorName ¶
func (e ChangePasswordResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ChangePasswordResponseValidationError) Field ¶
func (e ChangePasswordResponseValidationError) Field() string
Field function returns field value.
func (ChangePasswordResponseValidationError) Key ¶
func (e ChangePasswordResponseValidationError) Key() bool
Key function returns key value.
func (ChangePasswordResponseValidationError) Reason ¶
func (e ChangePasswordResponseValidationError) Reason() string
Reason function returns reason value.
type ChangeUsernameRequest ¶ added in v0.8.11
type ChangeUsernameRequest struct { Current string `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` New string `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"` // contains filtered or unexported fields }
func (*ChangeUsernameRequest) Descriptor
deprecated
added in
v0.8.11
func (*ChangeUsernameRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeUsernameRequest.ProtoReflect.Descriptor instead.
func (*ChangeUsernameRequest) GetCurrent ¶ added in v0.8.11
func (x *ChangeUsernameRequest) GetCurrent() string
func (*ChangeUsernameRequest) GetNew ¶ added in v0.8.11
func (x *ChangeUsernameRequest) GetNew() string
func (*ChangeUsernameRequest) ProtoMessage ¶ added in v0.8.11
func (*ChangeUsernameRequest) ProtoMessage()
func (*ChangeUsernameRequest) ProtoReflect ¶ added in v0.8.11
func (x *ChangeUsernameRequest) ProtoReflect() protoreflect.Message
func (*ChangeUsernameRequest) Reset ¶ added in v0.8.11
func (x *ChangeUsernameRequest) Reset()
func (*ChangeUsernameRequest) String ¶ added in v0.8.11
func (x *ChangeUsernameRequest) String() string
func (*ChangeUsernameRequest) Validate ¶ added in v0.8.11
func (m *ChangeUsernameRequest) Validate() error
Validate checks the field values on ChangeUsernameRequest 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 (*ChangeUsernameRequest) ValidateAll ¶ added in v0.8.11
func (m *ChangeUsernameRequest) ValidateAll() error
ValidateAll checks the field values on ChangeUsernameRequest 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 ChangeUsernameRequestMultiError, or nil if none found.
type ChangeUsernameRequestMultiError ¶ added in v0.8.11
type ChangeUsernameRequestMultiError []error
ChangeUsernameRequestMultiError is an error wrapping multiple validation errors returned by ChangeUsernameRequest.ValidateAll() if the designated constraints aren't met.
func (ChangeUsernameRequestMultiError) AllErrors ¶ added in v0.8.11
func (m ChangeUsernameRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangeUsernameRequestMultiError) Error ¶ added in v0.8.11
func (m ChangeUsernameRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangeUsernameRequestValidationError ¶ added in v0.8.11
type ChangeUsernameRequestValidationError struct {
// contains filtered or unexported fields
}
ChangeUsernameRequestValidationError is the validation error returned by ChangeUsernameRequest.Validate if the designated constraints aren't met.
func (ChangeUsernameRequestValidationError) Cause ¶ added in v0.8.11
func (e ChangeUsernameRequestValidationError) Cause() error
Cause function returns cause value.
func (ChangeUsernameRequestValidationError) Error ¶ added in v0.8.11
func (e ChangeUsernameRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ChangeUsernameRequestValidationError) ErrorName ¶ added in v0.8.11
func (e ChangeUsernameRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ChangeUsernameRequestValidationError) Field ¶ added in v0.8.11
func (e ChangeUsernameRequestValidationError) Field() string
Field function returns field value.
func (ChangeUsernameRequestValidationError) Key ¶ added in v0.8.11
func (e ChangeUsernameRequestValidationError) Key() bool
Key function returns key value.
func (ChangeUsernameRequestValidationError) Reason ¶ added in v0.8.11
func (e ChangeUsernameRequestValidationError) Reason() string
Reason function returns reason value.
type ChangeUsernameResponse ¶ added in v0.8.11
type ChangeUsernameResponse struct {
// contains filtered or unexported fields
}
func (*ChangeUsernameResponse) Descriptor
deprecated
added in
v0.8.11
func (*ChangeUsernameResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangeUsernameResponse.ProtoReflect.Descriptor instead.
func (*ChangeUsernameResponse) ProtoMessage ¶ added in v0.8.11
func (*ChangeUsernameResponse) ProtoMessage()
func (*ChangeUsernameResponse) ProtoReflect ¶ added in v0.8.11
func (x *ChangeUsernameResponse) ProtoReflect() protoreflect.Message
func (*ChangeUsernameResponse) Reset ¶ added in v0.8.11
func (x *ChangeUsernameResponse) Reset()
func (*ChangeUsernameResponse) String ¶ added in v0.8.11
func (x *ChangeUsernameResponse) String() string
func (*ChangeUsernameResponse) Validate ¶ added in v0.8.11
func (m *ChangeUsernameResponse) Validate() error
Validate checks the field values on ChangeUsernameResponse 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 (*ChangeUsernameResponse) ValidateAll ¶ added in v0.8.11
func (m *ChangeUsernameResponse) ValidateAll() error
ValidateAll checks the field values on ChangeUsernameResponse 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 ChangeUsernameResponseMultiError, or nil if none found.
type ChangeUsernameResponseMultiError ¶ added in v0.8.11
type ChangeUsernameResponseMultiError []error
ChangeUsernameResponseMultiError is an error wrapping multiple validation errors returned by ChangeUsernameResponse.ValidateAll() if the designated constraints aren't met.
func (ChangeUsernameResponseMultiError) AllErrors ¶ added in v0.8.11
func (m ChangeUsernameResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChangeUsernameResponseMultiError) Error ¶ added in v0.8.11
func (m ChangeUsernameResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChangeUsernameResponseValidationError ¶ added in v0.8.11
type ChangeUsernameResponseValidationError struct {
// contains filtered or unexported fields
}
ChangeUsernameResponseValidationError is the validation error returned by ChangeUsernameResponse.Validate if the designated constraints aren't met.
func (ChangeUsernameResponseValidationError) Cause ¶ added in v0.8.11
func (e ChangeUsernameResponseValidationError) Cause() error
Cause function returns cause value.
func (ChangeUsernameResponseValidationError) Error ¶ added in v0.8.11
func (e ChangeUsernameResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ChangeUsernameResponseValidationError) ErrorName ¶ added in v0.8.11
func (e ChangeUsernameResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ChangeUsernameResponseValidationError) Field ¶ added in v0.8.11
func (e ChangeUsernameResponseValidationError) Field() string
Field function returns field value.
func (ChangeUsernameResponseValidationError) Key ¶ added in v0.8.11
func (e ChangeUsernameResponseValidationError) Key() bool
Key function returns key value.
func (ChangeUsernameResponseValidationError) Reason ¶ added in v0.8.11
func (e ChangeUsernameResponseValidationError) Reason() string
Reason function returns reason value.
type ChooseCharacterRequest ¶
type ChooseCharacterRequest struct { CharId int32 `protobuf:"varint,1,opt,name=char_id,json=charId,proto3" json:"char_id,omitempty"` // contains filtered or unexported fields }
func (*ChooseCharacterRequest) Descriptor
deprecated
func (*ChooseCharacterRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChooseCharacterRequest.ProtoReflect.Descriptor instead.
func (*ChooseCharacterRequest) GetCharId ¶
func (x *ChooseCharacterRequest) GetCharId() int32
func (*ChooseCharacterRequest) ProtoMessage ¶
func (*ChooseCharacterRequest) ProtoMessage()
func (*ChooseCharacterRequest) ProtoReflect ¶
func (x *ChooseCharacterRequest) ProtoReflect() protoreflect.Message
func (*ChooseCharacterRequest) Reset ¶
func (x *ChooseCharacterRequest) Reset()
func (*ChooseCharacterRequest) String ¶
func (x *ChooseCharacterRequest) String() string
func (*ChooseCharacterRequest) Validate ¶
func (m *ChooseCharacterRequest) Validate() error
Validate checks the field values on ChooseCharacterRequest 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 (*ChooseCharacterRequest) ValidateAll ¶
func (m *ChooseCharacterRequest) ValidateAll() error
ValidateAll checks the field values on ChooseCharacterRequest 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 ChooseCharacterRequestMultiError, or nil if none found.
type ChooseCharacterRequestMultiError ¶
type ChooseCharacterRequestMultiError []error
ChooseCharacterRequestMultiError is an error wrapping multiple validation errors returned by ChooseCharacterRequest.ValidateAll() if the designated constraints aren't met.
func (ChooseCharacterRequestMultiError) AllErrors ¶
func (m ChooseCharacterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChooseCharacterRequestMultiError) Error ¶
func (m ChooseCharacterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChooseCharacterRequestValidationError ¶
type ChooseCharacterRequestValidationError struct {
// contains filtered or unexported fields
}
ChooseCharacterRequestValidationError is the validation error returned by ChooseCharacterRequest.Validate if the designated constraints aren't met.
func (ChooseCharacterRequestValidationError) Cause ¶
func (e ChooseCharacterRequestValidationError) Cause() error
Cause function returns cause value.
func (ChooseCharacterRequestValidationError) Error ¶
func (e ChooseCharacterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ChooseCharacterRequestValidationError) ErrorName ¶
func (e ChooseCharacterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ChooseCharacterRequestValidationError) Field ¶
func (e ChooseCharacterRequestValidationError) Field() string
Field function returns field value.
func (ChooseCharacterRequestValidationError) Key ¶
func (e ChooseCharacterRequestValidationError) Key() bool
Key function returns key value.
func (ChooseCharacterRequestValidationError) Reason ¶
func (e ChooseCharacterRequestValidationError) Reason() string
Reason function returns reason value.
type ChooseCharacterResponse ¶
type ChooseCharacterResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Expires *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"` Permissions []string `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"` JobProps *users.JobProps `protobuf:"bytes,4,opt,name=job_props,json=jobProps,proto3" json:"job_props,omitempty"` Char *users.User `protobuf:"bytes,5,opt,name=char,proto3" json:"char,omitempty"` // contains filtered or unexported fields }
func (*ChooseCharacterResponse) Descriptor
deprecated
func (*ChooseCharacterResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChooseCharacterResponse.ProtoReflect.Descriptor instead.
func (*ChooseCharacterResponse) GetChar ¶
func (x *ChooseCharacterResponse) GetChar() *users.User
func (*ChooseCharacterResponse) GetExpires ¶
func (x *ChooseCharacterResponse) GetExpires() *timestamp.Timestamp
func (*ChooseCharacterResponse) GetJobProps ¶
func (x *ChooseCharacterResponse) GetJobProps() *users.JobProps
func (*ChooseCharacterResponse) GetPermissions ¶
func (x *ChooseCharacterResponse) GetPermissions() []string
func (*ChooseCharacterResponse) GetToken ¶
func (x *ChooseCharacterResponse) GetToken() string
func (*ChooseCharacterResponse) ProtoMessage ¶
func (*ChooseCharacterResponse) ProtoMessage()
func (*ChooseCharacterResponse) ProtoReflect ¶
func (x *ChooseCharacterResponse) ProtoReflect() protoreflect.Message
func (*ChooseCharacterResponse) Reset ¶
func (x *ChooseCharacterResponse) Reset()
func (*ChooseCharacterResponse) String ¶
func (x *ChooseCharacterResponse) String() string
func (*ChooseCharacterResponse) Validate ¶
func (m *ChooseCharacterResponse) Validate() error
Validate checks the field values on ChooseCharacterResponse 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 (*ChooseCharacterResponse) ValidateAll ¶
func (m *ChooseCharacterResponse) ValidateAll() error
ValidateAll checks the field values on ChooseCharacterResponse 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 ChooseCharacterResponseMultiError, or nil if none found.
type ChooseCharacterResponseMultiError ¶
type ChooseCharacterResponseMultiError []error
ChooseCharacterResponseMultiError is an error wrapping multiple validation errors returned by ChooseCharacterResponse.ValidateAll() if the designated constraints aren't met.
func (ChooseCharacterResponseMultiError) AllErrors ¶
func (m ChooseCharacterResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ChooseCharacterResponseMultiError) Error ¶
func (m ChooseCharacterResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ChooseCharacterResponseValidationError ¶
type ChooseCharacterResponseValidationError struct {
// contains filtered or unexported fields
}
ChooseCharacterResponseValidationError is the validation error returned by ChooseCharacterResponse.Validate if the designated constraints aren't met.
func (ChooseCharacterResponseValidationError) Cause ¶
func (e ChooseCharacterResponseValidationError) Cause() error
Cause function returns cause value.
func (ChooseCharacterResponseValidationError) Error ¶
func (e ChooseCharacterResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ChooseCharacterResponseValidationError) ErrorName ¶
func (e ChooseCharacterResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ChooseCharacterResponseValidationError) Field ¶
func (e ChooseCharacterResponseValidationError) Field() string
Field function returns field value.
func (ChooseCharacterResponseValidationError) Key ¶
func (e ChooseCharacterResponseValidationError) Key() bool
Key function returns key value.
func (ChooseCharacterResponseValidationError) Reason ¶
func (e ChooseCharacterResponseValidationError) Reason() string
Reason function returns reason value.
type CreateAccountRequest ¶
type CreateAccountRequest struct { RegToken string `protobuf:"bytes,1,opt,name=reg_token,json=regToken,proto3" json:"reg_token,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountRequest) Descriptor
deprecated
func (*CreateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountRequest) GetPassword ¶
func (x *CreateAccountRequest) GetPassword() string
func (*CreateAccountRequest) GetRegToken ¶
func (x *CreateAccountRequest) GetRegToken() string
func (*CreateAccountRequest) GetUsername ¶
func (x *CreateAccountRequest) GetUsername() string
func (*CreateAccountRequest) ProtoMessage ¶
func (*CreateAccountRequest) ProtoMessage()
func (*CreateAccountRequest) ProtoReflect ¶
func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountRequest) Reset ¶
func (x *CreateAccountRequest) Reset()
func (*CreateAccountRequest) String ¶
func (x *CreateAccountRequest) String() string
func (*CreateAccountRequest) Validate ¶
func (m *CreateAccountRequest) Validate() error
Validate checks the field values on CreateAccountRequest 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 (*CreateAccountRequest) ValidateAll ¶
func (m *CreateAccountRequest) ValidateAll() error
ValidateAll checks the field values on CreateAccountRequest 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 CreateAccountRequestMultiError, or nil if none found.
type CreateAccountRequestMultiError ¶
type CreateAccountRequestMultiError []error
CreateAccountRequestMultiError is an error wrapping multiple validation errors returned by CreateAccountRequest.ValidateAll() if the designated constraints aren't met.
func (CreateAccountRequestMultiError) AllErrors ¶
func (m CreateAccountRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAccountRequestMultiError) Error ¶
func (m CreateAccountRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAccountRequestValidationError ¶
type CreateAccountRequestValidationError struct {
// contains filtered or unexported fields
}
CreateAccountRequestValidationError is the validation error returned by CreateAccountRequest.Validate if the designated constraints aren't met.
func (CreateAccountRequestValidationError) Cause ¶
func (e CreateAccountRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateAccountRequestValidationError) Error ¶
func (e CreateAccountRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAccountRequestValidationError) ErrorName ¶
func (e CreateAccountRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAccountRequestValidationError) Field ¶
func (e CreateAccountRequestValidationError) Field() string
Field function returns field value.
func (CreateAccountRequestValidationError) Key ¶
func (e CreateAccountRequestValidationError) Key() bool
Key function returns key value.
func (CreateAccountRequestValidationError) Reason ¶
func (e CreateAccountRequestValidationError) Reason() string
Reason function returns reason value.
type CreateAccountResponse ¶
type CreateAccountResponse struct { AccountId uint64 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountResponse) Descriptor
deprecated
func (*CreateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.
func (*CreateAccountResponse) GetAccountId ¶ added in v0.8.0
func (x *CreateAccountResponse) GetAccountId() uint64
func (*CreateAccountResponse) ProtoMessage ¶
func (*CreateAccountResponse) ProtoMessage()
func (*CreateAccountResponse) ProtoReflect ¶
func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
func (*CreateAccountResponse) Reset ¶
func (x *CreateAccountResponse) Reset()
func (*CreateAccountResponse) String ¶
func (x *CreateAccountResponse) String() string
func (*CreateAccountResponse) Validate ¶
func (m *CreateAccountResponse) Validate() error
Validate checks the field values on CreateAccountResponse 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 (*CreateAccountResponse) ValidateAll ¶
func (m *CreateAccountResponse) ValidateAll() error
ValidateAll checks the field values on CreateAccountResponse 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 CreateAccountResponseMultiError, or nil if none found.
type CreateAccountResponseMultiError ¶
type CreateAccountResponseMultiError []error
CreateAccountResponseMultiError is an error wrapping multiple validation errors returned by CreateAccountResponse.ValidateAll() if the designated constraints aren't met.
func (CreateAccountResponseMultiError) AllErrors ¶
func (m CreateAccountResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAccountResponseMultiError) Error ¶
func (m CreateAccountResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAccountResponseValidationError ¶
type CreateAccountResponseValidationError struct {
// contains filtered or unexported fields
}
CreateAccountResponseValidationError is the validation error returned by CreateAccountResponse.Validate if the designated constraints aren't met.
func (CreateAccountResponseValidationError) Cause ¶
func (e CreateAccountResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateAccountResponseValidationError) Error ¶
func (e CreateAccountResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAccountResponseValidationError) ErrorName ¶
func (e CreateAccountResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAccountResponseValidationError) Field ¶
func (e CreateAccountResponseValidationError) Field() string
Field function returns field value.
func (CreateAccountResponseValidationError) Key ¶
func (e CreateAccountResponseValidationError) Key() bool
Key function returns key value.
func (CreateAccountResponseValidationError) Reason ¶
func (e CreateAccountResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteOAuth2ConnectionRequest ¶
type DeleteOAuth2ConnectionRequest struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*DeleteOAuth2ConnectionRequest) Descriptor
deprecated
func (*DeleteOAuth2ConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOAuth2ConnectionRequest.ProtoReflect.Descriptor instead.
func (*DeleteOAuth2ConnectionRequest) GetProvider ¶
func (x *DeleteOAuth2ConnectionRequest) GetProvider() string
func (*DeleteOAuth2ConnectionRequest) ProtoMessage ¶
func (*DeleteOAuth2ConnectionRequest) ProtoMessage()
func (*DeleteOAuth2ConnectionRequest) ProtoReflect ¶
func (x *DeleteOAuth2ConnectionRequest) ProtoReflect() protoreflect.Message
func (*DeleteOAuth2ConnectionRequest) Reset ¶
func (x *DeleteOAuth2ConnectionRequest) Reset()
func (*DeleteOAuth2ConnectionRequest) String ¶
func (x *DeleteOAuth2ConnectionRequest) String() string
func (*DeleteOAuth2ConnectionRequest) Validate ¶
func (m *DeleteOAuth2ConnectionRequest) Validate() error
Validate checks the field values on DeleteOAuth2ConnectionRequest 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 (*DeleteOAuth2ConnectionRequest) ValidateAll ¶
func (m *DeleteOAuth2ConnectionRequest) ValidateAll() error
ValidateAll checks the field values on DeleteOAuth2ConnectionRequest 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 DeleteOAuth2ConnectionRequestMultiError, or nil if none found.
type DeleteOAuth2ConnectionRequestMultiError ¶
type DeleteOAuth2ConnectionRequestMultiError []error
DeleteOAuth2ConnectionRequestMultiError is an error wrapping multiple validation errors returned by DeleteOAuth2ConnectionRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteOAuth2ConnectionRequestMultiError) AllErrors ¶
func (m DeleteOAuth2ConnectionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteOAuth2ConnectionRequestMultiError) Error ¶
func (m DeleteOAuth2ConnectionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteOAuth2ConnectionRequestValidationError ¶
type DeleteOAuth2ConnectionRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteOAuth2ConnectionRequestValidationError is the validation error returned by DeleteOAuth2ConnectionRequest.Validate if the designated constraints aren't met.
func (DeleteOAuth2ConnectionRequestValidationError) Cause ¶
func (e DeleteOAuth2ConnectionRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteOAuth2ConnectionRequestValidationError) Error ¶
func (e DeleteOAuth2ConnectionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteOAuth2ConnectionRequestValidationError) ErrorName ¶
func (e DeleteOAuth2ConnectionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteOAuth2ConnectionRequestValidationError) Field ¶
func (e DeleteOAuth2ConnectionRequestValidationError) Field() string
Field function returns field value.
func (DeleteOAuth2ConnectionRequestValidationError) Key ¶
func (e DeleteOAuth2ConnectionRequestValidationError) Key() bool
Key function returns key value.
func (DeleteOAuth2ConnectionRequestValidationError) Reason ¶
func (e DeleteOAuth2ConnectionRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteOAuth2ConnectionResponse ¶
type DeleteOAuth2ConnectionResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*DeleteOAuth2ConnectionResponse) Descriptor
deprecated
func (*DeleteOAuth2ConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOAuth2ConnectionResponse.ProtoReflect.Descriptor instead.
func (*DeleteOAuth2ConnectionResponse) GetSuccess ¶
func (x *DeleteOAuth2ConnectionResponse) GetSuccess() bool
func (*DeleteOAuth2ConnectionResponse) ProtoMessage ¶
func (*DeleteOAuth2ConnectionResponse) ProtoMessage()
func (*DeleteOAuth2ConnectionResponse) ProtoReflect ¶
func (x *DeleteOAuth2ConnectionResponse) ProtoReflect() protoreflect.Message
func (*DeleteOAuth2ConnectionResponse) Reset ¶
func (x *DeleteOAuth2ConnectionResponse) Reset()
func (*DeleteOAuth2ConnectionResponse) String ¶
func (x *DeleteOAuth2ConnectionResponse) String() string
func (*DeleteOAuth2ConnectionResponse) Validate ¶
func (m *DeleteOAuth2ConnectionResponse) Validate() error
Validate checks the field values on DeleteOAuth2ConnectionResponse 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 (*DeleteOAuth2ConnectionResponse) ValidateAll ¶
func (m *DeleteOAuth2ConnectionResponse) ValidateAll() error
ValidateAll checks the field values on DeleteOAuth2ConnectionResponse 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 DeleteOAuth2ConnectionResponseMultiError, or nil if none found.
type DeleteOAuth2ConnectionResponseMultiError ¶
type DeleteOAuth2ConnectionResponseMultiError []error
DeleteOAuth2ConnectionResponseMultiError is an error wrapping multiple validation errors returned by DeleteOAuth2ConnectionResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteOAuth2ConnectionResponseMultiError) AllErrors ¶
func (m DeleteOAuth2ConnectionResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteOAuth2ConnectionResponseMultiError) Error ¶
func (m DeleteOAuth2ConnectionResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteOAuth2ConnectionResponseValidationError ¶
type DeleteOAuth2ConnectionResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteOAuth2ConnectionResponseValidationError is the validation error returned by DeleteOAuth2ConnectionResponse.Validate if the designated constraints aren't met.
func (DeleteOAuth2ConnectionResponseValidationError) Cause ¶
func (e DeleteOAuth2ConnectionResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteOAuth2ConnectionResponseValidationError) Error ¶
func (e DeleteOAuth2ConnectionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteOAuth2ConnectionResponseValidationError) ErrorName ¶
func (e DeleteOAuth2ConnectionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteOAuth2ConnectionResponseValidationError) Field ¶
func (e DeleteOAuth2ConnectionResponseValidationError) Field() string
Field function returns field value.
func (DeleteOAuth2ConnectionResponseValidationError) Key ¶
func (e DeleteOAuth2ConnectionResponseValidationError) Key() bool
Key function returns key value.
func (DeleteOAuth2ConnectionResponseValidationError) Reason ¶
func (e DeleteOAuth2ConnectionResponseValidationError) Reason() string
Reason function returns reason value.
type ForgotPasswordRequest ¶
type ForgotPasswordRequest struct { RegToken string `protobuf:"bytes,1,opt,name=reg_token,json=regToken,proto3" json:"reg_token,omitempty"` New string `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"` // contains filtered or unexported fields }
func (*ForgotPasswordRequest) Descriptor
deprecated
func (*ForgotPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForgotPasswordRequest.ProtoReflect.Descriptor instead.
func (*ForgotPasswordRequest) GetNew ¶
func (x *ForgotPasswordRequest) GetNew() string
func (*ForgotPasswordRequest) GetRegToken ¶
func (x *ForgotPasswordRequest) GetRegToken() string
func (*ForgotPasswordRequest) ProtoMessage ¶
func (*ForgotPasswordRequest) ProtoMessage()
func (*ForgotPasswordRequest) ProtoReflect ¶
func (x *ForgotPasswordRequest) ProtoReflect() protoreflect.Message
func (*ForgotPasswordRequest) Reset ¶
func (x *ForgotPasswordRequest) Reset()
func (*ForgotPasswordRequest) String ¶
func (x *ForgotPasswordRequest) String() string
func (*ForgotPasswordRequest) Validate ¶
func (m *ForgotPasswordRequest) Validate() error
Validate checks the field values on ForgotPasswordRequest 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 (*ForgotPasswordRequest) ValidateAll ¶
func (m *ForgotPasswordRequest) ValidateAll() error
ValidateAll checks the field values on ForgotPasswordRequest 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 ForgotPasswordRequestMultiError, or nil if none found.
type ForgotPasswordRequestMultiError ¶
type ForgotPasswordRequestMultiError []error
ForgotPasswordRequestMultiError is an error wrapping multiple validation errors returned by ForgotPasswordRequest.ValidateAll() if the designated constraints aren't met.
func (ForgotPasswordRequestMultiError) AllErrors ¶
func (m ForgotPasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ForgotPasswordRequestMultiError) Error ¶
func (m ForgotPasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ForgotPasswordRequestValidationError ¶
type ForgotPasswordRequestValidationError struct {
// contains filtered or unexported fields
}
ForgotPasswordRequestValidationError is the validation error returned by ForgotPasswordRequest.Validate if the designated constraints aren't met.
func (ForgotPasswordRequestValidationError) Cause ¶
func (e ForgotPasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (ForgotPasswordRequestValidationError) Error ¶
func (e ForgotPasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ForgotPasswordRequestValidationError) ErrorName ¶
func (e ForgotPasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ForgotPasswordRequestValidationError) Field ¶
func (e ForgotPasswordRequestValidationError) Field() string
Field function returns field value.
func (ForgotPasswordRequestValidationError) Key ¶
func (e ForgotPasswordRequestValidationError) Key() bool
Key function returns key value.
func (ForgotPasswordRequestValidationError) Reason ¶
func (e ForgotPasswordRequestValidationError) Reason() string
Reason function returns reason value.
type ForgotPasswordResponse ¶
type ForgotPasswordResponse struct {
// contains filtered or unexported fields
}
func (*ForgotPasswordResponse) Descriptor
deprecated
func (*ForgotPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ForgotPasswordResponse.ProtoReflect.Descriptor instead.
func (*ForgotPasswordResponse) ProtoMessage ¶
func (*ForgotPasswordResponse) ProtoMessage()
func (*ForgotPasswordResponse) ProtoReflect ¶
func (x *ForgotPasswordResponse) ProtoReflect() protoreflect.Message
func (*ForgotPasswordResponse) Reset ¶
func (x *ForgotPasswordResponse) Reset()
func (*ForgotPasswordResponse) String ¶
func (x *ForgotPasswordResponse) String() string
func (*ForgotPasswordResponse) Validate ¶
func (m *ForgotPasswordResponse) Validate() error
Validate checks the field values on ForgotPasswordResponse 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 (*ForgotPasswordResponse) ValidateAll ¶
func (m *ForgotPasswordResponse) ValidateAll() error
ValidateAll checks the field values on ForgotPasswordResponse 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 ForgotPasswordResponseMultiError, or nil if none found.
type ForgotPasswordResponseMultiError ¶
type ForgotPasswordResponseMultiError []error
ForgotPasswordResponseMultiError is an error wrapping multiple validation errors returned by ForgotPasswordResponse.ValidateAll() if the designated constraints aren't met.
func (ForgotPasswordResponseMultiError) AllErrors ¶
func (m ForgotPasswordResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ForgotPasswordResponseMultiError) Error ¶
func (m ForgotPasswordResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ForgotPasswordResponseValidationError ¶
type ForgotPasswordResponseValidationError struct {
// contains filtered or unexported fields
}
ForgotPasswordResponseValidationError is the validation error returned by ForgotPasswordResponse.Validate if the designated constraints aren't met.
func (ForgotPasswordResponseValidationError) Cause ¶
func (e ForgotPasswordResponseValidationError) Cause() error
Cause function returns cause value.
func (ForgotPasswordResponseValidationError) Error ¶
func (e ForgotPasswordResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ForgotPasswordResponseValidationError) ErrorName ¶
func (e ForgotPasswordResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ForgotPasswordResponseValidationError) Field ¶
func (e ForgotPasswordResponseValidationError) Field() string
Field function returns field value.
func (ForgotPasswordResponseValidationError) Key ¶
func (e ForgotPasswordResponseValidationError) Key() bool
Key function returns key value.
func (ForgotPasswordResponseValidationError) Reason ¶
func (e ForgotPasswordResponseValidationError) Reason() string
Reason function returns reason value.
type GetAccountInfoRequest ¶
type GetAccountInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetAccountInfoRequest) Descriptor
deprecated
func (*GetAccountInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountInfoRequest.ProtoReflect.Descriptor instead.
func (*GetAccountInfoRequest) ProtoMessage ¶
func (*GetAccountInfoRequest) ProtoMessage()
func (*GetAccountInfoRequest) ProtoReflect ¶
func (x *GetAccountInfoRequest) ProtoReflect() protoreflect.Message
func (*GetAccountInfoRequest) Reset ¶
func (x *GetAccountInfoRequest) Reset()
func (*GetAccountInfoRequest) String ¶
func (x *GetAccountInfoRequest) String() string
func (*GetAccountInfoRequest) Validate ¶
func (m *GetAccountInfoRequest) Validate() error
Validate checks the field values on GetAccountInfoRequest 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 (*GetAccountInfoRequest) ValidateAll ¶
func (m *GetAccountInfoRequest) ValidateAll() error
ValidateAll checks the field values on GetAccountInfoRequest 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 GetAccountInfoRequestMultiError, or nil if none found.
type GetAccountInfoRequestMultiError ¶
type GetAccountInfoRequestMultiError []error
GetAccountInfoRequestMultiError is an error wrapping multiple validation errors returned by GetAccountInfoRequest.ValidateAll() if the designated constraints aren't met.
func (GetAccountInfoRequestMultiError) AllErrors ¶
func (m GetAccountInfoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAccountInfoRequestMultiError) Error ¶
func (m GetAccountInfoRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAccountInfoRequestValidationError ¶
type GetAccountInfoRequestValidationError struct {
// contains filtered or unexported fields
}
GetAccountInfoRequestValidationError is the validation error returned by GetAccountInfoRequest.Validate if the designated constraints aren't met.
func (GetAccountInfoRequestValidationError) Cause ¶
func (e GetAccountInfoRequestValidationError) Cause() error
Cause function returns cause value.
func (GetAccountInfoRequestValidationError) Error ¶
func (e GetAccountInfoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetAccountInfoRequestValidationError) ErrorName ¶
func (e GetAccountInfoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetAccountInfoRequestValidationError) Field ¶
func (e GetAccountInfoRequestValidationError) Field() string
Field function returns field value.
func (GetAccountInfoRequestValidationError) Key ¶
func (e GetAccountInfoRequestValidationError) Key() bool
Key function returns key value.
func (GetAccountInfoRequestValidationError) Reason ¶
func (e GetAccountInfoRequestValidationError) Reason() string
Reason function returns reason value.
type GetAccountInfoResponse ¶
type GetAccountInfoResponse struct { Account *accounts.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Oauth2Providers []*accounts.OAuth2Provider `protobuf:"bytes,2,rep,name=oauth2_providers,json=oauth2Providers,proto3" json:"oauth2_providers,omitempty"` Oauth2Connections []*accounts.OAuth2Account `protobuf:"bytes,3,rep,name=oauth2_connections,json=oauth2Connections,proto3" json:"oauth2_connections,omitempty"` // contains filtered or unexported fields }
func (*GetAccountInfoResponse) Descriptor
deprecated
func (*GetAccountInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountInfoResponse.ProtoReflect.Descriptor instead.
func (*GetAccountInfoResponse) GetAccount ¶
func (x *GetAccountInfoResponse) GetAccount() *accounts.Account
func (*GetAccountInfoResponse) GetOauth2Connections ¶
func (x *GetAccountInfoResponse) GetOauth2Connections() []*accounts.OAuth2Account
func (*GetAccountInfoResponse) GetOauth2Providers ¶
func (x *GetAccountInfoResponse) GetOauth2Providers() []*accounts.OAuth2Provider
func (*GetAccountInfoResponse) ProtoMessage ¶
func (*GetAccountInfoResponse) ProtoMessage()
func (*GetAccountInfoResponse) ProtoReflect ¶
func (x *GetAccountInfoResponse) ProtoReflect() protoreflect.Message
func (*GetAccountInfoResponse) Reset ¶
func (x *GetAccountInfoResponse) Reset()
func (*GetAccountInfoResponse) String ¶
func (x *GetAccountInfoResponse) String() string
func (*GetAccountInfoResponse) Validate ¶
func (m *GetAccountInfoResponse) Validate() error
Validate checks the field values on GetAccountInfoResponse 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 (*GetAccountInfoResponse) ValidateAll ¶
func (m *GetAccountInfoResponse) ValidateAll() error
ValidateAll checks the field values on GetAccountInfoResponse 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 GetAccountInfoResponseMultiError, or nil if none found.
type GetAccountInfoResponseMultiError ¶
type GetAccountInfoResponseMultiError []error
GetAccountInfoResponseMultiError is an error wrapping multiple validation errors returned by GetAccountInfoResponse.ValidateAll() if the designated constraints aren't met.
func (GetAccountInfoResponseMultiError) AllErrors ¶
func (m GetAccountInfoResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetAccountInfoResponseMultiError) Error ¶
func (m GetAccountInfoResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetAccountInfoResponseValidationError ¶
type GetAccountInfoResponseValidationError struct {
// contains filtered or unexported fields
}
GetAccountInfoResponseValidationError is the validation error returned by GetAccountInfoResponse.Validate if the designated constraints aren't met.
func (GetAccountInfoResponseValidationError) Cause ¶
func (e GetAccountInfoResponseValidationError) Cause() error
Cause function returns cause value.
func (GetAccountInfoResponseValidationError) Error ¶
func (e GetAccountInfoResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetAccountInfoResponseValidationError) ErrorName ¶
func (e GetAccountInfoResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetAccountInfoResponseValidationError) Field ¶
func (e GetAccountInfoResponseValidationError) Field() string
Field function returns field value.
func (GetAccountInfoResponseValidationError) Key ¶
func (e GetAccountInfoResponseValidationError) Key() bool
Key function returns key value.
func (GetAccountInfoResponseValidationError) Reason ¶
func (e GetAccountInfoResponseValidationError) Reason() string
Reason function returns reason value.
type GetCharactersRequest ¶
type GetCharactersRequest struct {
// contains filtered or unexported fields
}
func (*GetCharactersRequest) Descriptor
deprecated
func (*GetCharactersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCharactersRequest.ProtoReflect.Descriptor instead.
func (*GetCharactersRequest) ProtoMessage ¶
func (*GetCharactersRequest) ProtoMessage()
func (*GetCharactersRequest) ProtoReflect ¶
func (x *GetCharactersRequest) ProtoReflect() protoreflect.Message
func (*GetCharactersRequest) Reset ¶
func (x *GetCharactersRequest) Reset()
func (*GetCharactersRequest) String ¶
func (x *GetCharactersRequest) String() string
func (*GetCharactersRequest) Validate ¶
func (m *GetCharactersRequest) Validate() error
Validate checks the field values on GetCharactersRequest 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 (*GetCharactersRequest) ValidateAll ¶
func (m *GetCharactersRequest) ValidateAll() error
ValidateAll checks the field values on GetCharactersRequest 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 GetCharactersRequestMultiError, or nil if none found.
type GetCharactersRequestMultiError ¶
type GetCharactersRequestMultiError []error
GetCharactersRequestMultiError is an error wrapping multiple validation errors returned by GetCharactersRequest.ValidateAll() if the designated constraints aren't met.
func (GetCharactersRequestMultiError) AllErrors ¶
func (m GetCharactersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCharactersRequestMultiError) Error ¶
func (m GetCharactersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCharactersRequestValidationError ¶
type GetCharactersRequestValidationError struct {
// contains filtered or unexported fields
}
GetCharactersRequestValidationError is the validation error returned by GetCharactersRequest.Validate if the designated constraints aren't met.
func (GetCharactersRequestValidationError) Cause ¶
func (e GetCharactersRequestValidationError) Cause() error
Cause function returns cause value.
func (GetCharactersRequestValidationError) Error ¶
func (e GetCharactersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetCharactersRequestValidationError) ErrorName ¶
func (e GetCharactersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetCharactersRequestValidationError) Field ¶
func (e GetCharactersRequestValidationError) Field() string
Field function returns field value.
func (GetCharactersRequestValidationError) Key ¶
func (e GetCharactersRequestValidationError) Key() bool
Key function returns key value.
func (GetCharactersRequestValidationError) Reason ¶
func (e GetCharactersRequestValidationError) Reason() string
Reason function returns reason value.
type GetCharactersResponse ¶
type GetCharactersResponse struct { Chars []*users.User `protobuf:"bytes,1,rep,name=chars,proto3" json:"chars,omitempty"` // contains filtered or unexported fields }
func (*GetCharactersResponse) Descriptor
deprecated
func (*GetCharactersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCharactersResponse.ProtoReflect.Descriptor instead.
func (*GetCharactersResponse) GetChars ¶
func (x *GetCharactersResponse) GetChars() []*users.User
func (*GetCharactersResponse) ProtoMessage ¶
func (*GetCharactersResponse) ProtoMessage()
func (*GetCharactersResponse) ProtoReflect ¶
func (x *GetCharactersResponse) ProtoReflect() protoreflect.Message
func (*GetCharactersResponse) Reset ¶
func (x *GetCharactersResponse) Reset()
func (*GetCharactersResponse) String ¶
func (x *GetCharactersResponse) String() string
func (*GetCharactersResponse) Validate ¶
func (m *GetCharactersResponse) Validate() error
Validate checks the field values on GetCharactersResponse 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 (*GetCharactersResponse) ValidateAll ¶
func (m *GetCharactersResponse) ValidateAll() error
ValidateAll checks the field values on GetCharactersResponse 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 GetCharactersResponseMultiError, or nil if none found.
type GetCharactersResponseMultiError ¶
type GetCharactersResponseMultiError []error
GetCharactersResponseMultiError is an error wrapping multiple validation errors returned by GetCharactersResponse.ValidateAll() if the designated constraints aren't met.
func (GetCharactersResponseMultiError) AllErrors ¶
func (m GetCharactersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetCharactersResponseMultiError) Error ¶
func (m GetCharactersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetCharactersResponseValidationError ¶
type GetCharactersResponseValidationError struct {
// contains filtered or unexported fields
}
GetCharactersResponseValidationError is the validation error returned by GetCharactersResponse.Validate if the designated constraints aren't met.
func (GetCharactersResponseValidationError) Cause ¶
func (e GetCharactersResponseValidationError) Cause() error
Cause function returns cause value.
func (GetCharactersResponseValidationError) Error ¶
func (e GetCharactersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetCharactersResponseValidationError) ErrorName ¶
func (e GetCharactersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetCharactersResponseValidationError) Field ¶
func (e GetCharactersResponseValidationError) Field() string
Field function returns field value.
func (GetCharactersResponseValidationError) Key ¶
func (e GetCharactersResponseValidationError) Key() bool
Key function returns key value.
func (GetCharactersResponseValidationError) Reason ¶
func (e GetCharactersResponseValidationError) Reason() string
Reason function returns reason value.
type LoginRequest ¶
type LoginRequest 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"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) GetUsername ¶
func (x *LoginRequest) GetUsername() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
func (*LoginRequest) Validate ¶
func (m *LoginRequest) Validate() error
Validate checks the field values on LoginRequest 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 (*LoginRequest) ValidateAll ¶
func (m *LoginRequest) ValidateAll() error
ValidateAll checks the field values on LoginRequest 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 LoginRequestMultiError, or nil if none found.
type LoginRequestMultiError ¶
type LoginRequestMultiError []error
LoginRequestMultiError is an error wrapping multiple validation errors returned by LoginRequest.ValidateAll() if the designated constraints aren't met.
func (LoginRequestMultiError) AllErrors ¶
func (m LoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginRequestMultiError) Error ¶
func (m LoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginRequestValidationError ¶
type LoginRequestValidationError struct {
// contains filtered or unexported fields
}
LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.
func (LoginRequestValidationError) Cause ¶
func (e LoginRequestValidationError) Cause() error
Cause function returns cause value.
func (LoginRequestValidationError) Error ¶
func (e LoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRequestValidationError) ErrorName ¶
func (e LoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRequestValidationError) Field ¶
func (e LoginRequestValidationError) Field() string
Field function returns field value.
func (LoginRequestValidationError) Key ¶
func (e LoginRequestValidationError) Key() bool
Key function returns key value.
func (LoginRequestValidationError) Reason ¶
func (e LoginRequestValidationError) Reason() string
Reason function returns reason value.
type LoginResponse ¶
type LoginResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Expires *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"` AccountId uint64 `protobuf:"varint,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetAccountId ¶ added in v0.6.5
func (x *LoginResponse) GetAccountId() uint64
func (*LoginResponse) GetExpires ¶
func (x *LoginResponse) GetExpires() *timestamp.Timestamp
func (*LoginResponse) GetToken ¶
func (x *LoginResponse) GetToken() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
func (*LoginResponse) Validate ¶
func (m *LoginResponse) Validate() error
Validate checks the field values on LoginResponse 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 (*LoginResponse) ValidateAll ¶
func (m *LoginResponse) ValidateAll() error
ValidateAll checks the field values on LoginResponse 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 LoginResponseMultiError, or nil if none found.
type LoginResponseMultiError ¶
type LoginResponseMultiError []error
LoginResponseMultiError is an error wrapping multiple validation errors returned by LoginResponse.ValidateAll() if the designated constraints aren't met.
func (LoginResponseMultiError) AllErrors ¶
func (m LoginResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginResponseMultiError) Error ¶
func (m LoginResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginResponseValidationError ¶
type LoginResponseValidationError struct {
// contains filtered or unexported fields
}
LoginResponseValidationError is the validation error returned by LoginResponse.Validate if the designated constraints aren't met.
func (LoginResponseValidationError) Cause ¶
func (e LoginResponseValidationError) Cause() error
Cause function returns cause value.
func (LoginResponseValidationError) Error ¶
func (e LoginResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LoginResponseValidationError) ErrorName ¶
func (e LoginResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LoginResponseValidationError) Field ¶
func (e LoginResponseValidationError) Field() string
Field function returns field value.
func (LoginResponseValidationError) Key ¶
func (e LoginResponseValidationError) Key() bool
Key function returns key value.
func (LoginResponseValidationError) Reason ¶
func (e LoginResponseValidationError) Reason() string
Reason function returns reason value.
type LogoutRequest ¶
type LogoutRequest struct {
// contains filtered or unexported fields
}
func (*LogoutRequest) Descriptor
deprecated
func (*LogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.
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 { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*LogoutResponse) Descriptor
deprecated
func (*LogoutResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.
func (*LogoutResponse) GetSuccess ¶
func (x *LogoutResponse) GetSuccess() bool
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 Server ¶
type Server struct { AuthServiceServer // contains filtered or unexported fields }
func (*Server) AuthFuncOverride ¶
AuthFuncOverride is called instead of exampleAuthFunc
func (*Server) ChangePassword ¶
func (s *Server) ChangePassword(ctx context.Context, req *ChangePasswordRequest) (*ChangePasswordResponse, error)
func (*Server) ChangeUsername ¶ added in v0.8.11
func (s *Server) ChangeUsername(ctx context.Context, req *ChangeUsernameRequest) (*ChangeUsernameResponse, error)
func (*Server) ChooseCharacter ¶
func (s *Server) ChooseCharacter(ctx context.Context, req *ChooseCharacterRequest) (*ChooseCharacterResponse, error)
func (*Server) CreateAccount ¶
func (s *Server) CreateAccount(ctx context.Context, req *CreateAccountRequest) (*CreateAccountResponse, error)
func (*Server) DeleteOAuth2Connection ¶
func (s *Server) DeleteOAuth2Connection(ctx context.Context, req *DeleteOAuth2ConnectionRequest) (*DeleteOAuth2ConnectionResponse, error)
func (*Server) ForgotPassword ¶
func (s *Server) ForgotPassword(ctx context.Context, req *ForgotPasswordRequest) (*ForgotPasswordResponse, error)
func (*Server) GetAccountInfo ¶
func (s *Server) GetAccountInfo(ctx context.Context, req *GetAccountInfoRequest) (*GetAccountInfoResponse, error)
func (*Server) GetCharacters ¶
func (s *Server) GetCharacters(ctx context.Context, req *GetCharactersRequest) (*GetCharactersResponse, error)
func (*Server) Login ¶
func (s *Server) Login(ctx context.Context, req *LoginRequest) (*LoginResponse, error)
func (*Server) Logout ¶
func (s *Server) Logout(ctx context.Context, req *LogoutRequest) (*LogoutResponse, error)
func (*Server) PermissionUnaryFuncOverride ¶
func (*Server) RegisterServer ¶ added in v0.8.0
func (*Server) SetSuperUserMode ¶ added in v0.8.21
func (s *Server) SetSuperUserMode(ctx context.Context, req *SetSuperUserModeRequest) (*SetSuperUserModeResponse, error)
type SetSuperUserModeRequest ¶ added in v0.8.21
type SetSuperUserModeRequest struct { Superuser bool `protobuf:"varint,1,opt,name=superuser,proto3" json:"superuser,omitempty"` Job *string `protobuf:"bytes,2,opt,name=job,proto3,oneof" json:"job,omitempty"` // contains filtered or unexported fields }
func (*SetSuperUserModeRequest) Descriptor
deprecated
added in
v0.8.21
func (*SetSuperUserModeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSuperUserModeRequest.ProtoReflect.Descriptor instead.
func (*SetSuperUserModeRequest) GetJob ¶ added in v0.8.21
func (x *SetSuperUserModeRequest) GetJob() string
func (*SetSuperUserModeRequest) GetSuperuser ¶ added in v0.8.21
func (x *SetSuperUserModeRequest) GetSuperuser() bool
func (*SetSuperUserModeRequest) ProtoMessage ¶ added in v0.8.21
func (*SetSuperUserModeRequest) ProtoMessage()
func (*SetSuperUserModeRequest) ProtoReflect ¶ added in v0.8.21
func (x *SetSuperUserModeRequest) ProtoReflect() protoreflect.Message
func (*SetSuperUserModeRequest) Reset ¶ added in v0.8.21
func (x *SetSuperUserModeRequest) Reset()
func (*SetSuperUserModeRequest) String ¶ added in v0.8.21
func (x *SetSuperUserModeRequest) String() string
func (*SetSuperUserModeRequest) Validate ¶ added in v0.8.21
func (m *SetSuperUserModeRequest) Validate() error
Validate checks the field values on SetSuperUserModeRequest 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 (*SetSuperUserModeRequest) ValidateAll ¶ added in v0.8.21
func (m *SetSuperUserModeRequest) ValidateAll() error
ValidateAll checks the field values on SetSuperUserModeRequest 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 SetSuperUserModeRequestMultiError, or nil if none found.
type SetSuperUserModeRequestMultiError ¶ added in v0.8.21
type SetSuperUserModeRequestMultiError []error
SetSuperUserModeRequestMultiError is an error wrapping multiple validation errors returned by SetSuperUserModeRequest.ValidateAll() if the designated constraints aren't met.
func (SetSuperUserModeRequestMultiError) AllErrors ¶ added in v0.8.21
func (m SetSuperUserModeRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetSuperUserModeRequestMultiError) Error ¶ added in v0.8.21
func (m SetSuperUserModeRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetSuperUserModeRequestValidationError ¶ added in v0.8.21
type SetSuperUserModeRequestValidationError struct {
// contains filtered or unexported fields
}
SetSuperUserModeRequestValidationError is the validation error returned by SetSuperUserModeRequest.Validate if the designated constraints aren't met.
func (SetSuperUserModeRequestValidationError) Cause ¶ added in v0.8.21
func (e SetSuperUserModeRequestValidationError) Cause() error
Cause function returns cause value.
func (SetSuperUserModeRequestValidationError) Error ¶ added in v0.8.21
func (e SetSuperUserModeRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SetSuperUserModeRequestValidationError) ErrorName ¶ added in v0.8.21
func (e SetSuperUserModeRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SetSuperUserModeRequestValidationError) Field ¶ added in v0.8.21
func (e SetSuperUserModeRequestValidationError) Field() string
Field function returns field value.
func (SetSuperUserModeRequestValidationError) Key ¶ added in v0.8.21
func (e SetSuperUserModeRequestValidationError) Key() bool
Key function returns key value.
func (SetSuperUserModeRequestValidationError) Reason ¶ added in v0.8.21
func (e SetSuperUserModeRequestValidationError) Reason() string
Reason function returns reason value.
type SetSuperUserModeResponse ¶ added in v0.8.21
type SetSuperUserModeResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Expires *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"` JobProps *users.JobProps `protobuf:"bytes,3,opt,name=job_props,json=jobProps,proto3,oneof" json:"job_props,omitempty"` Char *users.User `protobuf:"bytes,4,opt,name=char,proto3" json:"char,omitempty"` // contains filtered or unexported fields }
func (*SetSuperUserModeResponse) Descriptor
deprecated
added in
v0.8.21
func (*SetSuperUserModeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetSuperUserModeResponse.ProtoReflect.Descriptor instead.
func (*SetSuperUserModeResponse) GetChar ¶ added in v0.8.21
func (x *SetSuperUserModeResponse) GetChar() *users.User
func (*SetSuperUserModeResponse) GetExpires ¶ added in v0.8.21
func (x *SetSuperUserModeResponse) GetExpires() *timestamp.Timestamp
func (*SetSuperUserModeResponse) GetJobProps ¶ added in v0.8.21
func (x *SetSuperUserModeResponse) GetJobProps() *users.JobProps
func (*SetSuperUserModeResponse) GetToken ¶ added in v0.8.21
func (x *SetSuperUserModeResponse) GetToken() string
func (*SetSuperUserModeResponse) ProtoMessage ¶ added in v0.8.21
func (*SetSuperUserModeResponse) ProtoMessage()
func (*SetSuperUserModeResponse) ProtoReflect ¶ added in v0.8.21
func (x *SetSuperUserModeResponse) ProtoReflect() protoreflect.Message
func (*SetSuperUserModeResponse) Reset ¶ added in v0.8.21
func (x *SetSuperUserModeResponse) Reset()
func (*SetSuperUserModeResponse) String ¶ added in v0.8.21
func (x *SetSuperUserModeResponse) String() string
func (*SetSuperUserModeResponse) Validate ¶ added in v0.8.21
func (m *SetSuperUserModeResponse) Validate() error
Validate checks the field values on SetSuperUserModeResponse 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 (*SetSuperUserModeResponse) ValidateAll ¶ added in v0.8.21
func (m *SetSuperUserModeResponse) ValidateAll() error
ValidateAll checks the field values on SetSuperUserModeResponse 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 SetSuperUserModeResponseMultiError, or nil if none found.
type SetSuperUserModeResponseMultiError ¶ added in v0.8.21
type SetSuperUserModeResponseMultiError []error
SetSuperUserModeResponseMultiError is an error wrapping multiple validation errors returned by SetSuperUserModeResponse.ValidateAll() if the designated constraints aren't met.
func (SetSuperUserModeResponseMultiError) AllErrors ¶ added in v0.8.21
func (m SetSuperUserModeResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SetSuperUserModeResponseMultiError) Error ¶ added in v0.8.21
func (m SetSuperUserModeResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SetSuperUserModeResponseValidationError ¶ added in v0.8.21
type SetSuperUserModeResponseValidationError struct {
// contains filtered or unexported fields
}
SetSuperUserModeResponseValidationError is the validation error returned by SetSuperUserModeResponse.Validate if the designated constraints aren't met.
func (SetSuperUserModeResponseValidationError) Cause ¶ added in v0.8.21
func (e SetSuperUserModeResponseValidationError) Cause() error
Cause function returns cause value.
func (SetSuperUserModeResponseValidationError) Error ¶ added in v0.8.21
func (e SetSuperUserModeResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SetSuperUserModeResponseValidationError) ErrorName ¶ added in v0.8.21
func (e SetSuperUserModeResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SetSuperUserModeResponseValidationError) Field ¶ added in v0.8.21
func (e SetSuperUserModeResponseValidationError) Field() string
Field function returns field value.
func (SetSuperUserModeResponseValidationError) Key ¶ added in v0.8.21
func (e SetSuperUserModeResponseValidationError) Key() bool
Key function returns key value.
func (SetSuperUserModeResponseValidationError) Reason ¶ added in v0.8.21
func (e SetSuperUserModeResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAuthServiceServer ¶
type UnimplementedAuthServiceServer struct { }
UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthServiceServer) ChangePassword ¶
func (UnimplementedAuthServiceServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
func (UnimplementedAuthServiceServer) ChangeUsername ¶ added in v0.8.11
func (UnimplementedAuthServiceServer) ChangeUsername(context.Context, *ChangeUsernameRequest) (*ChangeUsernameResponse, error)
func (UnimplementedAuthServiceServer) ChooseCharacter ¶
func (UnimplementedAuthServiceServer) ChooseCharacter(context.Context, *ChooseCharacterRequest) (*ChooseCharacterResponse, error)
func (UnimplementedAuthServiceServer) CreateAccount ¶
func (UnimplementedAuthServiceServer) CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
func (UnimplementedAuthServiceServer) DeleteOAuth2Connection ¶
func (UnimplementedAuthServiceServer) DeleteOAuth2Connection(context.Context, *DeleteOAuth2ConnectionRequest) (*DeleteOAuth2ConnectionResponse, error)
func (UnimplementedAuthServiceServer) ForgotPassword ¶
func (UnimplementedAuthServiceServer) ForgotPassword(context.Context, *ForgotPasswordRequest) (*ForgotPasswordResponse, error)
func (UnimplementedAuthServiceServer) GetAccountInfo ¶
func (UnimplementedAuthServiceServer) GetAccountInfo(context.Context, *GetAccountInfoRequest) (*GetAccountInfoResponse, error)
func (UnimplementedAuthServiceServer) GetCharacters ¶
func (UnimplementedAuthServiceServer) GetCharacters(context.Context, *GetCharactersRequest) (*GetCharactersResponse, error)
func (UnimplementedAuthServiceServer) Login ¶
func (UnimplementedAuthServiceServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedAuthServiceServer) Logout ¶
func (UnimplementedAuthServiceServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
func (UnimplementedAuthServiceServer) SetSuperUserMode ¶ added in v0.8.21
func (UnimplementedAuthServiceServer) SetSuperUserMode(context.Context, *SetSuperUserModeRequest) (*SetSuperUserModeResponse, error)
type UnsafeAuthServiceServer ¶
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.