Documentation
¶
Index ¶
- Variables
- func RegisterAccountServer(s *grpc.Server, srv AccountServer)
- type AccountClient
- type AccountServer
- type ExecRequest
- func (*ExecRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecRequest) GetOperations() []*Op
- func (x *ExecRequest) GetUserId() string
- func (*ExecRequest) ProtoMessage()
- func (x *ExecRequest) ProtoReflect() protoreflect.Message
- func (x *ExecRequest) Reset()
- func (x *ExecRequest) String() string
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetUserId() string
- func (x *GetUserRequest) GetUsername() string
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- type GetVerificationTokenRequest
- func (*GetVerificationTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVerificationTokenRequest) GetToken() string
- func (x *GetVerificationTokenRequest) GetTokenType() string
- func (x *GetVerificationTokenRequest) GetUserId() string
- func (*GetVerificationTokenRequest) ProtoMessage()
- func (x *GetVerificationTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GetVerificationTokenRequest) Reset()
- func (x *GetVerificationTokenRequest) String() string
- type Op
- func (*Op) Descriptor() ([]byte, []int)deprecated
- func (x *Op) GetAddEncryptedAppSpecificPassword() *OpAddEncryptedAppSpecificPassword
- func (x *Op) GetAddEncryptedRecoveryToken() *OpAddEncryptedRecoveryToken
- func (x *Op) GetAddVerificationToken() *OpAddVerificationToken
- func (x *Op) GetAddWebauthnRegistration() *OpAddWebAuthnRegistration
- func (x *Op) GetDeleteAppSpecificPassword() *OpDeleteAppSpecificPassword
- func (x *Op) GetDeleteRecoveryToken() *OpDeleteRecoveryToken
- func (x *Op) GetDeleteTotpSecret() *OpDeleteTOTPSecret
- func (x *Op) GetDeleteVerificationToken() *OpDeleteVerificationToken
- func (x *Op) GetDeleteWebauthnRegistration() *OpDeleteWebAuthnRegistration
- func (m *Op) GetOp() isOp_Op
- func (x *Op) GetSetEncryptedPrimaryPassword() *OpSetEncryptedPrimaryPassword
- func (x *Op) GetSetTotpSecret() *OpSetTOTPSecret
- func (x *Op) GetSetUserInfo() *OpSetUserInfo
- func (x *Op) GetUpdateAppSpecificPassword() *OpUpdateAppSpecificPassword
- func (x *Op) GetUpdateWebauthnRegistration() *OpUpdateWebAuthnRegistration
- func (*Op) ProtoMessage()
- func (x *Op) ProtoReflect() protoreflect.Message
- func (x *Op) Reset()
- func (x *Op) String() string
- type OpAddEncryptedAppSpecificPassword
- func (*OpAddEncryptedAppSpecificPassword) Descriptor() ([]byte, []int)deprecated
- func (x *OpAddEncryptedAppSpecificPassword) GetAsp() *proto.AppSpecificPassword
- func (*OpAddEncryptedAppSpecificPassword) ProtoMessage()
- func (x *OpAddEncryptedAppSpecificPassword) ProtoReflect() protoreflect.Message
- func (x *OpAddEncryptedAppSpecificPassword) Reset()
- func (x *OpAddEncryptedAppSpecificPassword) String() string
- type OpAddEncryptedRecoveryToken
- func (*OpAddEncryptedRecoveryToken) Descriptor() ([]byte, []int)deprecated
- func (x *OpAddEncryptedRecoveryToken) GetToken() *proto.RecoveryToken
- func (*OpAddEncryptedRecoveryToken) ProtoMessage()
- func (x *OpAddEncryptedRecoveryToken) ProtoReflect() protoreflect.Message
- func (x *OpAddEncryptedRecoveryToken) Reset()
- func (x *OpAddEncryptedRecoveryToken) String() string
- type OpAddVerificationToken
- func (*OpAddVerificationToken) Descriptor() ([]byte, []int)deprecated
- func (x *OpAddVerificationToken) GetToken() *proto.VerificationToken
- func (*OpAddVerificationToken) ProtoMessage()
- func (x *OpAddVerificationToken) ProtoReflect() protoreflect.Message
- func (x *OpAddVerificationToken) Reset()
- func (x *OpAddVerificationToken) String() string
- type OpAddWebAuthnRegistration
- func (*OpAddWebAuthnRegistration) Descriptor() ([]byte, []int)deprecated
- func (x *OpAddWebAuthnRegistration) GetRegistration() *proto.WebAuthnRegistration
- func (*OpAddWebAuthnRegistration) ProtoMessage()
- func (x *OpAddWebAuthnRegistration) ProtoReflect() protoreflect.Message
- func (x *OpAddWebAuthnRegistration) Reset()
- func (x *OpAddWebAuthnRegistration) String() string
- type OpDeleteAppSpecificPassword
- func (*OpDeleteAppSpecificPassword) Descriptor() ([]byte, []int)deprecated
- func (x *OpDeleteAppSpecificPassword) GetAsp() *proto.AppSpecificPassword
- func (*OpDeleteAppSpecificPassword) ProtoMessage()
- func (x *OpDeleteAppSpecificPassword) ProtoReflect() protoreflect.Message
- func (x *OpDeleteAppSpecificPassword) Reset()
- func (x *OpDeleteAppSpecificPassword) String() string
- type OpDeleteRecoveryToken
- func (*OpDeleteRecoveryToken) Descriptor() ([]byte, []int)deprecated
- func (x *OpDeleteRecoveryToken) GetToken() *proto.RecoveryToken
- func (*OpDeleteRecoveryToken) ProtoMessage()
- func (x *OpDeleteRecoveryToken) ProtoReflect() protoreflect.Message
- func (x *OpDeleteRecoveryToken) Reset()
- func (x *OpDeleteRecoveryToken) String() string
- type OpDeleteTOTPSecret
- type OpDeleteVerificationToken
- func (*OpDeleteVerificationToken) Descriptor() ([]byte, []int)deprecated
- func (x *OpDeleteVerificationToken) GetToken() *proto.VerificationToken
- func (*OpDeleteVerificationToken) ProtoMessage()
- func (x *OpDeleteVerificationToken) ProtoReflect() protoreflect.Message
- func (x *OpDeleteVerificationToken) Reset()
- func (x *OpDeleteVerificationToken) String() string
- type OpDeleteWebAuthnRegistration
- func (*OpDeleteWebAuthnRegistration) Descriptor() ([]byte, []int)deprecated
- func (x *OpDeleteWebAuthnRegistration) GetRegistration() *proto.WebAuthnRegistration
- func (*OpDeleteWebAuthnRegistration) ProtoMessage()
- func (x *OpDeleteWebAuthnRegistration) ProtoReflect() protoreflect.Message
- func (x *OpDeleteWebAuthnRegistration) Reset()
- func (x *OpDeleteWebAuthnRegistration) String() string
- type OpSetEncryptedPrimaryPassword
- func (*OpSetEncryptedPrimaryPassword) Descriptor() ([]byte, []int)deprecated
- func (x *OpSetEncryptedPrimaryPassword) GetPassword() string
- func (*OpSetEncryptedPrimaryPassword) ProtoMessage()
- func (x *OpSetEncryptedPrimaryPassword) ProtoReflect() protoreflect.Message
- func (x *OpSetEncryptedPrimaryPassword) Reset()
- func (x *OpSetEncryptedPrimaryPassword) String() string
- type OpSetTOTPSecret
- type OpSetUserInfo
- type OpUpdateAppSpecificPassword
- func (*OpUpdateAppSpecificPassword) Descriptor() ([]byte, []int)deprecated
- func (x *OpUpdateAppSpecificPassword) GetAsp() *proto.AppSpecificPassword
- func (*OpUpdateAppSpecificPassword) ProtoMessage()
- func (x *OpUpdateAppSpecificPassword) ProtoReflect() protoreflect.Message
- func (x *OpUpdateAppSpecificPassword) Reset()
- func (x *OpUpdateAppSpecificPassword) String() string
- type OpUpdateWebAuthnRegistration
- func (*OpUpdateWebAuthnRegistration) Descriptor() ([]byte, []int)deprecated
- func (x *OpUpdateWebAuthnRegistration) GetRegistration() *proto.WebAuthnRegistration
- func (*OpUpdateWebAuthnRegistration) ProtoMessage()
- func (x *OpUpdateWebAuthnRegistration) ProtoReflect() protoreflect.Message
- func (x *OpUpdateWebAuthnRegistration) Reset()
- func (x *OpUpdateWebAuthnRegistration) String() string
- type Op_AddEncryptedAppSpecificPassword
- type Op_AddEncryptedRecoveryToken
- type Op_AddVerificationToken
- type Op_AddWebauthnRegistration
- type Op_DeleteAppSpecificPassword
- type Op_DeleteRecoveryToken
- type Op_DeleteTotpSecret
- type Op_DeleteVerificationToken
- type Op_DeleteWebauthnRegistration
- type Op_SetEncryptedPrimaryPassword
- type Op_SetTotpSecret
- type Op_SetUserInfo
- type Op_UpdateAppSpecificPassword
- type Op_UpdateWebauthnRegistration
- type UnimplementedAccountServer
- func (UnimplementedAccountServer) Exec(context.Context, *ExecRequest) (*emptypb.Empty, error)
- func (UnimplementedAccountServer) GetUser(context.Context, *GetUserRequest) (*proto.User, error)
- func (UnimplementedAccountServer) GetVerificationToken(context.Context, *GetVerificationTokenRequest) (*proto.VerificationToken, error)
- type UnsafeAccountServer
Constants ¶
This section is empty.
Variables ¶
var File_account_proto_account_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccountServer ¶
func RegisterAccountServer(s *grpc.Server, srv AccountServer)
Types ¶
type AccountClient ¶
type AccountClient interface { GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*proto.User, error) GetVerificationToken(ctx context.Context, in *GetVerificationTokenRequest, opts ...grpc.CallOption) (*proto.VerificationToken, error) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
AccountClient is the client API for Account 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 NewAccountClient ¶
func NewAccountClient(cc grpc.ClientConnInterface) AccountClient
type AccountServer ¶
type AccountServer interface { GetUser(context.Context, *GetUserRequest) (*proto.User, error) GetVerificationToken(context.Context, *GetVerificationTokenRequest) (*proto.VerificationToken, error) Exec(context.Context, *ExecRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
AccountServer is the server API for Account service. All implementations must embed UnimplementedAccountServer for forward compatibility
type ExecRequest ¶
type ExecRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Operations []*Op `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"` // contains filtered or unexported fields }
func (*ExecRequest) Descriptor
deprecated
func (*ExecRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.
func (*ExecRequest) GetOperations ¶
func (x *ExecRequest) GetOperations() []*Op
func (*ExecRequest) GetUserId ¶
func (x *ExecRequest) GetUserId() string
func (*ExecRequest) ProtoMessage ¶
func (*ExecRequest) ProtoMessage()
func (*ExecRequest) ProtoReflect ¶
func (x *ExecRequest) ProtoReflect() protoreflect.Message
func (*ExecRequest) Reset ¶
func (x *ExecRequest) Reset()
func (*ExecRequest) String ¶
func (x *ExecRequest) String() string
type GetUserRequest ¶
type GetUserRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetUserId ¶
func (x *GetUserRequest) GetUserId() string
func (*GetUserRequest) GetUsername ¶
func (x *GetUserRequest) GetUsername() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetVerificationTokenRequest ¶
type GetVerificationTokenRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"` Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*GetVerificationTokenRequest) Descriptor
deprecated
func (*GetVerificationTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVerificationTokenRequest.ProtoReflect.Descriptor instead.
func (*GetVerificationTokenRequest) GetToken ¶
func (x *GetVerificationTokenRequest) GetToken() string
func (*GetVerificationTokenRequest) GetTokenType ¶
func (x *GetVerificationTokenRequest) GetTokenType() string
func (*GetVerificationTokenRequest) GetUserId ¶
func (x *GetVerificationTokenRequest) GetUserId() string
func (*GetVerificationTokenRequest) ProtoMessage ¶
func (*GetVerificationTokenRequest) ProtoMessage()
func (*GetVerificationTokenRequest) ProtoReflect ¶
func (x *GetVerificationTokenRequest) ProtoReflect() protoreflect.Message
func (*GetVerificationTokenRequest) Reset ¶
func (x *GetVerificationTokenRequest) Reset()
func (*GetVerificationTokenRequest) String ¶
func (x *GetVerificationTokenRequest) String() string
type Op ¶
type Op struct { // Types that are assignable to Op: // // *Op_SetEncryptedPrimaryPassword // *Op_SetTotpSecret // *Op_DeleteTotpSecret // *Op_AddEncryptedRecoveryToken // *Op_DeleteRecoveryToken // *Op_AddEncryptedAppSpecificPassword // *Op_UpdateAppSpecificPassword // *Op_DeleteAppSpecificPassword // *Op_AddWebauthnRegistration // *Op_UpdateWebauthnRegistration // *Op_DeleteWebauthnRegistration // *Op_SetUserInfo // *Op_AddVerificationToken // *Op_DeleteVerificationToken Op isOp_Op `protobuf_oneof:"op"` // contains filtered or unexported fields }
func (*Op) GetAddEncryptedAppSpecificPassword ¶
func (x *Op) GetAddEncryptedAppSpecificPassword() *OpAddEncryptedAppSpecificPassword
func (*Op) GetAddEncryptedRecoveryToken ¶
func (x *Op) GetAddEncryptedRecoveryToken() *OpAddEncryptedRecoveryToken
func (*Op) GetAddVerificationToken ¶
func (x *Op) GetAddVerificationToken() *OpAddVerificationToken
func (*Op) GetAddWebauthnRegistration ¶
func (x *Op) GetAddWebauthnRegistration() *OpAddWebAuthnRegistration
func (*Op) GetDeleteAppSpecificPassword ¶
func (x *Op) GetDeleteAppSpecificPassword() *OpDeleteAppSpecificPassword
func (*Op) GetDeleteRecoveryToken ¶
func (x *Op) GetDeleteRecoveryToken() *OpDeleteRecoveryToken
func (*Op) GetDeleteTotpSecret ¶
func (x *Op) GetDeleteTotpSecret() *OpDeleteTOTPSecret
func (*Op) GetDeleteVerificationToken ¶
func (x *Op) GetDeleteVerificationToken() *OpDeleteVerificationToken
func (*Op) GetDeleteWebauthnRegistration ¶
func (x *Op) GetDeleteWebauthnRegistration() *OpDeleteWebAuthnRegistration
func (*Op) GetSetEncryptedPrimaryPassword ¶
func (x *Op) GetSetEncryptedPrimaryPassword() *OpSetEncryptedPrimaryPassword
func (*Op) GetSetTotpSecret ¶
func (x *Op) GetSetTotpSecret() *OpSetTOTPSecret
func (*Op) GetSetUserInfo ¶
func (x *Op) GetSetUserInfo() *OpSetUserInfo
func (*Op) GetUpdateAppSpecificPassword ¶
func (x *Op) GetUpdateAppSpecificPassword() *OpUpdateAppSpecificPassword
func (*Op) GetUpdateWebauthnRegistration ¶
func (x *Op) GetUpdateWebauthnRegistration() *OpUpdateWebAuthnRegistration
func (*Op) ProtoReflect ¶
func (x *Op) ProtoReflect() protoreflect.Message
type OpAddEncryptedAppSpecificPassword ¶
type OpAddEncryptedAppSpecificPassword struct { Asp *proto.AppSpecificPassword `protobuf:"bytes,1,opt,name=asp,proto3" json:"asp,omitempty"` // contains filtered or unexported fields }
func (*OpAddEncryptedAppSpecificPassword) Descriptor
deprecated
func (*OpAddEncryptedAppSpecificPassword) Descriptor() ([]byte, []int)
Deprecated: Use OpAddEncryptedAppSpecificPassword.ProtoReflect.Descriptor instead.
func (*OpAddEncryptedAppSpecificPassword) GetAsp ¶
func (x *OpAddEncryptedAppSpecificPassword) GetAsp() *proto.AppSpecificPassword
func (*OpAddEncryptedAppSpecificPassword) ProtoMessage ¶
func (*OpAddEncryptedAppSpecificPassword) ProtoMessage()
func (*OpAddEncryptedAppSpecificPassword) ProtoReflect ¶
func (x *OpAddEncryptedAppSpecificPassword) ProtoReflect() protoreflect.Message
func (*OpAddEncryptedAppSpecificPassword) Reset ¶
func (x *OpAddEncryptedAppSpecificPassword) Reset()
func (*OpAddEncryptedAppSpecificPassword) String ¶
func (x *OpAddEncryptedAppSpecificPassword) String() string
type OpAddEncryptedRecoveryToken ¶
type OpAddEncryptedRecoveryToken struct { Token *proto.RecoveryToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*OpAddEncryptedRecoveryToken) Descriptor
deprecated
func (*OpAddEncryptedRecoveryToken) Descriptor() ([]byte, []int)
Deprecated: Use OpAddEncryptedRecoveryToken.ProtoReflect.Descriptor instead.
func (*OpAddEncryptedRecoveryToken) GetToken ¶
func (x *OpAddEncryptedRecoveryToken) GetToken() *proto.RecoveryToken
func (*OpAddEncryptedRecoveryToken) ProtoMessage ¶
func (*OpAddEncryptedRecoveryToken) ProtoMessage()
func (*OpAddEncryptedRecoveryToken) ProtoReflect ¶
func (x *OpAddEncryptedRecoveryToken) ProtoReflect() protoreflect.Message
func (*OpAddEncryptedRecoveryToken) Reset ¶
func (x *OpAddEncryptedRecoveryToken) Reset()
func (*OpAddEncryptedRecoveryToken) String ¶
func (x *OpAddEncryptedRecoveryToken) String() string
type OpAddVerificationToken ¶
type OpAddVerificationToken struct { Token *proto.VerificationToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*OpAddVerificationToken) Descriptor
deprecated
func (*OpAddVerificationToken) Descriptor() ([]byte, []int)
Deprecated: Use OpAddVerificationToken.ProtoReflect.Descriptor instead.
func (*OpAddVerificationToken) GetToken ¶
func (x *OpAddVerificationToken) GetToken() *proto.VerificationToken
func (*OpAddVerificationToken) ProtoMessage ¶
func (*OpAddVerificationToken) ProtoMessage()
func (*OpAddVerificationToken) ProtoReflect ¶
func (x *OpAddVerificationToken) ProtoReflect() protoreflect.Message
func (*OpAddVerificationToken) Reset ¶
func (x *OpAddVerificationToken) Reset()
func (*OpAddVerificationToken) String ¶
func (x *OpAddVerificationToken) String() string
type OpAddWebAuthnRegistration ¶
type OpAddWebAuthnRegistration struct { Registration *proto.WebAuthnRegistration `protobuf:"bytes,1,opt,name=registration,proto3" json:"registration,omitempty"` // contains filtered or unexported fields }
func (*OpAddWebAuthnRegistration) Descriptor
deprecated
func (*OpAddWebAuthnRegistration) Descriptor() ([]byte, []int)
Deprecated: Use OpAddWebAuthnRegistration.ProtoReflect.Descriptor instead.
func (*OpAddWebAuthnRegistration) GetRegistration ¶
func (x *OpAddWebAuthnRegistration) GetRegistration() *proto.WebAuthnRegistration
func (*OpAddWebAuthnRegistration) ProtoMessage ¶
func (*OpAddWebAuthnRegistration) ProtoMessage()
func (*OpAddWebAuthnRegistration) ProtoReflect ¶
func (x *OpAddWebAuthnRegistration) ProtoReflect() protoreflect.Message
func (*OpAddWebAuthnRegistration) Reset ¶
func (x *OpAddWebAuthnRegistration) Reset()
func (*OpAddWebAuthnRegistration) String ¶
func (x *OpAddWebAuthnRegistration) String() string
type OpDeleteAppSpecificPassword ¶
type OpDeleteAppSpecificPassword struct { Asp *proto.AppSpecificPassword `protobuf:"bytes,1,opt,name=asp,proto3" json:"asp,omitempty"` // contains filtered or unexported fields }
func (*OpDeleteAppSpecificPassword) Descriptor
deprecated
func (*OpDeleteAppSpecificPassword) Descriptor() ([]byte, []int)
Deprecated: Use OpDeleteAppSpecificPassword.ProtoReflect.Descriptor instead.
func (*OpDeleteAppSpecificPassword) GetAsp ¶
func (x *OpDeleteAppSpecificPassword) GetAsp() *proto.AppSpecificPassword
func (*OpDeleteAppSpecificPassword) ProtoMessage ¶
func (*OpDeleteAppSpecificPassword) ProtoMessage()
func (*OpDeleteAppSpecificPassword) ProtoReflect ¶
func (x *OpDeleteAppSpecificPassword) ProtoReflect() protoreflect.Message
func (*OpDeleteAppSpecificPassword) Reset ¶
func (x *OpDeleteAppSpecificPassword) Reset()
func (*OpDeleteAppSpecificPassword) String ¶
func (x *OpDeleteAppSpecificPassword) String() string
type OpDeleteRecoveryToken ¶
type OpDeleteRecoveryToken struct { Token *proto.RecoveryToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*OpDeleteRecoveryToken) Descriptor
deprecated
func (*OpDeleteRecoveryToken) Descriptor() ([]byte, []int)
Deprecated: Use OpDeleteRecoveryToken.ProtoReflect.Descriptor instead.
func (*OpDeleteRecoveryToken) GetToken ¶
func (x *OpDeleteRecoveryToken) GetToken() *proto.RecoveryToken
func (*OpDeleteRecoveryToken) ProtoMessage ¶
func (*OpDeleteRecoveryToken) ProtoMessage()
func (*OpDeleteRecoveryToken) ProtoReflect ¶
func (x *OpDeleteRecoveryToken) ProtoReflect() protoreflect.Message
func (*OpDeleteRecoveryToken) Reset ¶
func (x *OpDeleteRecoveryToken) Reset()
func (*OpDeleteRecoveryToken) String ¶
func (x *OpDeleteRecoveryToken) String() string
type OpDeleteTOTPSecret ¶
type OpDeleteTOTPSecret struct {
// contains filtered or unexported fields
}
func (*OpDeleteTOTPSecret) Descriptor
deprecated
func (*OpDeleteTOTPSecret) Descriptor() ([]byte, []int)
Deprecated: Use OpDeleteTOTPSecret.ProtoReflect.Descriptor instead.
func (*OpDeleteTOTPSecret) ProtoMessage ¶
func (*OpDeleteTOTPSecret) ProtoMessage()
func (*OpDeleteTOTPSecret) ProtoReflect ¶
func (x *OpDeleteTOTPSecret) ProtoReflect() protoreflect.Message
func (*OpDeleteTOTPSecret) Reset ¶
func (x *OpDeleteTOTPSecret) Reset()
func (*OpDeleteTOTPSecret) String ¶
func (x *OpDeleteTOTPSecret) String() string
type OpDeleteVerificationToken ¶
type OpDeleteVerificationToken struct { Token *proto.VerificationToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*OpDeleteVerificationToken) Descriptor
deprecated
func (*OpDeleteVerificationToken) Descriptor() ([]byte, []int)
Deprecated: Use OpDeleteVerificationToken.ProtoReflect.Descriptor instead.
func (*OpDeleteVerificationToken) GetToken ¶
func (x *OpDeleteVerificationToken) GetToken() *proto.VerificationToken
func (*OpDeleteVerificationToken) ProtoMessage ¶
func (*OpDeleteVerificationToken) ProtoMessage()
func (*OpDeleteVerificationToken) ProtoReflect ¶
func (x *OpDeleteVerificationToken) ProtoReflect() protoreflect.Message
func (*OpDeleteVerificationToken) Reset ¶
func (x *OpDeleteVerificationToken) Reset()
func (*OpDeleteVerificationToken) String ¶
func (x *OpDeleteVerificationToken) String() string
type OpDeleteWebAuthnRegistration ¶
type OpDeleteWebAuthnRegistration struct { Registration *proto.WebAuthnRegistration `protobuf:"bytes,1,opt,name=registration,proto3" json:"registration,omitempty"` // contains filtered or unexported fields }
func (*OpDeleteWebAuthnRegistration) Descriptor
deprecated
func (*OpDeleteWebAuthnRegistration) Descriptor() ([]byte, []int)
Deprecated: Use OpDeleteWebAuthnRegistration.ProtoReflect.Descriptor instead.
func (*OpDeleteWebAuthnRegistration) GetRegistration ¶
func (x *OpDeleteWebAuthnRegistration) GetRegistration() *proto.WebAuthnRegistration
func (*OpDeleteWebAuthnRegistration) ProtoMessage ¶
func (*OpDeleteWebAuthnRegistration) ProtoMessage()
func (*OpDeleteWebAuthnRegistration) ProtoReflect ¶
func (x *OpDeleteWebAuthnRegistration) ProtoReflect() protoreflect.Message
func (*OpDeleteWebAuthnRegistration) Reset ¶
func (x *OpDeleteWebAuthnRegistration) Reset()
func (*OpDeleteWebAuthnRegistration) String ¶
func (x *OpDeleteWebAuthnRegistration) String() string
type OpSetEncryptedPrimaryPassword ¶
type OpSetEncryptedPrimaryPassword struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*OpSetEncryptedPrimaryPassword) Descriptor
deprecated
func (*OpSetEncryptedPrimaryPassword) Descriptor() ([]byte, []int)
Deprecated: Use OpSetEncryptedPrimaryPassword.ProtoReflect.Descriptor instead.
func (*OpSetEncryptedPrimaryPassword) GetPassword ¶
func (x *OpSetEncryptedPrimaryPassword) GetPassword() string
func (*OpSetEncryptedPrimaryPassword) ProtoMessage ¶
func (*OpSetEncryptedPrimaryPassword) ProtoMessage()
func (*OpSetEncryptedPrimaryPassword) ProtoReflect ¶
func (x *OpSetEncryptedPrimaryPassword) ProtoReflect() protoreflect.Message
func (*OpSetEncryptedPrimaryPassword) Reset ¶
func (x *OpSetEncryptedPrimaryPassword) Reset()
func (*OpSetEncryptedPrimaryPassword) String ¶
func (x *OpSetEncryptedPrimaryPassword) String() string
type OpSetTOTPSecret ¶
type OpSetTOTPSecret struct { TotpSecret string `protobuf:"bytes,1,opt,name=totp_secret,json=totpSecret,proto3" json:"totp_secret,omitempty"` // contains filtered or unexported fields }
func (*OpSetTOTPSecret) Descriptor
deprecated
func (*OpSetTOTPSecret) Descriptor() ([]byte, []int)
Deprecated: Use OpSetTOTPSecret.ProtoReflect.Descriptor instead.
func (*OpSetTOTPSecret) GetTotpSecret ¶
func (x *OpSetTOTPSecret) GetTotpSecret() string
func (*OpSetTOTPSecret) ProtoMessage ¶
func (*OpSetTOTPSecret) ProtoMessage()
func (*OpSetTOTPSecret) ProtoReflect ¶
func (x *OpSetTOTPSecret) ProtoReflect() protoreflect.Message
func (*OpSetTOTPSecret) Reset ¶
func (x *OpSetTOTPSecret) Reset()
func (*OpSetTOTPSecret) String ¶
func (x *OpSetTOTPSecret) String() string
type OpSetUserInfo ¶
type OpSetUserInfo struct { UserInfo *proto.UserInfo `protobuf:"bytes,1,opt,name=user_info,json=userInfo,proto3" json:"user_info,omitempty"` // contains filtered or unexported fields }
func (*OpSetUserInfo) Descriptor
deprecated
func (*OpSetUserInfo) Descriptor() ([]byte, []int)
Deprecated: Use OpSetUserInfo.ProtoReflect.Descriptor instead.
func (*OpSetUserInfo) GetUserInfo ¶
func (x *OpSetUserInfo) GetUserInfo() *proto.UserInfo
func (*OpSetUserInfo) ProtoMessage ¶
func (*OpSetUserInfo) ProtoMessage()
func (*OpSetUserInfo) ProtoReflect ¶
func (x *OpSetUserInfo) ProtoReflect() protoreflect.Message
func (*OpSetUserInfo) Reset ¶
func (x *OpSetUserInfo) Reset()
func (*OpSetUserInfo) String ¶
func (x *OpSetUserInfo) String() string
type OpUpdateAppSpecificPassword ¶
type OpUpdateAppSpecificPassword struct { Asp *proto.AppSpecificPassword `protobuf:"bytes,1,opt,name=asp,proto3" json:"asp,omitempty"` // contains filtered or unexported fields }
func (*OpUpdateAppSpecificPassword) Descriptor
deprecated
func (*OpUpdateAppSpecificPassword) Descriptor() ([]byte, []int)
Deprecated: Use OpUpdateAppSpecificPassword.ProtoReflect.Descriptor instead.
func (*OpUpdateAppSpecificPassword) GetAsp ¶
func (x *OpUpdateAppSpecificPassword) GetAsp() *proto.AppSpecificPassword
func (*OpUpdateAppSpecificPassword) ProtoMessage ¶
func (*OpUpdateAppSpecificPassword) ProtoMessage()
func (*OpUpdateAppSpecificPassword) ProtoReflect ¶
func (x *OpUpdateAppSpecificPassword) ProtoReflect() protoreflect.Message
func (*OpUpdateAppSpecificPassword) Reset ¶
func (x *OpUpdateAppSpecificPassword) Reset()
func (*OpUpdateAppSpecificPassword) String ¶
func (x *OpUpdateAppSpecificPassword) String() string
type OpUpdateWebAuthnRegistration ¶
type OpUpdateWebAuthnRegistration struct { Registration *proto.WebAuthnRegistration `protobuf:"bytes,1,opt,name=registration,proto3" json:"registration,omitempty"` // contains filtered or unexported fields }
func (*OpUpdateWebAuthnRegistration) Descriptor
deprecated
func (*OpUpdateWebAuthnRegistration) Descriptor() ([]byte, []int)
Deprecated: Use OpUpdateWebAuthnRegistration.ProtoReflect.Descriptor instead.
func (*OpUpdateWebAuthnRegistration) GetRegistration ¶
func (x *OpUpdateWebAuthnRegistration) GetRegistration() *proto.WebAuthnRegistration
func (*OpUpdateWebAuthnRegistration) ProtoMessage ¶
func (*OpUpdateWebAuthnRegistration) ProtoMessage()
func (*OpUpdateWebAuthnRegistration) ProtoReflect ¶
func (x *OpUpdateWebAuthnRegistration) ProtoReflect() protoreflect.Message
func (*OpUpdateWebAuthnRegistration) Reset ¶
func (x *OpUpdateWebAuthnRegistration) Reset()
func (*OpUpdateWebAuthnRegistration) String ¶
func (x *OpUpdateWebAuthnRegistration) String() string
type Op_AddEncryptedAppSpecificPassword ¶
type Op_AddEncryptedAppSpecificPassword struct {
AddEncryptedAppSpecificPassword *OpAddEncryptedAppSpecificPassword `protobuf:"bytes,9,opt,name=add_encrypted_app_specific_password,json=addEncryptedAppSpecificPassword,proto3,oneof"`
}
type Op_AddEncryptedRecoveryToken ¶
type Op_AddEncryptedRecoveryToken struct {
AddEncryptedRecoveryToken *OpAddEncryptedRecoveryToken `protobuf:"bytes,7,opt,name=add_encrypted_recovery_token,json=addEncryptedRecoveryToken,proto3,oneof"`
}
type Op_AddVerificationToken ¶
type Op_AddVerificationToken struct {
AddVerificationToken *OpAddVerificationToken `protobuf:"bytes,16,opt,name=add_verification_token,json=addVerificationToken,proto3,oneof"`
}
type Op_AddWebauthnRegistration ¶
type Op_AddWebauthnRegistration struct {
AddWebauthnRegistration *OpAddWebAuthnRegistration `protobuf:"bytes,12,opt,name=add_webauthn_registration,json=addWebauthnRegistration,proto3,oneof"`
}
type Op_DeleteAppSpecificPassword ¶
type Op_DeleteAppSpecificPassword struct {
DeleteAppSpecificPassword *OpDeleteAppSpecificPassword `protobuf:"bytes,11,opt,name=delete_app_specific_password,json=deleteAppSpecificPassword,proto3,oneof"`
}
type Op_DeleteRecoveryToken ¶
type Op_DeleteRecoveryToken struct {
DeleteRecoveryToken *OpDeleteRecoveryToken `protobuf:"bytes,8,opt,name=delete_recovery_token,json=deleteRecoveryToken,proto3,oneof"`
}
type Op_DeleteTotpSecret ¶
type Op_DeleteTotpSecret struct {
DeleteTotpSecret *OpDeleteTOTPSecret `protobuf:"bytes,6,opt,name=delete_totp_secret,json=deleteTotpSecret,proto3,oneof"`
}
type Op_DeleteVerificationToken ¶
type Op_DeleteVerificationToken struct {
DeleteVerificationToken *OpDeleteVerificationToken `protobuf:"bytes,17,opt,name=delete_verification_token,json=deleteVerificationToken,proto3,oneof"`
}
type Op_DeleteWebauthnRegistration ¶
type Op_DeleteWebauthnRegistration struct {
DeleteWebauthnRegistration *OpDeleteWebAuthnRegistration `protobuf:"bytes,14,opt,name=delete_webauthn_registration,json=deleteWebauthnRegistration,proto3,oneof"`
}
type Op_SetEncryptedPrimaryPassword ¶
type Op_SetEncryptedPrimaryPassword struct {
SetEncryptedPrimaryPassword *OpSetEncryptedPrimaryPassword `protobuf:"bytes,4,opt,name=set_encrypted_primary_password,json=setEncryptedPrimaryPassword,proto3,oneof"`
}
type Op_SetTotpSecret ¶
type Op_SetTotpSecret struct {
SetTotpSecret *OpSetTOTPSecret `protobuf:"bytes,5,opt,name=set_totp_secret,json=setTotpSecret,proto3,oneof"`
}
type Op_SetUserInfo ¶
type Op_SetUserInfo struct {
SetUserInfo *OpSetUserInfo `protobuf:"bytes,15,opt,name=set_user_info,json=setUserInfo,proto3,oneof"`
}
type Op_UpdateAppSpecificPassword ¶
type Op_UpdateAppSpecificPassword struct {
UpdateAppSpecificPassword *OpUpdateAppSpecificPassword `protobuf:"bytes,10,opt,name=update_app_specific_password,json=updateAppSpecificPassword,proto3,oneof"`
}
type Op_UpdateWebauthnRegistration ¶
type Op_UpdateWebauthnRegistration struct {
UpdateWebauthnRegistration *OpUpdateWebAuthnRegistration `protobuf:"bytes,13,opt,name=update_webauthn_registration,json=updateWebauthnRegistration,proto3,oneof"`
}
type UnimplementedAccountServer ¶
type UnimplementedAccountServer struct { }
UnimplementedAccountServer must be embedded to have forward compatible implementations.
func (UnimplementedAccountServer) Exec ¶
func (UnimplementedAccountServer) Exec(context.Context, *ExecRequest) (*emptypb.Empty, error)
func (UnimplementedAccountServer) GetUser ¶
func (UnimplementedAccountServer) GetUser(context.Context, *GetUserRequest) (*proto.User, error)
func (UnimplementedAccountServer) GetVerificationToken ¶
func (UnimplementedAccountServer) GetVerificationToken(context.Context, *GetVerificationTokenRequest) (*proto.VerificationToken, error)
type UnsafeAccountServer ¶
type UnsafeAccountServer interface {
// contains filtered or unexported methods
}
UnsafeAccountServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountServer will result in compilation errors.