Documentation ¶
Index ¶
- Variables
- func RegisterAuthnServiceServer(s grpc.ServiceRegistrar, srv AuthnServiceServer)
- type AuthnServiceClient
- type AuthnServiceServer
- type AuthnService_EnterClient
- type AuthnService_EnterServer
- type Cmd
- func (*Cmd) Descriptor() ([]byte, []int)deprecated
- func (x *Cmd) GetAAGUID() string
- func (x *Cmd) GetCounter() uint64
- func (x *Cmd) GetJWT() string
- func (x *Cmd) GetOrigin() string
- func (x *Cmd) GetPublicDIDSeed() string
- func (x *Cmd) GetType() Cmd_Type
- func (x *Cmd) GetURL() string
- func (x *Cmd) GetUserName() string
- func (*Cmd) ProtoMessage()
- func (x *Cmd) ProtoReflect() protoreflect.Message
- func (x *Cmd) Reset()
- func (x *Cmd) String() string
- type CmdStatus
- func (*CmdStatus) Descriptor() ([]byte, []int)deprecated
- func (x *CmdStatus) GetCmdID() int64
- func (x *CmdStatus) GetCmdType() Cmd_Type
- func (x *CmdStatus) GetEnclave() *SecretMsg_EnclaveMsg
- func (x *CmdStatus) GetErr() string
- func (x *CmdStatus) GetHandle() *SecretMsg_HandleMsg
- func (m *CmdStatus) GetInfo() isCmdStatus_Info
- func (x *CmdStatus) GetOk() *CmdStatus_OKResult
- func (x *CmdStatus) GetSecType() SecretMsg_Type
- func (x *CmdStatus) GetType() CmdStatus_Type
- func (*CmdStatus) ProtoMessage()
- func (x *CmdStatus) ProtoReflect() protoreflect.Message
- func (x *CmdStatus) Reset()
- func (x *CmdStatus) String() string
- type CmdStatus_Enclave
- type CmdStatus_Err
- type CmdStatus_Handle
- type CmdStatus_OKResult
- type CmdStatus_Ok
- type CmdStatus_Type
- func (CmdStatus_Type) Descriptor() protoreflect.EnumDescriptor
- func (x CmdStatus_Type) Enum() *CmdStatus_Type
- func (CmdStatus_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x CmdStatus_Type) Number() protoreflect.EnumNumber
- func (x CmdStatus_Type) String() string
- func (CmdStatus_Type) Type() protoreflect.EnumType
- type Cmd_Type
- type SecretMsg
- func (*SecretMsg) Descriptor() ([]byte, []int)deprecated
- func (x *SecretMsg) GetCmdID() int64
- func (x *SecretMsg) GetEnclave() *SecretMsg_EnclaveMsg
- func (x *SecretMsg) GetErr() *SecretMsg_ErrorMsg
- func (x *SecretMsg) GetHandle() *SecretMsg_HandleMsg
- func (m *SecretMsg) GetInfo() isSecretMsg_Info
- func (x *SecretMsg) GetType() SecretMsg_Type
- func (*SecretMsg) ProtoMessage()
- func (x *SecretMsg) ProtoReflect() protoreflect.Message
- func (x *SecretMsg) Reset()
- func (x *SecretMsg) String() string
- type SecretMsg_Enclave
- type SecretMsg_EnclaveMsg
- func (*SecretMsg_EnclaveMsg) Descriptor() ([]byte, []int)deprecated
- func (x *SecretMsg_EnclaveMsg) GetCredID() []byte
- func (*SecretMsg_EnclaveMsg) ProtoMessage()
- func (x *SecretMsg_EnclaveMsg) ProtoReflect() protoreflect.Message
- func (x *SecretMsg_EnclaveMsg) Reset()
- func (x *SecretMsg_EnclaveMsg) String() string
- type SecretMsg_Err
- type SecretMsg_ErrorMsg
- func (*SecretMsg_ErrorMsg) Descriptor() ([]byte, []int)deprecated
- func (x *SecretMsg_ErrorMsg) GetInfo() string
- func (*SecretMsg_ErrorMsg) ProtoMessage()
- func (x *SecretMsg_ErrorMsg) ProtoReflect() protoreflect.Message
- func (x *SecretMsg_ErrorMsg) Reset()
- func (x *SecretMsg_ErrorMsg) String() string
- type SecretMsg_Handle
- type SecretMsg_HandleMsg
- func (*SecretMsg_HandleMsg) Descriptor() ([]byte, []int)deprecated
- func (x *SecretMsg_HandleMsg) GetData() []byte
- func (x *SecretMsg_HandleMsg) GetID() int64
- func (x *SecretMsg_HandleMsg) GetSign() []byte
- func (*SecretMsg_HandleMsg) ProtoMessage()
- func (x *SecretMsg_HandleMsg) ProtoReflect() protoreflect.Message
- func (x *SecretMsg_HandleMsg) Reset()
- func (x *SecretMsg_HandleMsg) String() string
- type SecretMsg_Type
- func (SecretMsg_Type) Descriptor() protoreflect.EnumDescriptor
- func (x SecretMsg_Type) Enum() *SecretMsg_Type
- func (SecretMsg_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecretMsg_Type) Number() protoreflect.EnumNumber
- func (x SecretMsg_Type) String() string
- func (SecretMsg_Type) Type() protoreflect.EnumType
- type SecretResult
- func (*SecretResult) Descriptor() ([]byte, []int)deprecated
- func (x *SecretResult) GetOk() bool
- func (x *SecretResult) GetResult() string
- func (*SecretResult) ProtoMessage()
- func (x *SecretResult) ProtoReflect() protoreflect.Message
- func (x *SecretResult) Reset()
- func (x *SecretResult) String() string
- type UnimplementedAuthnServiceServer
- type UnsafeAuthnServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( SecretMsg_Type_name = map[int32]string{ 0: "ERROR", 1: "NEW_HANDLE", 2: "IS_KEY_HANDLE", 3: "ID", 4: "CBOR_PUB_KEY", 5: "SIGN", 6: "VERIFY", } SecretMsg_Type_value = map[string]int32{ "ERROR": 0, "NEW_HANDLE": 1, "IS_KEY_HANDLE": 2, "ID": 3, "CBOR_PUB_KEY": 4, "SIGN": 5, "VERIFY": 6, } )
Enum value maps for SecretMsg_Type.
var ( Cmd_Type_name = map[int32]string{ 0: "LOGIN", 1: "REGISTER", } Cmd_Type_value = map[string]int32{ "LOGIN": 0, "REGISTER": 1, } )
Enum value maps for Cmd_Type.
var ( CmdStatus_Type_name = map[int32]string{ 0: "STATUS", 1: "READY_OK", 2: "READY_ERR", } CmdStatus_Type_value = map[string]int32{ "STATUS": 0, "READY_OK": 1, "READY_ERR": 2, } )
Enum value maps for CmdStatus_Type.
var AuthnService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "authn.v1.AuthnService", HandlerType: (*AuthnServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "EnterSecret", Handler: _AuthnService_EnterSecret_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Enter", Handler: _AuthnService_Enter_Handler, ServerStreams: true, }, }, Metadata: "authn.proto", }
AuthnService_ServiceDesc is the grpc.ServiceDesc for AuthnService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_authn_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAuthnServiceServer ¶
func RegisterAuthnServiceServer(s grpc.ServiceRegistrar, srv AuthnServiceServer)
Types ¶
type AuthnServiceClient ¶
type AuthnServiceClient interface { // Enter enters authn command: REGISTER or LOGIN. Enter(ctx context.Context, in *Cmd, opts ...grpc.CallOption) (AuthnService_EnterClient, error) // EnterSecret enters needed secrets after specific CmdStatus has received. EnterSecret(ctx context.Context, in *SecretMsg, opts ...grpc.CallOption) (*SecretResult, error) }
AuthnServiceClient is the client API for AuthnService 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 NewAuthnServiceClient ¶
func NewAuthnServiceClient(cc grpc.ClientConnInterface) AuthnServiceClient
type AuthnServiceServer ¶
type AuthnServiceServer interface { // Enter enters authn command: REGISTER or LOGIN. Enter(*Cmd, AuthnService_EnterServer) error // EnterSecret enters needed secrets after specific CmdStatus has received. EnterSecret(context.Context, *SecretMsg) (*SecretResult, error) // contains filtered or unexported methods }
AuthnServiceServer is the server API for AuthnService service. All implementations must embed UnimplementedAuthnServiceServer for forward compatibility
type AuthnService_EnterClient ¶
type AuthnService_EnterClient interface { Recv() (*CmdStatus, error) grpc.ClientStream }
type AuthnService_EnterServer ¶
type AuthnService_EnterServer interface { Send(*CmdStatus) error grpc.ServerStream }
type Cmd ¶
type Cmd struct { Type Cmd_Type `protobuf:"varint,1,opt,name=type,proto3,enum=authn.v1.Cmd_Type" json:"type,omitempty"` UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"` PublicDIDSeed string `protobuf:"bytes,3,opt,name=publicDIDSeed,proto3" json:"publicDIDSeed,omitempty"` URL string `protobuf:"bytes,4,opt,name=URL,proto3" json:"URL,omitempty"` AAGUID string `protobuf:"bytes,5,opt,name=AAGUID,proto3" json:"AAGUID,omitempty"` Counter uint64 `protobuf:"varint,7,opt,name=counter,proto3" json:"counter,omitempty"` JWT string `protobuf:"bytes,8,opt,name=JWT,proto3" json:"JWT,omitempty"` Origin string `protobuf:"bytes,9,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
func (*Cmd) Descriptor
deprecated
func (*Cmd) GetCounter ¶
func (*Cmd) GetPublicDIDSeed ¶
func (*Cmd) GetUserName ¶
func (*Cmd) ProtoMessage ¶
func (*Cmd) ProtoMessage()
func (*Cmd) ProtoReflect ¶
func (x *Cmd) ProtoReflect() protoreflect.Message
type CmdStatus ¶
type CmdStatus struct { CmdID int64 `protobuf:"varint,1,opt,name=cmdID,proto3" json:"cmdID,omitempty"` Type CmdStatus_Type `protobuf:"varint,2,opt,name=type,proto3,enum=authn.v1.CmdStatus_Type" json:"type,omitempty"` CmdType Cmd_Type `protobuf:"varint,3,opt,name=cmd_type,json=cmdType,proto3,enum=authn.v1.Cmd_Type" json:"cmd_type,omitempty"` SecType SecretMsg_Type `protobuf:"varint,4,opt,name=sec_type,json=secType,proto3,enum=authn.v1.SecretMsg_Type" json:"sec_type,omitempty"` // Types that are assignable to Info: // // *CmdStatus_Enclave // *CmdStatus_Handle // *CmdStatus_Ok // *CmdStatus_Err Info isCmdStatus_Info `protobuf_oneof:"Info"` // contains filtered or unexported fields }
CmdStatus is structure to return cmd statuses.
func (*CmdStatus) Descriptor
deprecated
func (*CmdStatus) GetCmdType ¶
func (*CmdStatus) GetEnclave ¶
func (x *CmdStatus) GetEnclave() *SecretMsg_EnclaveMsg
func (*CmdStatus) GetHandle ¶
func (x *CmdStatus) GetHandle() *SecretMsg_HandleMsg
func (*CmdStatus) GetOk ¶
func (x *CmdStatus) GetOk() *CmdStatus_OKResult
func (*CmdStatus) GetSecType ¶
func (x *CmdStatus) GetSecType() SecretMsg_Type
func (*CmdStatus) GetType ¶
func (x *CmdStatus) GetType() CmdStatus_Type
func (*CmdStatus) ProtoMessage ¶
func (*CmdStatus) ProtoMessage()
func (*CmdStatus) ProtoReflect ¶
func (x *CmdStatus) ProtoReflect() protoreflect.Message
type CmdStatus_Enclave ¶
type CmdStatus_Enclave struct {
Enclave *SecretMsg_EnclaveMsg `protobuf:"bytes,5,opt,name=enclave,proto3,oneof"`
}
type CmdStatus_Err ¶
type CmdStatus_Err struct {
Err string `protobuf:"bytes,8,opt,name=err,proto3,oneof"`
}
type CmdStatus_Handle ¶
type CmdStatus_Handle struct {
Handle *SecretMsg_HandleMsg `protobuf:"bytes,6,opt,name=handle,proto3,oneof"`
}
type CmdStatus_OKResult ¶
type CmdStatus_OKResult struct { JWT string `protobuf:"bytes,1,opt,name=JWT,proto3" json:"JWT,omitempty"` // pregenerated JWT token, mostly usefull for development. // contains filtered or unexported fields }
func (*CmdStatus_OKResult) Descriptor
deprecated
func (*CmdStatus_OKResult) Descriptor() ([]byte, []int)
Deprecated: Use CmdStatus_OKResult.ProtoReflect.Descriptor instead.
func (*CmdStatus_OKResult) GetJWT ¶
func (x *CmdStatus_OKResult) GetJWT() string
func (*CmdStatus_OKResult) ProtoMessage ¶
func (*CmdStatus_OKResult) ProtoMessage()
func (*CmdStatus_OKResult) ProtoReflect ¶
func (x *CmdStatus_OKResult) ProtoReflect() protoreflect.Message
func (*CmdStatus_OKResult) Reset ¶
func (x *CmdStatus_OKResult) Reset()
func (*CmdStatus_OKResult) String ¶
func (x *CmdStatus_OKResult) String() string
type CmdStatus_Ok ¶
type CmdStatus_Ok struct {
Ok *CmdStatus_OKResult `protobuf:"bytes,7,opt,name=ok,proto3,oneof"`
}
type CmdStatus_Type ¶
type CmdStatus_Type int32
const ( CmdStatus_STATUS CmdStatus_Type = 0 CmdStatus_READY_OK CmdStatus_Type = 1 CmdStatus_READY_ERR CmdStatus_Type = 2 )
func (CmdStatus_Type) Descriptor ¶
func (CmdStatus_Type) Descriptor() protoreflect.EnumDescriptor
func (CmdStatus_Type) Enum ¶
func (x CmdStatus_Type) Enum() *CmdStatus_Type
func (CmdStatus_Type) EnumDescriptor
deprecated
func (CmdStatus_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use CmdStatus_Type.Descriptor instead.
func (CmdStatus_Type) Number ¶
func (x CmdStatus_Type) Number() protoreflect.EnumNumber
func (CmdStatus_Type) String ¶
func (x CmdStatus_Type) String() string
func (CmdStatus_Type) Type ¶
func (CmdStatus_Type) Type() protoreflect.EnumType
type Cmd_Type ¶
type Cmd_Type int32
func (Cmd_Type) Descriptor ¶
func (Cmd_Type) Descriptor() protoreflect.EnumDescriptor
func (Cmd_Type) EnumDescriptor
deprecated
func (Cmd_Type) Number ¶
func (x Cmd_Type) Number() protoreflect.EnumNumber
func (Cmd_Type) Type ¶
func (Cmd_Type) Type() protoreflect.EnumType
type SecretMsg ¶
type SecretMsg struct { CmdID int64 `protobuf:"varint,1,opt,name=cmdID,proto3" json:"cmdID,omitempty"` // UUID to uniquely identify the hook Type SecretMsg_Type `protobuf:"varint,2,opt,name=type,proto3,enum=authn.v1.SecretMsg_Type" json:"type,omitempty"` // Types that are assignable to Info: // // *SecretMsg_Err // *SecretMsg_Enclave // *SecretMsg_Handle Info isSecretMsg_Info `protobuf_oneof:"Info"` // contains filtered or unexported fields }
SecretMsg tells how proceed after CmdStatus has been received.
func (*SecretMsg) Descriptor
deprecated
func (*SecretMsg) GetEnclave ¶
func (x *SecretMsg) GetEnclave() *SecretMsg_EnclaveMsg
func (*SecretMsg) GetErr ¶
func (x *SecretMsg) GetErr() *SecretMsg_ErrorMsg
func (*SecretMsg) GetHandle ¶
func (x *SecretMsg) GetHandle() *SecretMsg_HandleMsg
func (*SecretMsg) GetType ¶
func (x *SecretMsg) GetType() SecretMsg_Type
func (*SecretMsg) ProtoMessage ¶
func (*SecretMsg) ProtoMessage()
func (*SecretMsg) ProtoReflect ¶
func (x *SecretMsg) ProtoReflect() protoreflect.Message
type SecretMsg_Enclave ¶
type SecretMsg_Enclave struct {
Enclave *SecretMsg_EnclaveMsg `protobuf:"bytes,4,opt,name=enclave,proto3,oneof"`
}
type SecretMsg_EnclaveMsg ¶ added in v0.2.7
type SecretMsg_EnclaveMsg struct { CredID []byte `protobuf:"bytes,1,opt,name=credID,proto3" json:"credID,omitempty"` // contains filtered or unexported fields }
func (*SecretMsg_EnclaveMsg) Descriptor
deprecated
added in
v0.2.7
func (*SecretMsg_EnclaveMsg) Descriptor() ([]byte, []int)
Deprecated: Use SecretMsg_EnclaveMsg.ProtoReflect.Descriptor instead.
func (*SecretMsg_EnclaveMsg) GetCredID ¶ added in v0.2.7
func (x *SecretMsg_EnclaveMsg) GetCredID() []byte
func (*SecretMsg_EnclaveMsg) ProtoMessage ¶ added in v0.2.7
func (*SecretMsg_EnclaveMsg) ProtoMessage()
func (*SecretMsg_EnclaveMsg) ProtoReflect ¶ added in v0.2.7
func (x *SecretMsg_EnclaveMsg) ProtoReflect() protoreflect.Message
func (*SecretMsg_EnclaveMsg) Reset ¶ added in v0.2.7
func (x *SecretMsg_EnclaveMsg) Reset()
func (*SecretMsg_EnclaveMsg) String ¶ added in v0.2.7
func (x *SecretMsg_EnclaveMsg) String() string
type SecretMsg_Err ¶
type SecretMsg_Err struct {
Err *SecretMsg_ErrorMsg `protobuf:"bytes,3,opt,name=err,proto3,oneof"`
}
type SecretMsg_ErrorMsg ¶ added in v0.2.7
type SecretMsg_ErrorMsg struct { Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*SecretMsg_ErrorMsg) Descriptor
deprecated
added in
v0.2.7
func (*SecretMsg_ErrorMsg) Descriptor() ([]byte, []int)
Deprecated: Use SecretMsg_ErrorMsg.ProtoReflect.Descriptor instead.
func (*SecretMsg_ErrorMsg) GetInfo ¶ added in v0.2.7
func (x *SecretMsg_ErrorMsg) GetInfo() string
func (*SecretMsg_ErrorMsg) ProtoMessage ¶ added in v0.2.7
func (*SecretMsg_ErrorMsg) ProtoMessage()
func (*SecretMsg_ErrorMsg) ProtoReflect ¶ added in v0.2.7
func (x *SecretMsg_ErrorMsg) ProtoReflect() protoreflect.Message
func (*SecretMsg_ErrorMsg) Reset ¶ added in v0.2.7
func (x *SecretMsg_ErrorMsg) Reset()
func (*SecretMsg_ErrorMsg) String ¶ added in v0.2.7
func (x *SecretMsg_ErrorMsg) String() string
type SecretMsg_Handle ¶
type SecretMsg_Handle struct {
Handle *SecretMsg_HandleMsg `protobuf:"bytes,5,opt,name=handle,proto3,oneof"`
}
type SecretMsg_HandleMsg ¶ added in v0.2.7
type SecretMsg_HandleMsg struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Sign []byte `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
func (*SecretMsg_HandleMsg) Descriptor
deprecated
added in
v0.2.7
func (*SecretMsg_HandleMsg) Descriptor() ([]byte, []int)
Deprecated: Use SecretMsg_HandleMsg.ProtoReflect.Descriptor instead.
func (*SecretMsg_HandleMsg) GetData ¶ added in v0.2.7
func (x *SecretMsg_HandleMsg) GetData() []byte
func (*SecretMsg_HandleMsg) GetID ¶ added in v0.2.7
func (x *SecretMsg_HandleMsg) GetID() int64
func (*SecretMsg_HandleMsg) GetSign ¶ added in v0.2.7
func (x *SecretMsg_HandleMsg) GetSign() []byte
func (*SecretMsg_HandleMsg) ProtoMessage ¶ added in v0.2.7
func (*SecretMsg_HandleMsg) ProtoMessage()
func (*SecretMsg_HandleMsg) ProtoReflect ¶ added in v0.2.7
func (x *SecretMsg_HandleMsg) ProtoReflect() protoreflect.Message
func (*SecretMsg_HandleMsg) Reset ¶ added in v0.2.7
func (x *SecretMsg_HandleMsg) Reset()
func (*SecretMsg_HandleMsg) String ¶ added in v0.2.7
func (x *SecretMsg_HandleMsg) String() string
type SecretMsg_Type ¶
type SecretMsg_Type int32
const ( SecretMsg_ERROR SecretMsg_Type = 0 // Error in processing CmdStatus // Enclave lvl status. TODO: should we have IDs for enclaves? SecretMsg_NEW_HANDLE SecretMsg_Type = 1 // () -> key handle ID (int64) SecretMsg_IS_KEY_HANDLE SecretMsg_Type = 2 // (credID bytes) -> bool // Handle lvl status SecretMsg_ID SecretMsg_Type = 3 // handle_id -> bytes SecretMsg_CBOR_PUB_KEY SecretMsg_Type = 4 // handle_id -> bytes SecretMsg_SIGN SecretMsg_Type = 5 // handle_id (bytes) -> bytes SecretMsg_VERIFY SecretMsg_Type = 6 // handle_id (bytes, bytes) -> bool )
func (SecretMsg_Type) Descriptor ¶
func (SecretMsg_Type) Descriptor() protoreflect.EnumDescriptor
func (SecretMsg_Type) Enum ¶
func (x SecretMsg_Type) Enum() *SecretMsg_Type
func (SecretMsg_Type) EnumDescriptor
deprecated
func (SecretMsg_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecretMsg_Type.Descriptor instead.
func (SecretMsg_Type) Number ¶
func (x SecretMsg_Type) Number() protoreflect.EnumNumber
func (SecretMsg_Type) String ¶
func (x SecretMsg_Type) String() string
func (SecretMsg_Type) Type ¶
func (SecretMsg_Type) Type() protoreflect.EnumType
type SecretResult ¶
type SecretResult struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // result if Loging was successful. Result string `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // Instance of the OK result. // contains filtered or unexported fields }
SecretResult is message to return EnterSecret results.
func (*SecretResult) Descriptor
deprecated
func (*SecretResult) Descriptor() ([]byte, []int)
Deprecated: Use SecretResult.ProtoReflect.Descriptor instead.
func (*SecretResult) GetOk ¶
func (x *SecretResult) GetOk() bool
func (*SecretResult) GetResult ¶
func (x *SecretResult) GetResult() string
func (*SecretResult) ProtoMessage ¶
func (*SecretResult) ProtoMessage()
func (*SecretResult) ProtoReflect ¶
func (x *SecretResult) ProtoReflect() protoreflect.Message
func (*SecretResult) Reset ¶
func (x *SecretResult) Reset()
func (*SecretResult) String ¶
func (x *SecretResult) String() string
type UnimplementedAuthnServiceServer ¶
type UnimplementedAuthnServiceServer struct { }
UnimplementedAuthnServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthnServiceServer) Enter ¶
func (UnimplementedAuthnServiceServer) Enter(*Cmd, AuthnService_EnterServer) error
func (UnimplementedAuthnServiceServer) EnterSecret ¶
func (UnimplementedAuthnServiceServer) EnterSecret(context.Context, *SecretMsg) (*SecretResult, error)
type UnsafeAuthnServiceServer ¶
type UnsafeAuthnServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthnServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthnServiceServer will result in compilation errors.