clientgrpc

package
v0.0.0-...-84f1f66 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClientService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "clientgrpc.ClientService",
	HandlerType: (*ClientServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _ClientService_Login_Handler,
		},
		{
			MethodName: "LoginConfirm",
			Handler:    _ClientService_LoginConfirm_Handler,
		},
		{
			MethodName: "InitValidation",
			Handler:    _ClientService_InitValidation_Handler,
		},
		{
			MethodName: "VerifyValidation",
			Handler:    _ClientService_VerifyValidation_Handler,
		},
		{
			MethodName: "CompleteValidation",
			Handler:    _ClientService_CompleteValidation_Handler,
		},
		{
			MethodName: "GetUserDetails",
			Handler:    _ClientService_GetUserDetails_Handler,
		},
		{
			MethodName: "PasswordChange",
			Handler:    _ClientService_PasswordChange_Handler,
		},
		{
			MethodName: "Logout",
			Handler:    _ClientService_Logout_Handler,
		},
		{
			MethodName: "LogoutAllSessions",
			Handler:    _ClientService_LogoutAllSessions_Handler,
		},
		{
			MethodName: "BeginWebauthnRegister",
			Handler:    _ClientService_BeginWebauthnRegister_Handler,
		},
		{
			MethodName: "FinishWebauthnRegister",
			Handler:    _ClientService_FinishWebauthnRegister_Handler,
		},
		{
			MethodName: "BeginWebauthnLogin",
			Handler:    _ClientService_BeginWebauthnLogin_Handler,
		},
		{
			MethodName: "FinishWebauthnLogin",
			Handler:    _ClientService_FinishWebauthnLogin_Handler,
		},
		{
			MethodName: "AuthenticateMachine",
			Handler:    _ClientService_AuthenticateMachine_Handler,
		},
		{
			MethodName: "ValidateEmail",
			Handler:    _ClientService_ValidateEmail_Handler,
		},
		{
			MethodName: "ValidatePassword",
			Handler:    _ClientService_ValidatePassword_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "clientgrpc.proto",
}

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

View Source
var File_clientgrpc_proto protoreflect.FileDescriptor

Functions

func RegisterClientServiceServer

func RegisterClientServiceServer(s grpc.ServiceRegistrar, srv ClientServiceServer)

func StartServer

func StartServer(a *api.API) error

Types

type AuthenticateMachineRequest

type AuthenticateMachineRequest struct {
	MachineToken string `protobuf:"bytes,1,opt,name=machineToken,proto3" json:"machineToken,omitempty"`
	Email        string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Ip           string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateMachineRequest) Descriptor deprecated

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

Deprecated: Use AuthenticateMachineRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateMachineRequest) GetEmail

func (x *AuthenticateMachineRequest) GetEmail() string

func (*AuthenticateMachineRequest) GetIp

func (*AuthenticateMachineRequest) GetMachineToken

func (x *AuthenticateMachineRequest) GetMachineToken() string

func (*AuthenticateMachineRequest) ProtoMessage

func (*AuthenticateMachineRequest) ProtoMessage()

func (*AuthenticateMachineRequest) ProtoReflect

func (*AuthenticateMachineRequest) Reset

func (x *AuthenticateMachineRequest) Reset()

func (*AuthenticateMachineRequest) String

func (x *AuthenticateMachineRequest) String() string

type AuthenticateMachineResponse

type AuthenticateMachineResponse struct {
	Id    string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type  int32    `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
	Roles []string `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateMachineResponse) Descriptor deprecated

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

Deprecated: Use AuthenticateMachineResponse.ProtoReflect.Descriptor instead.

func (*AuthenticateMachineResponse) GetId

func (*AuthenticateMachineResponse) GetRoles

func (x *AuthenticateMachineResponse) GetRoles() []string

func (*AuthenticateMachineResponse) GetType

func (x *AuthenticateMachineResponse) GetType() int32

func (*AuthenticateMachineResponse) ProtoMessage

func (*AuthenticateMachineResponse) ProtoMessage()

func (*AuthenticateMachineResponse) ProtoReflect

func (*AuthenticateMachineResponse) Reset

func (x *AuthenticateMachineResponse) Reset()

func (*AuthenticateMachineResponse) String

func (x *AuthenticateMachineResponse) String() string

type BeginWebauthnLoginRequest

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

func (*BeginWebauthnLoginRequest) Descriptor deprecated

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

Deprecated: Use BeginWebauthnLoginRequest.ProtoReflect.Descriptor instead.

func (*BeginWebauthnLoginRequest) GetEmail

func (x *BeginWebauthnLoginRequest) GetEmail() string

func (*BeginWebauthnLoginRequest) ProtoMessage

func (*BeginWebauthnLoginRequest) ProtoMessage()

func (*BeginWebauthnLoginRequest) ProtoReflect

func (*BeginWebauthnLoginRequest) Reset

func (x *BeginWebauthnLoginRequest) Reset()

func (*BeginWebauthnLoginRequest) String

func (x *BeginWebauthnLoginRequest) String() string

type BeginWebauthnLoginResponse

type BeginWebauthnLoginResponse struct {
	WebauthnToken       string `protobuf:"bytes,1,opt,name=webauthnToken,proto3" json:"webauthnToken,omitempty"`
	CredentialAssertion string `protobuf:"bytes,2,opt,name=credentialAssertion,proto3" json:"credentialAssertion,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginWebauthnLoginResponse) Descriptor deprecated

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

Deprecated: Use BeginWebauthnLoginResponse.ProtoReflect.Descriptor instead.

func (*BeginWebauthnLoginResponse) GetCredentialAssertion

func (x *BeginWebauthnLoginResponse) GetCredentialAssertion() string

func (*BeginWebauthnLoginResponse) GetWebauthnToken

func (x *BeginWebauthnLoginResponse) GetWebauthnToken() string

func (*BeginWebauthnLoginResponse) ProtoMessage

func (*BeginWebauthnLoginResponse) ProtoMessage()

func (*BeginWebauthnLoginResponse) ProtoReflect

func (*BeginWebauthnLoginResponse) Reset

func (x *BeginWebauthnLoginResponse) Reset()

func (*BeginWebauthnLoginResponse) String

func (x *BeginWebauthnLoginResponse) String() string

type BeginWebauthnRegisterRequest

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

func (*BeginWebauthnRegisterRequest) Descriptor deprecated

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

Deprecated: Use BeginWebauthnRegisterRequest.ProtoReflect.Descriptor instead.

func (*BeginWebauthnRegisterRequest) GetSessionToken

func (x *BeginWebauthnRegisterRequest) GetSessionToken() string

func (*BeginWebauthnRegisterRequest) ProtoMessage

func (*BeginWebauthnRegisterRequest) ProtoMessage()

func (*BeginWebauthnRegisterRequest) ProtoReflect

func (*BeginWebauthnRegisterRequest) Reset

func (x *BeginWebauthnRegisterRequest) Reset()

func (*BeginWebauthnRegisterRequest) String

type BeginWebauthnRegisterResponse

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

func (*BeginWebauthnRegisterResponse) Descriptor deprecated

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

Deprecated: Use BeginWebauthnRegisterResponse.ProtoReflect.Descriptor instead.

func (*BeginWebauthnRegisterResponse) GetCredentialCreation

func (x *BeginWebauthnRegisterResponse) GetCredentialCreation() string

func (*BeginWebauthnRegisterResponse) ProtoMessage

func (*BeginWebauthnRegisterResponse) ProtoMessage()

func (*BeginWebauthnRegisterResponse) ProtoReflect

func (*BeginWebauthnRegisterResponse) Reset

func (x *BeginWebauthnRegisterResponse) Reset()

func (*BeginWebauthnRegisterResponse) String

type ClientServiceClient

type ClientServiceClient interface {
	// User APIs
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	LoginConfirm(ctx context.Context, in *LoginConfirmRequest, opts ...grpc.CallOption) (*LoginConfirmResponse, error)
	InitValidation(ctx context.Context, in *InitValidationRequest, opts ...grpc.CallOption) (*InitValidationResponse, error)
	VerifyValidation(ctx context.Context, in *VerifyValidationRequest, opts ...grpc.CallOption) (*VerifyValidationResponse, error)
	CompleteValidation(ctx context.Context, in *CompleteValidationRequest, opts ...grpc.CallOption) (*CompleteValidationResponse, error)
	GetUserDetails(ctx context.Context, in *GetUserDetailsRequest, opts ...grpc.CallOption) (*GetUserDetailsResponse, error)
	PasswordChange(ctx context.Context, in *PasswordChangeRequest, opts ...grpc.CallOption) (*PasswordChangeResponse, error)
	Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error)
	LogoutAllSessions(ctx context.Context, in *LogoutAllSessionsRequest, opts ...grpc.CallOption) (*LogoutAllSessionsResponse, error)
	BeginWebauthnRegister(ctx context.Context, in *BeginWebauthnRegisterRequest, opts ...grpc.CallOption) (*BeginWebauthnRegisterResponse, error)
	FinishWebauthnRegister(ctx context.Context, in *FinishWebauthnRegisterRequest, opts ...grpc.CallOption) (*FinishWebauthnRegisterResponse, error)
	BeginWebauthnLogin(ctx context.Context, in *BeginWebauthnLoginRequest, opts ...grpc.CallOption) (*BeginWebauthnLoginResponse, error)
	FinishWebauthnLogin(ctx context.Context, in *FinishWebauthnLoginRequest, opts ...grpc.CallOption) (*FinishWebauthnLoginResponse, error)
	// Machine APIs
	AuthenticateMachine(ctx context.Context, in *AuthenticateMachineRequest, opts ...grpc.CallOption) (*AuthenticateMachineResponse, error)
	// Other
	ValidateEmail(ctx context.Context, in *ValidateEmailRequest, opts ...grpc.CallOption) (*ValidateEmailResponse, error)
	ValidatePassword(ctx context.Context, in *ValidatePasswordRequest, opts ...grpc.CallOption) (*ValidatePasswordResponse, error)
}

ClientServiceClient is the client API for ClientService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ClientServiceServer

type ClientServiceServer interface {
	// User APIs
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	LoginConfirm(context.Context, *LoginConfirmRequest) (*LoginConfirmResponse, error)
	InitValidation(context.Context, *InitValidationRequest) (*InitValidationResponse, error)
	VerifyValidation(context.Context, *VerifyValidationRequest) (*VerifyValidationResponse, error)
	CompleteValidation(context.Context, *CompleteValidationRequest) (*CompleteValidationResponse, error)
	GetUserDetails(context.Context, *GetUserDetailsRequest) (*GetUserDetailsResponse, error)
	PasswordChange(context.Context, *PasswordChangeRequest) (*PasswordChangeResponse, error)
	Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
	LogoutAllSessions(context.Context, *LogoutAllSessionsRequest) (*LogoutAllSessionsResponse, error)
	BeginWebauthnRegister(context.Context, *BeginWebauthnRegisterRequest) (*BeginWebauthnRegisterResponse, error)
	FinishWebauthnRegister(context.Context, *FinishWebauthnRegisterRequest) (*FinishWebauthnRegisterResponse, error)
	BeginWebauthnLogin(context.Context, *BeginWebauthnLoginRequest) (*BeginWebauthnLoginResponse, error)
	FinishWebauthnLogin(context.Context, *FinishWebauthnLoginRequest) (*FinishWebauthnLoginResponse, error)
	// Machine APIs
	AuthenticateMachine(context.Context, *AuthenticateMachineRequest) (*AuthenticateMachineResponse, error)
	// Other
	ValidateEmail(context.Context, *ValidateEmailRequest) (*ValidateEmailResponse, error)
	ValidatePassword(context.Context, *ValidatePasswordRequest) (*ValidatePasswordResponse, error)
	// contains filtered or unexported methods
}

ClientServiceServer is the server API for ClientService service. All implementations must embed UnimplementedClientServiceServer for forward compatibility

type CompleteValidationRequest

type CompleteValidationRequest struct {
	TotpToken string `protobuf:"bytes,1,opt,name=totpToken,proto3" json:"totpToken,omitempty"`
	TotpCode  string `protobuf:"bytes,2,opt,name=totpCode,proto3" json:"totpCode,omitempty"`
	// contains filtered or unexported fields
}

func (*CompleteValidationRequest) Descriptor deprecated

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

Deprecated: Use CompleteValidationRequest.ProtoReflect.Descriptor instead.

func (*CompleteValidationRequest) GetTotpCode

func (x *CompleteValidationRequest) GetTotpCode() string

func (*CompleteValidationRequest) GetTotpToken

func (x *CompleteValidationRequest) GetTotpToken() string

func (*CompleteValidationRequest) ProtoMessage

func (*CompleteValidationRequest) ProtoMessage()

func (*CompleteValidationRequest) ProtoReflect

func (*CompleteValidationRequest) Reset

func (x *CompleteValidationRequest) Reset()

func (*CompleteValidationRequest) String

func (x *CompleteValidationRequest) String() string

type CompleteValidationResponse

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

func (*CompleteValidationResponse) Descriptor deprecated

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

Deprecated: Use CompleteValidationResponse.ProtoReflect.Descriptor instead.

func (*CompleteValidationResponse) GetSessionToken

func (x *CompleteValidationResponse) GetSessionToken() string

func (*CompleteValidationResponse) ProtoMessage

func (*CompleteValidationResponse) ProtoMessage()

func (*CompleteValidationResponse) ProtoReflect

func (*CompleteValidationResponse) Reset

func (x *CompleteValidationResponse) Reset()

func (*CompleteValidationResponse) String

func (x *CompleteValidationResponse) String() string

type DestroyRequest

type DestroyRequest struct {
	TotpToken string `protobuf:"bytes,1,opt,name=totpToken,proto3" json:"totpToken,omitempty"`
	TotpCode  string `protobuf:"bytes,2,opt,name=totpCode,proto3" json:"totpCode,omitempty"`
	// contains filtered or unexported fields
}

func (*DestroyRequest) Descriptor deprecated

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

Deprecated: Use DestroyRequest.ProtoReflect.Descriptor instead.

func (*DestroyRequest) GetTotpCode

func (x *DestroyRequest) GetTotpCode() string

func (*DestroyRequest) GetTotpToken

func (x *DestroyRequest) GetTotpToken() string

func (*DestroyRequest) ProtoMessage

func (*DestroyRequest) ProtoMessage()

func (*DestroyRequest) ProtoReflect

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

func (*DestroyRequest) Reset

func (x *DestroyRequest) Reset()

func (*DestroyRequest) String

func (x *DestroyRequest) String() string

type DestroyResponse

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

func (*DestroyResponse) Descriptor deprecated

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

Deprecated: Use DestroyResponse.ProtoReflect.Descriptor instead.

func (*DestroyResponse) GetId

func (x *DestroyResponse) GetId() string

func (*DestroyResponse) ProtoMessage

func (*DestroyResponse) ProtoMessage()

func (*DestroyResponse) ProtoReflect

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

func (*DestroyResponse) Reset

func (x *DestroyResponse) Reset()

func (*DestroyResponse) String

func (x *DestroyResponse) String() string

type FinishWebauthnLoginRequest

type FinishWebauthnLoginRequest struct {
	WebauthnToken string `protobuf:"bytes,1,opt,name=webauthnToken,proto3" json:"webauthnToken,omitempty"`
	Request       []byte `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishWebauthnLoginRequest) Descriptor deprecated

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

Deprecated: Use FinishWebauthnLoginRequest.ProtoReflect.Descriptor instead.

func (*FinishWebauthnLoginRequest) GetRequest

func (x *FinishWebauthnLoginRequest) GetRequest() []byte

func (*FinishWebauthnLoginRequest) GetWebauthnToken

func (x *FinishWebauthnLoginRequest) GetWebauthnToken() string

func (*FinishWebauthnLoginRequest) ProtoMessage

func (*FinishWebauthnLoginRequest) ProtoMessage()

func (*FinishWebauthnLoginRequest) ProtoReflect

func (*FinishWebauthnLoginRequest) Reset

func (x *FinishWebauthnLoginRequest) Reset()

func (*FinishWebauthnLoginRequest) String

func (x *FinishWebauthnLoginRequest) String() string

type FinishWebauthnLoginResponse

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

func (*FinishWebauthnLoginResponse) Descriptor deprecated

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

Deprecated: Use FinishWebauthnLoginResponse.ProtoReflect.Descriptor instead.

func (*FinishWebauthnLoginResponse) GetSessionToken

func (x *FinishWebauthnLoginResponse) GetSessionToken() string

func (*FinishWebauthnLoginResponse) ProtoMessage

func (*FinishWebauthnLoginResponse) ProtoMessage()

func (*FinishWebauthnLoginResponse) ProtoReflect

func (*FinishWebauthnLoginResponse) Reset

func (x *FinishWebauthnLoginResponse) Reset()

func (*FinishWebauthnLoginResponse) String

func (x *FinishWebauthnLoginResponse) String() string

type FinishWebauthnRegisterRequest

type FinishWebauthnRegisterRequest struct {
	SessionToken string `protobuf:"bytes,1,opt,name=sessionToken,proto3" json:"sessionToken,omitempty"`
	Request      []byte `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	// contains filtered or unexported fields
}

func (*FinishWebauthnRegisterRequest) Descriptor deprecated

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

Deprecated: Use FinishWebauthnRegisterRequest.ProtoReflect.Descriptor instead.

func (*FinishWebauthnRegisterRequest) GetRequest

func (x *FinishWebauthnRegisterRequest) GetRequest() []byte

func (*FinishWebauthnRegisterRequest) GetSessionToken

func (x *FinishWebauthnRegisterRequest) GetSessionToken() string

func (*FinishWebauthnRegisterRequest) ProtoMessage

func (*FinishWebauthnRegisterRequest) ProtoMessage()

func (*FinishWebauthnRegisterRequest) ProtoReflect

func (*FinishWebauthnRegisterRequest) Reset

func (x *FinishWebauthnRegisterRequest) Reset()

func (*FinishWebauthnRegisterRequest) String

type FinishWebauthnRegisterResponse

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

func (*FinishWebauthnRegisterResponse) Descriptor deprecated

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

Deprecated: Use FinishWebauthnRegisterResponse.ProtoReflect.Descriptor instead.

func (*FinishWebauthnRegisterResponse) GetSessionToken

func (x *FinishWebauthnRegisterResponse) GetSessionToken() string

func (*FinishWebauthnRegisterResponse) ProtoMessage

func (*FinishWebauthnRegisterResponse) ProtoMessage()

func (*FinishWebauthnRegisterResponse) ProtoReflect

func (*FinishWebauthnRegisterResponse) Reset

func (x *FinishWebauthnRegisterResponse) Reset()

func (*FinishWebauthnRegisterResponse) String

type GetUserDetailsRequest

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

func (*GetUserDetailsRequest) Descriptor deprecated

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

Deprecated: Use GetUserDetailsRequest.ProtoReflect.Descriptor instead.

func (*GetUserDetailsRequest) GetSessionToken

func (x *GetUserDetailsRequest) GetSessionToken() string

func (*GetUserDetailsRequest) ProtoMessage

func (*GetUserDetailsRequest) ProtoMessage()

func (*GetUserDetailsRequest) ProtoReflect

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

func (*GetUserDetailsRequest) Reset

func (x *GetUserDetailsRequest) Reset()

func (*GetUserDetailsRequest) String

func (x *GetUserDetailsRequest) String() string

type GetUserDetailsResponse

type GetUserDetailsResponse struct {
	Id             string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type           int32    `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
	Roles          []string `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
	TotpConfigured bool     `protobuf:"varint,4,opt,name=totpConfigured,proto3" json:"totpConfigured,omitempty"`
	TotpUri        string   `protobuf:"bytes,5,opt,name=totpUri,proto3" json:"totpUri,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserDetailsResponse) Descriptor deprecated

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

Deprecated: Use GetUserDetailsResponse.ProtoReflect.Descriptor instead.

func (*GetUserDetailsResponse) GetId

func (x *GetUserDetailsResponse) GetId() string

func (*GetUserDetailsResponse) GetRoles

func (x *GetUserDetailsResponse) GetRoles() []string

func (*GetUserDetailsResponse) GetTotpConfigured

func (x *GetUserDetailsResponse) GetTotpConfigured() bool

func (*GetUserDetailsResponse) GetTotpUri

func (x *GetUserDetailsResponse) GetTotpUri() string

func (*GetUserDetailsResponse) GetType

func (x *GetUserDetailsResponse) GetType() int32

func (*GetUserDetailsResponse) ProtoMessage

func (*GetUserDetailsResponse) ProtoMessage()

func (*GetUserDetailsResponse) ProtoReflect

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

func (*GetUserDetailsResponse) Reset

func (x *GetUserDetailsResponse) Reset()

func (*GetUserDetailsResponse) String

func (x *GetUserDetailsResponse) String() string

type InitValidationRequest

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

func (*InitValidationRequest) Descriptor deprecated

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

Deprecated: Use InitValidationRequest.ProtoReflect.Descriptor instead.

func (*InitValidationRequest) GetEmail

func (x *InitValidationRequest) GetEmail() string

func (*InitValidationRequest) ProtoMessage

func (*InitValidationRequest) ProtoMessage()

func (*InitValidationRequest) ProtoReflect

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

func (*InitValidationRequest) Reset

func (x *InitValidationRequest) Reset()

func (*InitValidationRequest) String

func (x *InitValidationRequest) String() string

type InitValidationResponse

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

func (*InitValidationResponse) Descriptor deprecated

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

Deprecated: Use InitValidationResponse.ProtoReflect.Descriptor instead.

func (*InitValidationResponse) GetValidationToken

func (x *InitValidationResponse) GetValidationToken() string

func (*InitValidationResponse) ProtoMessage

func (*InitValidationResponse) ProtoMessage()

func (*InitValidationResponse) ProtoReflect

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

func (*InitValidationResponse) Reset

func (x *InitValidationResponse) Reset()

func (*InitValidationResponse) String

func (x *InitValidationResponse) String() string

type LoginConfirmRequest

type LoginConfirmRequest struct {
	TotpToken string `protobuf:"bytes,1,opt,name=totpToken,proto3" json:"totpToken,omitempty"`
	TotpCode  string `protobuf:"bytes,2,opt,name=totpCode,proto3" json:"totpCode,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginConfirmRequest) Descriptor deprecated

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

Deprecated: Use LoginConfirmRequest.ProtoReflect.Descriptor instead.

func (*LoginConfirmRequest) GetTotpCode

func (x *LoginConfirmRequest) GetTotpCode() string

func (*LoginConfirmRequest) GetTotpToken

func (x *LoginConfirmRequest) GetTotpToken() string

func (*LoginConfirmRequest) ProtoMessage

func (*LoginConfirmRequest) ProtoMessage()

func (*LoginConfirmRequest) ProtoReflect

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

func (*LoginConfirmRequest) Reset

func (x *LoginConfirmRequest) Reset()

func (*LoginConfirmRequest) String

func (x *LoginConfirmRequest) String() string

type LoginConfirmResponse

type LoginConfirmResponse struct {
	SessionToken    string `protobuf:"bytes,1,opt,name=sessionToken,proto3" json:"sessionToken,omitempty"`
	ValidationToken string `protobuf:"bytes,2,opt,name=validationToken,proto3" json:"validationToken,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginConfirmResponse) Descriptor deprecated

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

Deprecated: Use LoginConfirmResponse.ProtoReflect.Descriptor instead.

func (*LoginConfirmResponse) GetSessionToken

func (x *LoginConfirmResponse) GetSessionToken() string

func (*LoginConfirmResponse) GetValidationToken

func (x *LoginConfirmResponse) GetValidationToken() string

func (*LoginConfirmResponse) ProtoMessage

func (*LoginConfirmResponse) ProtoMessage()

func (*LoginConfirmResponse) ProtoReflect

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

func (*LoginConfirmResponse) Reset

func (x *LoginConfirmResponse) Reset()

func (*LoginConfirmResponse) String

func (x *LoginConfirmResponse) String() string

type LoginRequest

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

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetEmail

func (x *LoginRequest) GetEmail() string

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() 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

type LoginResponse

type LoginResponse struct {
	TotpToken string `protobuf:"bytes,1,opt,name=totpToken,proto3" json:"totpToken,omitempty"`
	TotpUri   string `protobuf:"bytes,2,opt,name=totpUri,proto3" json:"totpUri,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetTotpToken

func (x *LoginResponse) GetTotpToken() string

func (*LoginResponse) GetTotpUri

func (x *LoginResponse) GetTotpUri() 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

type LogoutAllSessionsRequest

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

func (*LogoutAllSessionsRequest) Descriptor deprecated

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

Deprecated: Use LogoutAllSessionsRequest.ProtoReflect.Descriptor instead.

func (*LogoutAllSessionsRequest) GetSessionToken

func (x *LogoutAllSessionsRequest) GetSessionToken() string

func (*LogoutAllSessionsRequest) ProtoMessage

func (*LogoutAllSessionsRequest) ProtoMessage()

func (*LogoutAllSessionsRequest) ProtoReflect

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

func (*LogoutAllSessionsRequest) Reset

func (x *LogoutAllSessionsRequest) Reset()

func (*LogoutAllSessionsRequest) String

func (x *LogoutAllSessionsRequest) String() string

type LogoutAllSessionsResponse

type LogoutAllSessionsResponse struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Count int32  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*LogoutAllSessionsResponse) Descriptor deprecated

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

Deprecated: Use LogoutAllSessionsResponse.ProtoReflect.Descriptor instead.

func (*LogoutAllSessionsResponse) GetCount

func (x *LogoutAllSessionsResponse) GetCount() int32

func (*LogoutAllSessionsResponse) GetId

func (x *LogoutAllSessionsResponse) GetId() string

func (*LogoutAllSessionsResponse) ProtoMessage

func (*LogoutAllSessionsResponse) ProtoMessage()

func (*LogoutAllSessionsResponse) ProtoReflect

func (*LogoutAllSessionsResponse) Reset

func (x *LogoutAllSessionsResponse) Reset()

func (*LogoutAllSessionsResponse) String

func (x *LogoutAllSessionsResponse) String() string

type LogoutRequest

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

func (*LogoutRequest) Descriptor deprecated

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

Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.

func (*LogoutRequest) GetSessionToken

func (x *LogoutRequest) GetSessionToken() string

func (*LogoutRequest) ProtoMessage

func (*LogoutRequest) ProtoMessage()

func (*LogoutRequest) ProtoReflect

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

func (*LogoutRequest) Reset

func (x *LogoutRequest) Reset()

func (*LogoutRequest) String

func (x *LogoutRequest) String() string

type LogoutResponse

type LogoutResponse struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SessionId string `protobuf:"bytes,2,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	// contains filtered or unexported fields
}

func (*LogoutResponse) Descriptor deprecated

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

Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.

func (*LogoutResponse) GetId

func (x *LogoutResponse) GetId() string

func (*LogoutResponse) GetSessionId

func (x *LogoutResponse) GetSessionId() string

func (*LogoutResponse) ProtoMessage

func (*LogoutResponse) ProtoMessage()

func (*LogoutResponse) ProtoReflect

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

func (*LogoutResponse) Reset

func (x *LogoutResponse) Reset()

func (*LogoutResponse) String

func (x *LogoutResponse) String() string

type PasswordChangeRequest

type PasswordChangeRequest struct {
	SessionToken string `protobuf:"bytes,1,opt,name=sessionToken,proto3" json:"sessionToken,omitempty"`
	TotpCode     string `protobuf:"bytes,2,opt,name=totpCode,proto3" json:"totpCode,omitempty"`
	Password     string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordChangeRequest) Descriptor deprecated

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

Deprecated: Use PasswordChangeRequest.ProtoReflect.Descriptor instead.

func (*PasswordChangeRequest) GetPassword

func (x *PasswordChangeRequest) GetPassword() string

func (*PasswordChangeRequest) GetSessionToken

func (x *PasswordChangeRequest) GetSessionToken() string

func (*PasswordChangeRequest) GetTotpCode

func (x *PasswordChangeRequest) GetTotpCode() string

func (*PasswordChangeRequest) ProtoMessage

func (*PasswordChangeRequest) ProtoMessage()

func (*PasswordChangeRequest) ProtoReflect

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

func (*PasswordChangeRequest) Reset

func (x *PasswordChangeRequest) Reset()

func (*PasswordChangeRequest) String

func (x *PasswordChangeRequest) String() string

type PasswordChangeResponse

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

func (*PasswordChangeResponse) Descriptor deprecated

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

Deprecated: Use PasswordChangeResponse.ProtoReflect.Descriptor instead.

func (*PasswordChangeResponse) GetSessionToken

func (x *PasswordChangeResponse) GetSessionToken() string

func (*PasswordChangeResponse) ProtoMessage

func (*PasswordChangeResponse) ProtoMessage()

func (*PasswordChangeResponse) ProtoReflect

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

func (*PasswordChangeResponse) Reset

func (x *PasswordChangeResponse) Reset()

func (*PasswordChangeResponse) String

func (x *PasswordChangeResponse) String() string

type UnimplementedClientServiceServer

type UnimplementedClientServiceServer struct {
}

UnimplementedClientServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedClientServiceServer) BeginWebauthnLogin

func (UnimplementedClientServiceServer) CompleteValidation

func (UnimplementedClientServiceServer) GetUserDetails

func (UnimplementedClientServiceServer) InitValidation

func (UnimplementedClientServiceServer) Login

func (UnimplementedClientServiceServer) LoginConfirm

func (UnimplementedClientServiceServer) Logout

func (UnimplementedClientServiceServer) LogoutAllSessions

func (UnimplementedClientServiceServer) PasswordChange

func (UnimplementedClientServiceServer) ValidateEmail

func (UnimplementedClientServiceServer) ValidatePassword

func (UnimplementedClientServiceServer) VerifyValidation

type UnsafeClientServiceServer

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

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

type ValidateEmailRequest

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

func (*ValidateEmailRequest) Descriptor deprecated

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

Deprecated: Use ValidateEmailRequest.ProtoReflect.Descriptor instead.

func (*ValidateEmailRequest) GetEmail

func (x *ValidateEmailRequest) GetEmail() string

func (*ValidateEmailRequest) ProtoMessage

func (*ValidateEmailRequest) ProtoMessage()

func (*ValidateEmailRequest) ProtoReflect

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

func (*ValidateEmailRequest) Reset

func (x *ValidateEmailRequest) Reset()

func (*ValidateEmailRequest) String

func (x *ValidateEmailRequest) String() string

type ValidateEmailResponse

type ValidateEmailResponse struct {
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateEmailResponse) Descriptor deprecated

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

Deprecated: Use ValidateEmailResponse.ProtoReflect.Descriptor instead.

func (*ValidateEmailResponse) GetValid

func (x *ValidateEmailResponse) GetValid() bool

func (*ValidateEmailResponse) ProtoMessage

func (*ValidateEmailResponse) ProtoMessage()

func (*ValidateEmailResponse) ProtoReflect

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

func (*ValidateEmailResponse) Reset

func (x *ValidateEmailResponse) Reset()

func (*ValidateEmailResponse) String

func (x *ValidateEmailResponse) String() string

type ValidatePasswordRequest

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

func (*ValidatePasswordRequest) Descriptor deprecated

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

Deprecated: Use ValidatePasswordRequest.ProtoReflect.Descriptor instead.

func (*ValidatePasswordRequest) GetPassword

func (x *ValidatePasswordRequest) GetPassword() string

func (*ValidatePasswordRequest) ProtoMessage

func (*ValidatePasswordRequest) ProtoMessage()

func (*ValidatePasswordRequest) ProtoReflect

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

func (*ValidatePasswordRequest) Reset

func (x *ValidatePasswordRequest) Reset()

func (*ValidatePasswordRequest) String

func (x *ValidatePasswordRequest) String() string

type ValidatePasswordResponse

type ValidatePasswordResponse struct {
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidatePasswordResponse) Descriptor deprecated

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

Deprecated: Use ValidatePasswordResponse.ProtoReflect.Descriptor instead.

func (*ValidatePasswordResponse) GetValid

func (x *ValidatePasswordResponse) GetValid() bool

func (*ValidatePasswordResponse) ProtoMessage

func (*ValidatePasswordResponse) ProtoMessage()

func (*ValidatePasswordResponse) ProtoReflect

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

func (*ValidatePasswordResponse) Reset

func (x *ValidatePasswordResponse) Reset()

func (*ValidatePasswordResponse) String

func (x *ValidatePasswordResponse) String() string

type VerifyValidationRequest

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

func (*VerifyValidationRequest) Descriptor deprecated

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

Deprecated: Use VerifyValidationRequest.ProtoReflect.Descriptor instead.

func (*VerifyValidationRequest) GetValidationToken

func (x *VerifyValidationRequest) GetValidationToken() string

func (*VerifyValidationRequest) ProtoMessage

func (*VerifyValidationRequest) ProtoMessage()

func (*VerifyValidationRequest) ProtoReflect

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

func (*VerifyValidationRequest) Reset

func (x *VerifyValidationRequest) Reset()

func (*VerifyValidationRequest) String

func (x *VerifyValidationRequest) String() string

type VerifyValidationResponse

type VerifyValidationResponse struct {
	TotpToken string `protobuf:"bytes,1,opt,name=totpToken,proto3" json:"totpToken,omitempty"`
	TotpUri   string `protobuf:"bytes,2,opt,name=totpUri,proto3" json:"totpUri,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyValidationResponse) Descriptor deprecated

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

Deprecated: Use VerifyValidationResponse.ProtoReflect.Descriptor instead.

func (*VerifyValidationResponse) GetTotpToken

func (x *VerifyValidationResponse) GetTotpToken() string

func (*VerifyValidationResponse) GetTotpUri

func (x *VerifyValidationResponse) GetTotpUri() string

func (*VerifyValidationResponse) ProtoMessage

func (*VerifyValidationResponse) ProtoMessage()

func (*VerifyValidationResponse) ProtoReflect

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

func (*VerifyValidationResponse) Reset

func (x *VerifyValidationResponse) Reset()

func (*VerifyValidationResponse) String

func (x *VerifyValidationResponse) String() string

Jump to

Keyboard shortcuts

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