Documentation ¶
Overview ¶
Package hwsec provides gRPC service definitions for meta tests.
Index ¶
- Variables
- func RegisterAttestationDBusServiceServer(s *grpc.Server, srv AttestationDBusServiceServer)
- func RegisterOwnershipServiceServer(s *grpc.Server, srv OwnershipServiceServer)
- func RegisterWebauthnServiceServer(s *grpc.Server, srv WebauthnServiceServer)
- type AttestationDBusServiceClient
- type AttestationDBusServiceServer
- type AuthenticatorType
- func (AuthenticatorType) Descriptor() protoreflect.EnumDescriptor
- func (x AuthenticatorType) Enum() *AuthenticatorType
- func (AuthenticatorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AuthenticatorType) Number() protoreflect.EnumNumber
- func (x AuthenticatorType) String() string
- func (AuthenticatorType) Type() protoreflect.EnumType
- type EnterPasswordRequest
- func (*EnterPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnterPasswordRequest) GetPassword() string
- func (*EnterPasswordRequest) ProtoMessage()
- func (x *EnterPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *EnterPasswordRequest) Reset()
- func (x *EnterPasswordRequest) String() string
- type NewRequest
- type OwnershipServiceClient
- type OwnershipServiceServer
- type StartWebauthnRequest
- func (*StartWebauthnRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartWebauthnRequest) GetAuthenticatorType() AuthenticatorType
- func (x *StartWebauthnRequest) GetHasDialog() bool
- func (x *StartWebauthnRequest) GetUserVerification() UserVerification
- func (*StartWebauthnRequest) ProtoMessage()
- func (x *StartWebauthnRequest) ProtoReflect() protoreflect.Message
- func (x *StartWebauthnRequest) Reset()
- func (x *StartWebauthnRequest) String() string
- type UnimplementedAttestationDBusServiceServer
- func (*UnimplementedAttestationDBusServiceServer) CreateCertificateRequest(context.Context, *attestation_proto.CreateCertificateRequestRequest) (*attestation_proto.CreateCertificateRequestReply, error)
- func (*UnimplementedAttestationDBusServiceServer) CreateEnrollRequest(context.Context, *attestation_proto.CreateEnrollRequestRequest) (*attestation_proto.CreateEnrollRequestReply, error)
- func (*UnimplementedAttestationDBusServiceServer) DeleteKeys(context.Context, *attestation_proto.DeleteKeysRequest) (*attestation_proto.DeleteKeysReply, error)
- func (*UnimplementedAttestationDBusServiceServer) FinishCertificateRequest(context.Context, *attestation_proto.FinishCertificateRequestRequest) (*attestation_proto.FinishCertificateRequestReply, error)
- func (*UnimplementedAttestationDBusServiceServer) FinishEnroll(context.Context, *attestation_proto.FinishEnrollRequest) (*attestation_proto.FinishEnrollReply, error)
- func (*UnimplementedAttestationDBusServiceServer) GetEnrollmentID(context.Context, *attestation_proto.GetEnrollmentIdRequest) (*attestation_proto.GetEnrollmentIdReply, error)
- func (*UnimplementedAttestationDBusServiceServer) GetKeyInfo(context.Context, *attestation_proto.GetKeyInfoRequest) (*attestation_proto.GetKeyInfoReply, error)
- func (*UnimplementedAttestationDBusServiceServer) GetStatus(context.Context, *attestation_proto.GetStatusRequest) (*attestation_proto.GetStatusReply, error)
- func (*UnimplementedAttestationDBusServiceServer) RegisterKeyWithChapsToken(context.Context, *attestation_proto.RegisterKeyWithChapsTokenRequest) (*attestation_proto.RegisterKeyWithChapsTokenReply, error)
- func (*UnimplementedAttestationDBusServiceServer) SetKeyPayload(context.Context, *attestation_proto.SetKeyPayloadRequest) (*attestation_proto.SetKeyPayloadReply, error)
- func (*UnimplementedAttestationDBusServiceServer) SignEnterpriseChallenge(context.Context, *attestation_proto.SignEnterpriseChallengeRequest) (*attestation_proto.SignEnterpriseChallengeReply, error)
- func (*UnimplementedAttestationDBusServiceServer) SignSimpleChallenge(context.Context, *attestation_proto.SignSimpleChallengeRequest) (*attestation_proto.SignSimpleChallengeReply, error)
- type UnimplementedOwnershipServiceServer
- type UnimplementedWebauthnServiceServer
- func (*UnimplementedWebauthnServiceServer) CheckGetAssertion(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedWebauthnServiceServer) CheckMakeCredential(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedWebauthnServiceServer) Close(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedWebauthnServiceServer) EndWebauthn(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedWebauthnServiceServer) EnterPassword(context.Context, *EnterPasswordRequest) (*empty.Empty, error)
- func (*UnimplementedWebauthnServiceServer) New(context.Context, *NewRequest) (*empty.Empty, error)
- func (*UnimplementedWebauthnServiceServer) StartGetAssertion(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedWebauthnServiceServer) StartMakeCredential(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedWebauthnServiceServer) StartWebauthn(context.Context, *StartWebauthnRequest) (*empty.Empty, error)
- type UserVerification
- func (UserVerification) Descriptor() protoreflect.EnumDescriptor
- func (x UserVerification) Enum() *UserVerification
- func (UserVerification) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserVerification) Number() protoreflect.EnumNumber
- func (x UserVerification) String() string
- func (UserVerification) Type() protoreflect.EnumType
- type WebauthnServiceClient
- type WebauthnServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( UserVerification_name = map[int32]string{ 0: "DISCOURAGED", 1: "PREFERRED", 2: "REQUIRED", } UserVerification_value = map[string]int32{ "DISCOURAGED": 0, "PREFERRED": 1, "REQUIRED": 2, } )
Enum value maps for UserVerification.
var ( AuthenticatorType_name = map[int32]string{ 0: "UNSPECIFIED", 1: "PLATFORM", 2: "CROSS_PLATFORM", } AuthenticatorType_value = map[string]int32{ "UNSPECIFIED": 0, "PLATFORM": 1, "CROSS_PLATFORM": 2, } )
Enum value maps for AuthenticatorType.
var File_attestation_dbus_service_proto protoreflect.FileDescriptor
var File_ownership_proto protoreflect.FileDescriptor
var File_webauthn_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAttestationDBusServiceServer ¶
func RegisterAttestationDBusServiceServer(s *grpc.Server, srv AttestationDBusServiceServer)
func RegisterOwnershipServiceServer ¶
func RegisterOwnershipServiceServer(s *grpc.Server, srv OwnershipServiceServer)
func RegisterWebauthnServiceServer ¶
func RegisterWebauthnServiceServer(s *grpc.Server, srv WebauthnServiceServer)
Types ¶
type AttestationDBusServiceClient ¶
type AttestationDBusServiceClient interface { // GetStatus returns the attestation status. GetStatus(ctx context.Context, in *attestation_proto.GetStatusRequest, opts ...grpc.CallOption) (*attestation_proto.GetStatusReply, error) // CreateEnrollRequest creates enroll request. CreateEnrollRequest(ctx context.Context, in *attestation_proto.CreateEnrollRequestRequest, opts ...grpc.CallOption) (*attestation_proto.CreateEnrollRequestReply, error) // FinishEnroll finish enroll request. FinishEnroll(ctx context.Context, in *attestation_proto.FinishEnrollRequest, opts ...grpc.CallOption) (*attestation_proto.FinishEnrollReply, error) // CreateCertificateRequest create certificate request. CreateCertificateRequest(ctx context.Context, in *attestation_proto.CreateCertificateRequestRequest, opts ...grpc.CallOption) (*attestation_proto.CreateCertificateRequestReply, error) // FinishCertificateRequest finish certificate request. FinishCertificateRequest(ctx context.Context, in *attestation_proto.FinishCertificateRequestRequest, opts ...grpc.CallOption) (*attestation_proto.FinishCertificateRequestReply, error) // SignEnterpriseChallenge sign enterprise challenge. SignEnterpriseChallenge(ctx context.Context, in *attestation_proto.SignEnterpriseChallengeRequest, opts ...grpc.CallOption) (*attestation_proto.SignEnterpriseChallengeReply, error) // SignSimpleChallenge sign simple challenge. SignSimpleChallenge(ctx context.Context, in *attestation_proto.SignSimpleChallengeRequest, opts ...grpc.CallOption) (*attestation_proto.SignSimpleChallengeReply, error) // GetKeyInfo returns the key info. GetKeyInfo(ctx context.Context, in *attestation_proto.GetKeyInfoRequest, opts ...grpc.CallOption) (*attestation_proto.GetKeyInfoReply, error) // GetEnrollmentID returns the enrollment id. GetEnrollmentID(ctx context.Context, in *attestation_proto.GetEnrollmentIdRequest, opts ...grpc.CallOption) (*attestation_proto.GetEnrollmentIdReply, error) // SetKeyPayload sets a payload for a key. SetKeyPayload(ctx context.Context, in *attestation_proto.SetKeyPayloadRequest, opts ...grpc.CallOption) (*attestation_proto.SetKeyPayloadReply, error) // RegisterKeyWithChapsToken registers the key into chaps. RegisterKeyWithChapsToken(ctx context.Context, in *attestation_proto.RegisterKeyWithChapsTokenRequest, opts ...grpc.CallOption) (*attestation_proto.RegisterKeyWithChapsTokenReply, error) // DeleteKeys delete user's keys. DeleteKeys(ctx context.Context, in *attestation_proto.DeleteKeysRequest, opts ...grpc.CallOption) (*attestation_proto.DeleteKeysReply, error) }
AttestationDBusServiceClient is the client API for AttestationDBusService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAttestationDBusServiceClient ¶
func NewAttestationDBusServiceClient(cc grpc.ClientConnInterface) AttestationDBusServiceClient
type AttestationDBusServiceServer ¶
type AttestationDBusServiceServer interface { // GetStatus returns the attestation status. GetStatus(context.Context, *attestation_proto.GetStatusRequest) (*attestation_proto.GetStatusReply, error) // CreateEnrollRequest creates enroll request. CreateEnrollRequest(context.Context, *attestation_proto.CreateEnrollRequestRequest) (*attestation_proto.CreateEnrollRequestReply, error) // FinishEnroll finish enroll request. FinishEnroll(context.Context, *attestation_proto.FinishEnrollRequest) (*attestation_proto.FinishEnrollReply, error) // CreateCertificateRequest create certificate request. CreateCertificateRequest(context.Context, *attestation_proto.CreateCertificateRequestRequest) (*attestation_proto.CreateCertificateRequestReply, error) // FinishCertificateRequest finish certificate request. FinishCertificateRequest(context.Context, *attestation_proto.FinishCertificateRequestRequest) (*attestation_proto.FinishCertificateRequestReply, error) // SignEnterpriseChallenge sign enterprise challenge. SignEnterpriseChallenge(context.Context, *attestation_proto.SignEnterpriseChallengeRequest) (*attestation_proto.SignEnterpriseChallengeReply, error) // SignSimpleChallenge sign simple challenge. SignSimpleChallenge(context.Context, *attestation_proto.SignSimpleChallengeRequest) (*attestation_proto.SignSimpleChallengeReply, error) // GetKeyInfo returns the key info. GetKeyInfo(context.Context, *attestation_proto.GetKeyInfoRequest) (*attestation_proto.GetKeyInfoReply, error) // GetEnrollmentID returns the enrollment id. GetEnrollmentID(context.Context, *attestation_proto.GetEnrollmentIdRequest) (*attestation_proto.GetEnrollmentIdReply, error) // SetKeyPayload sets a payload for a key. SetKeyPayload(context.Context, *attestation_proto.SetKeyPayloadRequest) (*attestation_proto.SetKeyPayloadReply, error) // RegisterKeyWithChapsToken registers the key into chaps. RegisterKeyWithChapsToken(context.Context, *attestation_proto.RegisterKeyWithChapsTokenRequest) (*attestation_proto.RegisterKeyWithChapsTokenReply, error) // DeleteKeys delete user's keys. DeleteKeys(context.Context, *attestation_proto.DeleteKeysRequest) (*attestation_proto.DeleteKeysReply, error) }
AttestationDBusServiceServer is the server API for AttestationDBusService service.
type AuthenticatorType ¶
type AuthenticatorType int32
const ( AuthenticatorType_UNSPECIFIED AuthenticatorType = 0 AuthenticatorType_PLATFORM AuthenticatorType = 1 AuthenticatorType_CROSS_PLATFORM AuthenticatorType = 2 )
func (AuthenticatorType) Descriptor ¶
func (AuthenticatorType) Descriptor() protoreflect.EnumDescriptor
func (AuthenticatorType) Enum ¶
func (x AuthenticatorType) Enum() *AuthenticatorType
func (AuthenticatorType) EnumDescriptor
deprecated
func (AuthenticatorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthenticatorType.Descriptor instead.
func (AuthenticatorType) Number ¶
func (x AuthenticatorType) Number() protoreflect.EnumNumber
func (AuthenticatorType) String ¶
func (x AuthenticatorType) String() string
func (AuthenticatorType) Type ¶
func (AuthenticatorType) Type() protoreflect.EnumType
type EnterPasswordRequest ¶
type EnterPasswordRequest struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*EnterPasswordRequest) Descriptor
deprecated
func (*EnterPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnterPasswordRequest.ProtoReflect.Descriptor instead.
func (*EnterPasswordRequest) GetPassword ¶
func (x *EnterPasswordRequest) GetPassword() string
func (*EnterPasswordRequest) ProtoMessage ¶
func (*EnterPasswordRequest) ProtoMessage()
func (*EnterPasswordRequest) ProtoReflect ¶
func (x *EnterPasswordRequest) ProtoReflect() protoreflect.Message
func (*EnterPasswordRequest) Reset ¶
func (x *EnterPasswordRequest) Reset()
func (*EnterPasswordRequest) String ¶
func (x *EnterPasswordRequest) String() string
type NewRequest ¶
type NewRequest struct { 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 (*NewRequest) Descriptor
deprecated
func (*NewRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewRequest.ProtoReflect.Descriptor instead.
func (*NewRequest) GetPassword ¶
func (x *NewRequest) GetPassword() string
func (*NewRequest) GetUsername ¶
func (x *NewRequest) GetUsername() string
func (*NewRequest) ProtoMessage ¶
func (*NewRequest) ProtoMessage()
func (*NewRequest) ProtoReflect ¶
func (x *NewRequest) ProtoReflect() protoreflect.Message
func (*NewRequest) Reset ¶
func (x *NewRequest) Reset()
func (*NewRequest) String ¶
func (x *NewRequest) String() string
type OwnershipServiceClient ¶
type OwnershipServiceClient interface { EnsureTPMIsReset(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) EnsureTPMAndSystemStateAreReset(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) }
OwnershipServiceClient is the client API for OwnershipService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewOwnershipServiceClient ¶
func NewOwnershipServiceClient(cc grpc.ClientConnInterface) OwnershipServiceClient
type OwnershipServiceServer ¶
type OwnershipServiceServer interface { EnsureTPMIsReset(context.Context, *empty.Empty) (*empty.Empty, error) EnsureTPMAndSystemStateAreReset(context.Context, *empty.Empty) (*empty.Empty, error) }
OwnershipServiceServer is the server API for OwnershipService service.
type StartWebauthnRequest ¶
type StartWebauthnRequest struct { UserVerification UserVerification `` /* 148-byte string literal not displayed */ AuthenticatorType AuthenticatorType `` /* 152-byte string literal not displayed */ HasDialog bool `protobuf:"varint,3,opt,name=has_dialog,json=hasDialog,proto3" json:"has_dialog,omitempty"` // contains filtered or unexported fields }
func (*StartWebauthnRequest) Descriptor
deprecated
func (*StartWebauthnRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartWebauthnRequest.ProtoReflect.Descriptor instead.
func (*StartWebauthnRequest) GetAuthenticatorType ¶
func (x *StartWebauthnRequest) GetAuthenticatorType() AuthenticatorType
func (*StartWebauthnRequest) GetHasDialog ¶
func (x *StartWebauthnRequest) GetHasDialog() bool
func (*StartWebauthnRequest) GetUserVerification ¶
func (x *StartWebauthnRequest) GetUserVerification() UserVerification
func (*StartWebauthnRequest) ProtoMessage ¶
func (*StartWebauthnRequest) ProtoMessage()
func (*StartWebauthnRequest) ProtoReflect ¶
func (x *StartWebauthnRequest) ProtoReflect() protoreflect.Message
func (*StartWebauthnRequest) Reset ¶
func (x *StartWebauthnRequest) Reset()
func (*StartWebauthnRequest) String ¶
func (x *StartWebauthnRequest) String() string
type UnimplementedAttestationDBusServiceServer ¶
type UnimplementedAttestationDBusServiceServer struct { }
UnimplementedAttestationDBusServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAttestationDBusServiceServer) CreateCertificateRequest ¶
func (*UnimplementedAttestationDBusServiceServer) CreateCertificateRequest(context.Context, *attestation_proto.CreateCertificateRequestRequest) (*attestation_proto.CreateCertificateRequestReply, error)
func (*UnimplementedAttestationDBusServiceServer) CreateEnrollRequest ¶
func (*UnimplementedAttestationDBusServiceServer) CreateEnrollRequest(context.Context, *attestation_proto.CreateEnrollRequestRequest) (*attestation_proto.CreateEnrollRequestReply, error)
func (*UnimplementedAttestationDBusServiceServer) DeleteKeys ¶
func (*UnimplementedAttestationDBusServiceServer) DeleteKeys(context.Context, *attestation_proto.DeleteKeysRequest) (*attestation_proto.DeleteKeysReply, error)
func (*UnimplementedAttestationDBusServiceServer) FinishCertificateRequest ¶
func (*UnimplementedAttestationDBusServiceServer) FinishCertificateRequest(context.Context, *attestation_proto.FinishCertificateRequestRequest) (*attestation_proto.FinishCertificateRequestReply, error)
func (*UnimplementedAttestationDBusServiceServer) FinishEnroll ¶
func (*UnimplementedAttestationDBusServiceServer) FinishEnroll(context.Context, *attestation_proto.FinishEnrollRequest) (*attestation_proto.FinishEnrollReply, error)
func (*UnimplementedAttestationDBusServiceServer) GetEnrollmentID ¶
func (*UnimplementedAttestationDBusServiceServer) GetEnrollmentID(context.Context, *attestation_proto.GetEnrollmentIdRequest) (*attestation_proto.GetEnrollmentIdReply, error)
func (*UnimplementedAttestationDBusServiceServer) GetKeyInfo ¶
func (*UnimplementedAttestationDBusServiceServer) GetKeyInfo(context.Context, *attestation_proto.GetKeyInfoRequest) (*attestation_proto.GetKeyInfoReply, error)
func (*UnimplementedAttestationDBusServiceServer) GetStatus ¶
func (*UnimplementedAttestationDBusServiceServer) GetStatus(context.Context, *attestation_proto.GetStatusRequest) (*attestation_proto.GetStatusReply, error)
func (*UnimplementedAttestationDBusServiceServer) RegisterKeyWithChapsToken ¶
func (*UnimplementedAttestationDBusServiceServer) RegisterKeyWithChapsToken(context.Context, *attestation_proto.RegisterKeyWithChapsTokenRequest) (*attestation_proto.RegisterKeyWithChapsTokenReply, error)
func (*UnimplementedAttestationDBusServiceServer) SetKeyPayload ¶
func (*UnimplementedAttestationDBusServiceServer) SetKeyPayload(context.Context, *attestation_proto.SetKeyPayloadRequest) (*attestation_proto.SetKeyPayloadReply, error)
func (*UnimplementedAttestationDBusServiceServer) SignEnterpriseChallenge ¶
func (*UnimplementedAttestationDBusServiceServer) SignEnterpriseChallenge(context.Context, *attestation_proto.SignEnterpriseChallengeRequest) (*attestation_proto.SignEnterpriseChallengeReply, error)
func (*UnimplementedAttestationDBusServiceServer) SignSimpleChallenge ¶
func (*UnimplementedAttestationDBusServiceServer) SignSimpleChallenge(context.Context, *attestation_proto.SignSimpleChallengeRequest) (*attestation_proto.SignSimpleChallengeReply, error)
type UnimplementedOwnershipServiceServer ¶
type UnimplementedOwnershipServiceServer struct { }
UnimplementedOwnershipServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedOwnershipServiceServer) EnsureTPMAndSystemStateAreReset ¶
func (*UnimplementedOwnershipServiceServer) EnsureTPMIsReset ¶
type UnimplementedWebauthnServiceServer ¶
type UnimplementedWebauthnServiceServer struct { }
UnimplementedWebauthnServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedWebauthnServiceServer) CheckGetAssertion ¶
func (*UnimplementedWebauthnServiceServer) CheckMakeCredential ¶
func (*UnimplementedWebauthnServiceServer) EndWebauthn ¶
func (*UnimplementedWebauthnServiceServer) EnterPassword ¶
func (*UnimplementedWebauthnServiceServer) EnterPassword(context.Context, *EnterPasswordRequest) (*empty.Empty, error)
func (*UnimplementedWebauthnServiceServer) New ¶
func (*UnimplementedWebauthnServiceServer) New(context.Context, *NewRequest) (*empty.Empty, error)
func (*UnimplementedWebauthnServiceServer) StartGetAssertion ¶
func (*UnimplementedWebauthnServiceServer) StartMakeCredential ¶
func (*UnimplementedWebauthnServiceServer) StartWebauthn ¶
func (*UnimplementedWebauthnServiceServer) StartWebauthn(context.Context, *StartWebauthnRequest) (*empty.Empty, error)
type UserVerification ¶
type UserVerification int32
const ( UserVerification_DISCOURAGED UserVerification = 0 UserVerification_PREFERRED UserVerification = 1 UserVerification_REQUIRED UserVerification = 2 )
func (UserVerification) Descriptor ¶
func (UserVerification) Descriptor() protoreflect.EnumDescriptor
func (UserVerification) Enum ¶
func (x UserVerification) Enum() *UserVerification
func (UserVerification) EnumDescriptor
deprecated
func (UserVerification) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserVerification.Descriptor instead.
func (UserVerification) Number ¶
func (x UserVerification) Number() protoreflect.EnumNumber
func (UserVerification) String ¶
func (x UserVerification) String() string
func (UserVerification) Type ¶
func (UserVerification) Type() protoreflect.EnumType
type WebauthnServiceClient ¶
type WebauthnServiceClient interface { // New logs into a Chrome session as a fake user. Close must be called later // to clean up the associated resources. New(ctx context.Context, in *NewRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Close releases the resources obtained by New. Close(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) StartWebauthn(ctx context.Context, in *StartWebauthnRequest, opts ...grpc.CallOption) (*empty.Empty, error) EndWebauthn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) StartMakeCredential(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) CheckMakeCredential(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) StartGetAssertion(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) CheckGetAssertion(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) EnterPassword(ctx context.Context, in *EnterPasswordRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
WebauthnServiceClient is the client API for WebauthnService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWebauthnServiceClient ¶
func NewWebauthnServiceClient(cc grpc.ClientConnInterface) WebauthnServiceClient
type WebauthnServiceServer ¶
type WebauthnServiceServer interface { // New logs into a Chrome session as a fake user. Close must be called later // to clean up the associated resources. New(context.Context, *NewRequest) (*empty.Empty, error) // Close releases the resources obtained by New. Close(context.Context, *empty.Empty) (*empty.Empty, error) StartWebauthn(context.Context, *StartWebauthnRequest) (*empty.Empty, error) EndWebauthn(context.Context, *empty.Empty) (*empty.Empty, error) StartMakeCredential(context.Context, *empty.Empty) (*empty.Empty, error) CheckMakeCredential(context.Context, *empty.Empty) (*empty.Empty, error) StartGetAssertion(context.Context, *empty.Empty) (*empty.Empty, error) CheckGetAssertion(context.Context, *empty.Empty) (*empty.Empty, error) EnterPassword(context.Context, *EnterPasswordRequest) (*empty.Empty, error) }
WebauthnServiceServer is the server API for WebauthnService service.