Documentation ¶
Index ¶
- Variables
- type AuthenticatorAssertionResponse
- func (*AuthenticatorAssertionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticatorAssertionResponse) GetAuthenticatorData() []byte
- func (x *AuthenticatorAssertionResponse) GetSignature() []byte
- func (x *AuthenticatorAssertionResponse) GetUserHandle() []byte
- func (*AuthenticatorAssertionResponse) ProtoMessage()
- func (x *AuthenticatorAssertionResponse) ProtoReflect() protoreflect.Message
- func (x *AuthenticatorAssertionResponse) Reset()
- func (x *AuthenticatorAssertionResponse) String() string
- type AuthenticatorAttestationResponse
- func (*AuthenticatorAttestationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticatorAttestationResponse) GetAttestationObject() []byte
- func (*AuthenticatorAttestationResponse) ProtoMessage()
- func (x *AuthenticatorAttestationResponse) ProtoReflect() protoreflect.Message
- func (x *AuthenticatorAttestationResponse) Reset()
- func (x *AuthenticatorAttestationResponse) String() string
- type AuthenticatorResponse
- func (*AuthenticatorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticatorResponse) GetAssertionResponse() *AuthenticatorAssertionResponse
- func (x *AuthenticatorResponse) GetAttestationResponse() *AuthenticatorAttestationResponse
- func (x *AuthenticatorResponse) GetClientDataJson() []byte
- func (m *AuthenticatorResponse) GetResponse() isAuthenticatorResponse_Response
- func (*AuthenticatorResponse) ProtoMessage()
- func (x *AuthenticatorResponse) ProtoReflect() protoreflect.Message
- func (x *AuthenticatorResponse) Reset()
- func (x *AuthenticatorResponse) String() string
- type AuthenticatorResponse_AssertionResponse
- type AuthenticatorResponse_AttestationResponse
- type AuthenticatorSelectionCriteria
- func (*AuthenticatorSelectionCriteria) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticatorSelectionCriteria) GetAuthenticatorAttachment() AuthenticatorSelectionCriteria_AuthenticatorAttachment
- func (x *AuthenticatorSelectionCriteria) GetRequireResidentKey() bool
- func (x *AuthenticatorSelectionCriteria) GetUserVerification() AuthenticatorSelectionCriteria_UserVerificationRequirement
- func (*AuthenticatorSelectionCriteria) ProtoMessage()
- func (x *AuthenticatorSelectionCriteria) ProtoReflect() protoreflect.Message
- func (x *AuthenticatorSelectionCriteria) Reset()
- func (x *AuthenticatorSelectionCriteria) String() string
- type AuthenticatorSelectionCriteria_AuthenticatorAttachment
- func (AuthenticatorSelectionCriteria_AuthenticatorAttachment) Descriptor() protoreflect.EnumDescriptor
- func (x AuthenticatorSelectionCriteria_AuthenticatorAttachment) Enum() *AuthenticatorSelectionCriteria_AuthenticatorAttachment
- func (AuthenticatorSelectionCriteria_AuthenticatorAttachment) EnumDescriptor() ([]byte, []int)deprecated
- func (x AuthenticatorSelectionCriteria_AuthenticatorAttachment) Number() protoreflect.EnumNumber
- func (x AuthenticatorSelectionCriteria_AuthenticatorAttachment) String() string
- func (AuthenticatorSelectionCriteria_AuthenticatorAttachment) Type() protoreflect.EnumType
- type AuthenticatorSelectionCriteria_UserVerificationRequirement
- func (AuthenticatorSelectionCriteria_UserVerificationRequirement) Descriptor() protoreflect.EnumDescriptor
- func (x AuthenticatorSelectionCriteria_UserVerificationRequirement) Enum() *AuthenticatorSelectionCriteria_UserVerificationRequirement
- func (AuthenticatorSelectionCriteria_UserVerificationRequirement) EnumDescriptor() ([]byte, []int)deprecated
- func (x AuthenticatorSelectionCriteria_UserVerificationRequirement) Number() protoreflect.EnumNumber
- func (x AuthenticatorSelectionCriteria_UserVerificationRequirement) String() string
- func (AuthenticatorSelectionCriteria_UserVerificationRequirement) Type() protoreflect.EnumType
- type PublicKeyCredential
- func (*PublicKeyCredential) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKeyCredential) GetId() string
- func (x *PublicKeyCredential) GetResponse() *AuthenticatorResponse
- func (x *PublicKeyCredential) GetType() string
- func (*PublicKeyCredential) ProtoMessage()
- func (x *PublicKeyCredential) ProtoReflect() protoreflect.Message
- func (x *PublicKeyCredential) Reset()
- func (x *PublicKeyCredential) String() string
- type PublicKeyCredentialCreationOptions
- func (*PublicKeyCredentialCreationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKeyCredentialCreationOptions) GetAttestation() PublicKeyCredentialCreationOptions_AttestationConveyancePreference
- func (x *PublicKeyCredentialCreationOptions) GetAuthenticatorSelection() *AuthenticatorSelectionCriteria
- func (x *PublicKeyCredentialCreationOptions) GetChallenge() []byte
- func (x *PublicKeyCredentialCreationOptions) GetExcludeCredentials() []*PublicKeyCredentialDescriptor
- func (x *PublicKeyCredentialCreationOptions) GetPubKeyCredParams() []*PublicKeyCredentialParameters
- func (x *PublicKeyCredentialCreationOptions) GetRp() *PublicKeyCredentialRpEntity
- func (x *PublicKeyCredentialCreationOptions) GetTimeout() *duration.Duration
- func (x *PublicKeyCredentialCreationOptions) GetUser() *PublicKeyCredentialUserEntity
- func (*PublicKeyCredentialCreationOptions) ProtoMessage()
- func (x *PublicKeyCredentialCreationOptions) ProtoReflect() protoreflect.Message
- func (x *PublicKeyCredentialCreationOptions) Reset()
- func (x *PublicKeyCredentialCreationOptions) String() string
- type PublicKeyCredentialCreationOptions_AttestationConveyancePreference
- func (PublicKeyCredentialCreationOptions_AttestationConveyancePreference) Descriptor() protoreflect.EnumDescriptor
- func (x PublicKeyCredentialCreationOptions_AttestationConveyancePreference) Enum() *PublicKeyCredentialCreationOptions_AttestationConveyancePreference
- func (PublicKeyCredentialCreationOptions_AttestationConveyancePreference) EnumDescriptor() ([]byte, []int)deprecated
- func (x PublicKeyCredentialCreationOptions_AttestationConveyancePreference) Number() protoreflect.EnumNumber
- func (x PublicKeyCredentialCreationOptions_AttestationConveyancePreference) String() string
- func (PublicKeyCredentialCreationOptions_AttestationConveyancePreference) Type() protoreflect.EnumType
- type PublicKeyCredentialDescriptor
- func (*PublicKeyCredentialDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKeyCredentialDescriptor) GetId() []byte
- func (x *PublicKeyCredentialDescriptor) GetTransports() []PublicKeyCredentialDescriptor_AuthenticatorTransport
- func (x *PublicKeyCredentialDescriptor) GetType() string
- func (*PublicKeyCredentialDescriptor) ProtoMessage()
- func (x *PublicKeyCredentialDescriptor) ProtoReflect() protoreflect.Message
- func (x *PublicKeyCredentialDescriptor) Reset()
- func (x *PublicKeyCredentialDescriptor) String() string
- type PublicKeyCredentialDescriptor_AuthenticatorTransport
- func (PublicKeyCredentialDescriptor_AuthenticatorTransport) Descriptor() protoreflect.EnumDescriptor
- func (x PublicKeyCredentialDescriptor_AuthenticatorTransport) Enum() *PublicKeyCredentialDescriptor_AuthenticatorTransport
- func (PublicKeyCredentialDescriptor_AuthenticatorTransport) EnumDescriptor() ([]byte, []int)deprecated
- func (x PublicKeyCredentialDescriptor_AuthenticatorTransport) Number() protoreflect.EnumNumber
- func (x PublicKeyCredentialDescriptor_AuthenticatorTransport) String() string
- func (PublicKeyCredentialDescriptor_AuthenticatorTransport) Type() protoreflect.EnumType
- type PublicKeyCredentialParameters
- func (*PublicKeyCredentialParameters) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKeyCredentialParameters) GetAlg() int32
- func (x *PublicKeyCredentialParameters) GetType() string
- func (*PublicKeyCredentialParameters) ProtoMessage()
- func (x *PublicKeyCredentialParameters) ProtoReflect() protoreflect.Message
- func (x *PublicKeyCredentialParameters) Reset()
- func (x *PublicKeyCredentialParameters) String() string
- type PublicKeyCredentialRequestOptions
- func (*PublicKeyCredentialRequestOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKeyCredentialRequestOptions) GetAllowedCredentials() []*PublicKeyCredentialDescriptor
- func (x *PublicKeyCredentialRequestOptions) GetChallenge() []byte
- func (x *PublicKeyCredentialRequestOptions) GetTimeout() *duration.Duration
- func (*PublicKeyCredentialRequestOptions) ProtoMessage()
- func (x *PublicKeyCredentialRequestOptions) ProtoReflect() protoreflect.Message
- func (x *PublicKeyCredentialRequestOptions) Reset()
- func (x *PublicKeyCredentialRequestOptions) String() string
- type PublicKeyCredentialRpEntity
- func (*PublicKeyCredentialRpEntity) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKeyCredentialRpEntity) GetIcon() string
- func (x *PublicKeyCredentialRpEntity) GetId() string
- func (x *PublicKeyCredentialRpEntity) GetName() string
- func (*PublicKeyCredentialRpEntity) ProtoMessage()
- func (x *PublicKeyCredentialRpEntity) ProtoReflect() protoreflect.Message
- func (x *PublicKeyCredentialRpEntity) Reset()
- func (x *PublicKeyCredentialRpEntity) String() string
- type PublicKeyCredentialUserEntity
- func (*PublicKeyCredentialUserEntity) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKeyCredentialUserEntity) GetDisplayName() string
- func (x *PublicKeyCredentialUserEntity) GetIcon() string
- func (x *PublicKeyCredentialUserEntity) GetId() []byte
- func (x *PublicKeyCredentialUserEntity) GetName() string
- func (*PublicKeyCredentialUserEntity) ProtoMessage()
- func (x *PublicKeyCredentialUserEntity) ProtoReflect() protoreflect.Message
- func (x *PublicKeyCredentialUserEntity) Reset()
- func (x *PublicKeyCredentialUserEntity) String() string
Constants ¶
This section is empty.
Variables ¶
var ( PublicKeyCredentialCreationOptions_AttestationConveyancePreference_name = map[int32]string{ 0: "NONE", 1: "DIRECT", 2: "INDIRECT", } PublicKeyCredentialCreationOptions_AttestationConveyancePreference_value = map[string]int32{ "NONE": 0, "DIRECT": 1, "INDIRECT": 2, } )
Enum value maps for PublicKeyCredentialCreationOptions_AttestationConveyancePreference.
var ( AuthenticatorSelectionCriteria_AuthenticatorAttachment_name = map[int32]string{ 0: "MISSING_AUTHENTICATOR_ATTACHMENT", 1: "CROSS_PLATFORM", 2: "PLATFORM", } AuthenticatorSelectionCriteria_AuthenticatorAttachment_value = map[string]int32{ "MISSING_AUTHENTICATOR_ATTACHMENT": 0, "CROSS_PLATFORM": 1, "PLATFORM": 2, } )
Enum value maps for AuthenticatorSelectionCriteria_AuthenticatorAttachment.
var ( AuthenticatorSelectionCriteria_UserVerificationRequirement_name = map[int32]string{ 0: "MISSING_USER_VERIFICATION_REQUIREMENT", 1: "DISCOURAGED", 2: "PREFERRED", 3: "REQUIRED", } AuthenticatorSelectionCriteria_UserVerificationRequirement_value = map[string]int32{ "MISSING_USER_VERIFICATION_REQUIREMENT": 0, "DISCOURAGED": 1, "PREFERRED": 2, "REQUIRED": 3, } )
Enum value maps for AuthenticatorSelectionCriteria_UserVerificationRequirement.
var ( PublicKeyCredentialDescriptor_AuthenticatorTransport_name = map[int32]string{ 0: "MISSING_AUTHENTICATOR_TRANSPORT", 1: "BLE", 2: "INTERNAL", 3: "NFC", 4: "USB", } PublicKeyCredentialDescriptor_AuthenticatorTransport_value = map[string]int32{ "MISSING_AUTHENTICATOR_TRANSPORT": 0, "BLE": 1, "INTERNAL": 2, "NFC": 3, "USB": 4, } )
Enum value maps for PublicKeyCredentialDescriptor_AuthenticatorTransport.
var File_webauthn_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuthenticatorAssertionResponse ¶
type AuthenticatorAssertionResponse struct { AuthenticatorData []byte `protobuf:"bytes,1,opt,name=authenticator_data,json=authenticatorData,proto3" json:"authenticator_data,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` UserHandle []byte `protobuf:"bytes,3,opt,name=user_handle,json=userHandle,proto3" json:"user_handle,omitempty"` // contains filtered or unexported fields }
func (*AuthenticatorAssertionResponse) Descriptor
deprecated
func (*AuthenticatorAssertionResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticatorAssertionResponse.ProtoReflect.Descriptor instead.
func (*AuthenticatorAssertionResponse) GetAuthenticatorData ¶
func (x *AuthenticatorAssertionResponse) GetAuthenticatorData() []byte
func (*AuthenticatorAssertionResponse) GetSignature ¶
func (x *AuthenticatorAssertionResponse) GetSignature() []byte
func (*AuthenticatorAssertionResponse) GetUserHandle ¶
func (x *AuthenticatorAssertionResponse) GetUserHandle() []byte
func (*AuthenticatorAssertionResponse) ProtoMessage ¶
func (*AuthenticatorAssertionResponse) ProtoMessage()
func (*AuthenticatorAssertionResponse) ProtoReflect ¶
func (x *AuthenticatorAssertionResponse) ProtoReflect() protoreflect.Message
func (*AuthenticatorAssertionResponse) Reset ¶
func (x *AuthenticatorAssertionResponse) Reset()
func (*AuthenticatorAssertionResponse) String ¶
func (x *AuthenticatorAssertionResponse) String() string
type AuthenticatorAttestationResponse ¶
type AuthenticatorAttestationResponse struct { AttestationObject []byte `protobuf:"bytes,1,opt,name=attestation_object,json=attestationObject,proto3" json:"attestation_object,omitempty"` // contains filtered or unexported fields }
func (*AuthenticatorAttestationResponse) Descriptor
deprecated
func (*AuthenticatorAttestationResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticatorAttestationResponse.ProtoReflect.Descriptor instead.
func (*AuthenticatorAttestationResponse) GetAttestationObject ¶
func (x *AuthenticatorAttestationResponse) GetAttestationObject() []byte
func (*AuthenticatorAttestationResponse) ProtoMessage ¶
func (*AuthenticatorAttestationResponse) ProtoMessage()
func (*AuthenticatorAttestationResponse) ProtoReflect ¶
func (x *AuthenticatorAttestationResponse) ProtoReflect() protoreflect.Message
func (*AuthenticatorAttestationResponse) Reset ¶
func (x *AuthenticatorAttestationResponse) Reset()
func (*AuthenticatorAttestationResponse) String ¶
func (x *AuthenticatorAttestationResponse) String() string
type AuthenticatorResponse ¶
type AuthenticatorResponse struct { ClientDataJson []byte `protobuf:"bytes,1,opt,name=client_data_json,json=clientDataJson,proto3" json:"client_data_json,omitempty"` // Types that are assignable to Response: // *AuthenticatorResponse_AttestationResponse // *AuthenticatorResponse_AssertionResponse Response isAuthenticatorResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*AuthenticatorResponse) Descriptor
deprecated
func (*AuthenticatorResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticatorResponse.ProtoReflect.Descriptor instead.
func (*AuthenticatorResponse) GetAssertionResponse ¶
func (x *AuthenticatorResponse) GetAssertionResponse() *AuthenticatorAssertionResponse
func (*AuthenticatorResponse) GetAttestationResponse ¶
func (x *AuthenticatorResponse) GetAttestationResponse() *AuthenticatorAttestationResponse
func (*AuthenticatorResponse) GetClientDataJson ¶
func (x *AuthenticatorResponse) GetClientDataJson() []byte
func (*AuthenticatorResponse) GetResponse ¶
func (m *AuthenticatorResponse) GetResponse() isAuthenticatorResponse_Response
func (*AuthenticatorResponse) ProtoMessage ¶
func (*AuthenticatorResponse) ProtoMessage()
func (*AuthenticatorResponse) ProtoReflect ¶
func (x *AuthenticatorResponse) ProtoReflect() protoreflect.Message
func (*AuthenticatorResponse) Reset ¶
func (x *AuthenticatorResponse) Reset()
func (*AuthenticatorResponse) String ¶
func (x *AuthenticatorResponse) String() string
type AuthenticatorResponse_AssertionResponse ¶
type AuthenticatorResponse_AssertionResponse struct {
AssertionResponse *AuthenticatorAssertionResponse `protobuf:"bytes,3,opt,name=assertion_response,json=assertionResponse,proto3,oneof"`
}
type AuthenticatorResponse_AttestationResponse ¶
type AuthenticatorResponse_AttestationResponse struct {
AttestationResponse *AuthenticatorAttestationResponse `protobuf:"bytes,2,opt,name=attestation_response,json=attestationResponse,proto3,oneof"`
}
type AuthenticatorSelectionCriteria ¶
type AuthenticatorSelectionCriteria struct { AuthenticatorAttachment AuthenticatorSelectionCriteria_AuthenticatorAttachment `` /* 200-byte string literal not displayed */ RequireResidentKey bool `protobuf:"varint,2,opt,name=require_resident_key,json=requireResidentKey,proto3" json:"require_resident_key,omitempty"` UserVerification AuthenticatorSelectionCriteria_UserVerificationRequirement `` /* 183-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AuthenticatorSelectionCriteria) Descriptor
deprecated
func (*AuthenticatorSelectionCriteria) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticatorSelectionCriteria.ProtoReflect.Descriptor instead.
func (*AuthenticatorSelectionCriteria) GetAuthenticatorAttachment ¶
func (x *AuthenticatorSelectionCriteria) GetAuthenticatorAttachment() AuthenticatorSelectionCriteria_AuthenticatorAttachment
func (*AuthenticatorSelectionCriteria) GetRequireResidentKey ¶
func (x *AuthenticatorSelectionCriteria) GetRequireResidentKey() bool
func (*AuthenticatorSelectionCriteria) GetUserVerification ¶
func (x *AuthenticatorSelectionCriteria) GetUserVerification() AuthenticatorSelectionCriteria_UserVerificationRequirement
func (*AuthenticatorSelectionCriteria) ProtoMessage ¶
func (*AuthenticatorSelectionCriteria) ProtoMessage()
func (*AuthenticatorSelectionCriteria) ProtoReflect ¶
func (x *AuthenticatorSelectionCriteria) ProtoReflect() protoreflect.Message
func (*AuthenticatorSelectionCriteria) Reset ¶
func (x *AuthenticatorSelectionCriteria) Reset()
func (*AuthenticatorSelectionCriteria) String ¶
func (x *AuthenticatorSelectionCriteria) String() string
type AuthenticatorSelectionCriteria_AuthenticatorAttachment ¶
type AuthenticatorSelectionCriteria_AuthenticatorAttachment int32
const ( AuthenticatorSelectionCriteria_MISSING_AUTHENTICATOR_ATTACHMENT AuthenticatorSelectionCriteria_AuthenticatorAttachment = 0 AuthenticatorSelectionCriteria_CROSS_PLATFORM AuthenticatorSelectionCriteria_AuthenticatorAttachment = 1 AuthenticatorSelectionCriteria_PLATFORM AuthenticatorSelectionCriteria_AuthenticatorAttachment = 2 )
func (AuthenticatorSelectionCriteria_AuthenticatorAttachment) Descriptor ¶
func (AuthenticatorSelectionCriteria_AuthenticatorAttachment) Descriptor() protoreflect.EnumDescriptor
func (AuthenticatorSelectionCriteria_AuthenticatorAttachment) EnumDescriptor
deprecated
func (AuthenticatorSelectionCriteria_AuthenticatorAttachment) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthenticatorSelectionCriteria_AuthenticatorAttachment.Descriptor instead.
func (AuthenticatorSelectionCriteria_AuthenticatorAttachment) Number ¶
func (x AuthenticatorSelectionCriteria_AuthenticatorAttachment) Number() protoreflect.EnumNumber
func (AuthenticatorSelectionCriteria_AuthenticatorAttachment) String ¶
func (x AuthenticatorSelectionCriteria_AuthenticatorAttachment) String() string
type AuthenticatorSelectionCriteria_UserVerificationRequirement ¶
type AuthenticatorSelectionCriteria_UserVerificationRequirement int32
const ( AuthenticatorSelectionCriteria_MISSING_USER_VERIFICATION_REQUIREMENT AuthenticatorSelectionCriteria_UserVerificationRequirement = 0 AuthenticatorSelectionCriteria_DISCOURAGED AuthenticatorSelectionCriteria_UserVerificationRequirement = 1 AuthenticatorSelectionCriteria_PREFERRED AuthenticatorSelectionCriteria_UserVerificationRequirement = 2 AuthenticatorSelectionCriteria_REQUIRED AuthenticatorSelectionCriteria_UserVerificationRequirement = 3 )
func (AuthenticatorSelectionCriteria_UserVerificationRequirement) Descriptor ¶
func (AuthenticatorSelectionCriteria_UserVerificationRequirement) Descriptor() protoreflect.EnumDescriptor
func (AuthenticatorSelectionCriteria_UserVerificationRequirement) EnumDescriptor
deprecated
func (AuthenticatorSelectionCriteria_UserVerificationRequirement) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthenticatorSelectionCriteria_UserVerificationRequirement.Descriptor instead.
func (AuthenticatorSelectionCriteria_UserVerificationRequirement) Number ¶
func (x AuthenticatorSelectionCriteria_UserVerificationRequirement) Number() protoreflect.EnumNumber
func (AuthenticatorSelectionCriteria_UserVerificationRequirement) String ¶
func (x AuthenticatorSelectionCriteria_UserVerificationRequirement) String() string
type PublicKeyCredential ¶
type PublicKeyCredential struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Type is always "public-key". Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Response *AuthenticatorResponse `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*PublicKeyCredential) Descriptor
deprecated
func (*PublicKeyCredential) Descriptor() ([]byte, []int)
Deprecated: Use PublicKeyCredential.ProtoReflect.Descriptor instead.
func (*PublicKeyCredential) GetId ¶
func (x *PublicKeyCredential) GetId() string
func (*PublicKeyCredential) GetResponse ¶
func (x *PublicKeyCredential) GetResponse() *AuthenticatorResponse
func (*PublicKeyCredential) GetType ¶
func (x *PublicKeyCredential) GetType() string
func (*PublicKeyCredential) ProtoMessage ¶
func (*PublicKeyCredential) ProtoMessage()
func (*PublicKeyCredential) ProtoReflect ¶
func (x *PublicKeyCredential) ProtoReflect() protoreflect.Message
func (*PublicKeyCredential) Reset ¶
func (x *PublicKeyCredential) Reset()
func (*PublicKeyCredential) String ¶
func (x *PublicKeyCredential) String() string
type PublicKeyCredentialCreationOptions ¶
type PublicKeyCredentialCreationOptions struct { Attestation PublicKeyCredentialCreationOptions_AttestationConveyancePreference `` /* 157-byte string literal not displayed */ AuthenticatorSelection *AuthenticatorSelectionCriteria `` /* 127-byte string literal not displayed */ Challenge []byte `protobuf:"bytes,3,opt,name=challenge,proto3" json:"challenge,omitempty"` ExcludeCredentials []*PublicKeyCredentialDescriptor `protobuf:"bytes,4,rep,name=exclude_credentials,json=excludeCredentials,proto3" json:"exclude_credentials,omitempty"` // This is commented out because we don't use it, and it avoids having to // define another nested hierarcy of types. // AuthenticationExtensionsClientInputs extensions = 5; PubKeyCredParams []*PublicKeyCredentialParameters `protobuf:"bytes,6,rep,name=pub_key_cred_params,json=pubKeyCredParams,proto3" json:"pub_key_cred_params,omitempty"` Rp *PublicKeyCredentialRpEntity `protobuf:"bytes,7,opt,name=rp,proto3" json:"rp,omitempty"` Timeout *duration.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"` User *PublicKeyCredentialUserEntity `protobuf:"bytes,9,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*PublicKeyCredentialCreationOptions) Descriptor
deprecated
func (*PublicKeyCredentialCreationOptions) Descriptor() ([]byte, []int)
Deprecated: Use PublicKeyCredentialCreationOptions.ProtoReflect.Descriptor instead.
func (*PublicKeyCredentialCreationOptions) GetAttestation ¶
func (x *PublicKeyCredentialCreationOptions) GetAttestation() PublicKeyCredentialCreationOptions_AttestationConveyancePreference
func (*PublicKeyCredentialCreationOptions) GetAuthenticatorSelection ¶
func (x *PublicKeyCredentialCreationOptions) GetAuthenticatorSelection() *AuthenticatorSelectionCriteria
func (*PublicKeyCredentialCreationOptions) GetChallenge ¶
func (x *PublicKeyCredentialCreationOptions) GetChallenge() []byte
func (*PublicKeyCredentialCreationOptions) GetExcludeCredentials ¶
func (x *PublicKeyCredentialCreationOptions) GetExcludeCredentials() []*PublicKeyCredentialDescriptor
func (*PublicKeyCredentialCreationOptions) GetPubKeyCredParams ¶
func (x *PublicKeyCredentialCreationOptions) GetPubKeyCredParams() []*PublicKeyCredentialParameters
func (*PublicKeyCredentialCreationOptions) GetRp ¶
func (x *PublicKeyCredentialCreationOptions) GetRp() *PublicKeyCredentialRpEntity
func (*PublicKeyCredentialCreationOptions) GetTimeout ¶
func (x *PublicKeyCredentialCreationOptions) GetTimeout() *duration.Duration
func (*PublicKeyCredentialCreationOptions) GetUser ¶
func (x *PublicKeyCredentialCreationOptions) GetUser() *PublicKeyCredentialUserEntity
func (*PublicKeyCredentialCreationOptions) ProtoMessage ¶
func (*PublicKeyCredentialCreationOptions) ProtoMessage()
func (*PublicKeyCredentialCreationOptions) ProtoReflect ¶
func (x *PublicKeyCredentialCreationOptions) ProtoReflect() protoreflect.Message
func (*PublicKeyCredentialCreationOptions) Reset ¶
func (x *PublicKeyCredentialCreationOptions) Reset()
func (*PublicKeyCredentialCreationOptions) String ¶
func (x *PublicKeyCredentialCreationOptions) String() string
type PublicKeyCredentialCreationOptions_AttestationConveyancePreference ¶
type PublicKeyCredentialCreationOptions_AttestationConveyancePreference int32
const ( PublicKeyCredentialCreationOptions_NONE PublicKeyCredentialCreationOptions_AttestationConveyancePreference = 0 PublicKeyCredentialCreationOptions_DIRECT PublicKeyCredentialCreationOptions_AttestationConveyancePreference = 1 PublicKeyCredentialCreationOptions_INDIRECT PublicKeyCredentialCreationOptions_AttestationConveyancePreference = 2 )
func (PublicKeyCredentialCreationOptions_AttestationConveyancePreference) Descriptor ¶
func (PublicKeyCredentialCreationOptions_AttestationConveyancePreference) EnumDescriptor
deprecated
func (PublicKeyCredentialCreationOptions_AttestationConveyancePreference) EnumDescriptor() ([]byte, []int)
Deprecated: Use PublicKeyCredentialCreationOptions_AttestationConveyancePreference.Descriptor instead.
func (PublicKeyCredentialCreationOptions_AttestationConveyancePreference) String ¶
func (x PublicKeyCredentialCreationOptions_AttestationConveyancePreference) String() string
type PublicKeyCredentialDescriptor ¶
type PublicKeyCredentialDescriptor struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Transports []PublicKeyCredentialDescriptor_AuthenticatorTransport `` /* 148-byte string literal not displayed */ // Type is always "public-key". Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*PublicKeyCredentialDescriptor) Descriptor
deprecated
func (*PublicKeyCredentialDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use PublicKeyCredentialDescriptor.ProtoReflect.Descriptor instead.
func (*PublicKeyCredentialDescriptor) GetId ¶
func (x *PublicKeyCredentialDescriptor) GetId() []byte
func (*PublicKeyCredentialDescriptor) GetTransports ¶
func (x *PublicKeyCredentialDescriptor) GetTransports() []PublicKeyCredentialDescriptor_AuthenticatorTransport
func (*PublicKeyCredentialDescriptor) GetType ¶
func (x *PublicKeyCredentialDescriptor) GetType() string
func (*PublicKeyCredentialDescriptor) ProtoMessage ¶
func (*PublicKeyCredentialDescriptor) ProtoMessage()
func (*PublicKeyCredentialDescriptor) ProtoReflect ¶
func (x *PublicKeyCredentialDescriptor) ProtoReflect() protoreflect.Message
func (*PublicKeyCredentialDescriptor) Reset ¶
func (x *PublicKeyCredentialDescriptor) Reset()
func (*PublicKeyCredentialDescriptor) String ¶
func (x *PublicKeyCredentialDescriptor) String() string
type PublicKeyCredentialDescriptor_AuthenticatorTransport ¶
type PublicKeyCredentialDescriptor_AuthenticatorTransport int32
const ( PublicKeyCredentialDescriptor_MISSING_AUTHENTICATOR_TRANSPORT PublicKeyCredentialDescriptor_AuthenticatorTransport = 0 PublicKeyCredentialDescriptor_BLE PublicKeyCredentialDescriptor_AuthenticatorTransport = 1 PublicKeyCredentialDescriptor_INTERNAL PublicKeyCredentialDescriptor_AuthenticatorTransport = 2 PublicKeyCredentialDescriptor_NFC PublicKeyCredentialDescriptor_AuthenticatorTransport = 3 PublicKeyCredentialDescriptor_USB PublicKeyCredentialDescriptor_AuthenticatorTransport = 4 )
func (PublicKeyCredentialDescriptor_AuthenticatorTransport) Descriptor ¶
func (PublicKeyCredentialDescriptor_AuthenticatorTransport) Descriptor() protoreflect.EnumDescriptor
func (PublicKeyCredentialDescriptor_AuthenticatorTransport) EnumDescriptor
deprecated
func (PublicKeyCredentialDescriptor_AuthenticatorTransport) EnumDescriptor() ([]byte, []int)
Deprecated: Use PublicKeyCredentialDescriptor_AuthenticatorTransport.Descriptor instead.
func (PublicKeyCredentialDescriptor_AuthenticatorTransport) Number ¶
func (x PublicKeyCredentialDescriptor_AuthenticatorTransport) Number() protoreflect.EnumNumber
func (PublicKeyCredentialDescriptor_AuthenticatorTransport) String ¶
func (x PublicKeyCredentialDescriptor_AuthenticatorTransport) String() string
type PublicKeyCredentialParameters ¶
type PublicKeyCredentialParameters struct { // Actually a COSEAlgorithmIdentifier, not an integer. Alg int32 `protobuf:"varint,1,opt,name=alg,proto3" json:"alg,omitempty"` // Type is always "public-key". Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*PublicKeyCredentialParameters) Descriptor
deprecated
func (*PublicKeyCredentialParameters) Descriptor() ([]byte, []int)
Deprecated: Use PublicKeyCredentialParameters.ProtoReflect.Descriptor instead.
func (*PublicKeyCredentialParameters) GetAlg ¶
func (x *PublicKeyCredentialParameters) GetAlg() int32
func (*PublicKeyCredentialParameters) GetType ¶
func (x *PublicKeyCredentialParameters) GetType() string
func (*PublicKeyCredentialParameters) ProtoMessage ¶
func (*PublicKeyCredentialParameters) ProtoMessage()
func (*PublicKeyCredentialParameters) ProtoReflect ¶
func (x *PublicKeyCredentialParameters) ProtoReflect() protoreflect.Message
func (*PublicKeyCredentialParameters) Reset ¶
func (x *PublicKeyCredentialParameters) Reset()
func (*PublicKeyCredentialParameters) String ¶
func (x *PublicKeyCredentialParameters) String() string
type PublicKeyCredentialRequestOptions ¶
type PublicKeyCredentialRequestOptions struct { Challenge []byte `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"` AllowedCredentials []*PublicKeyCredentialDescriptor `protobuf:"bytes,2,rep,name=allowed_credentials,json=allowedCredentials,proto3" json:"allowed_credentials,omitempty"` Timeout *duration.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // ... // contains filtered or unexported fields }
func (*PublicKeyCredentialRequestOptions) Descriptor
deprecated
func (*PublicKeyCredentialRequestOptions) Descriptor() ([]byte, []int)
Deprecated: Use PublicKeyCredentialRequestOptions.ProtoReflect.Descriptor instead.
func (*PublicKeyCredentialRequestOptions) GetAllowedCredentials ¶
func (x *PublicKeyCredentialRequestOptions) GetAllowedCredentials() []*PublicKeyCredentialDescriptor
func (*PublicKeyCredentialRequestOptions) GetChallenge ¶
func (x *PublicKeyCredentialRequestOptions) GetChallenge() []byte
func (*PublicKeyCredentialRequestOptions) GetTimeout ¶
func (x *PublicKeyCredentialRequestOptions) GetTimeout() *duration.Duration
func (*PublicKeyCredentialRequestOptions) ProtoMessage ¶
func (*PublicKeyCredentialRequestOptions) ProtoMessage()
func (*PublicKeyCredentialRequestOptions) ProtoReflect ¶
func (x *PublicKeyCredentialRequestOptions) ProtoReflect() protoreflect.Message
func (*PublicKeyCredentialRequestOptions) Reset ¶
func (x *PublicKeyCredentialRequestOptions) Reset()
func (*PublicKeyCredentialRequestOptions) String ¶
func (x *PublicKeyCredentialRequestOptions) String() string
type PublicKeyCredentialRpEntity ¶
type PublicKeyCredentialRpEntity struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // URL to the icon, not the bytes of the icon. Icon string `protobuf:"bytes,2,opt,name=icon,proto3" json:"icon,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PublicKeyCredentialRpEntity) Descriptor
deprecated
func (*PublicKeyCredentialRpEntity) Descriptor() ([]byte, []int)
Deprecated: Use PublicKeyCredentialRpEntity.ProtoReflect.Descriptor instead.
func (*PublicKeyCredentialRpEntity) GetIcon ¶
func (x *PublicKeyCredentialRpEntity) GetIcon() string
func (*PublicKeyCredentialRpEntity) GetId ¶
func (x *PublicKeyCredentialRpEntity) GetId() string
func (*PublicKeyCredentialRpEntity) GetName ¶
func (x *PublicKeyCredentialRpEntity) GetName() string
func (*PublicKeyCredentialRpEntity) ProtoMessage ¶
func (*PublicKeyCredentialRpEntity) ProtoMessage()
func (*PublicKeyCredentialRpEntity) ProtoReflect ¶
func (x *PublicKeyCredentialRpEntity) ProtoReflect() protoreflect.Message
func (*PublicKeyCredentialRpEntity) Reset ¶
func (x *PublicKeyCredentialRpEntity) Reset()
func (*PublicKeyCredentialRpEntity) String ¶
func (x *PublicKeyCredentialRpEntity) String() string
type PublicKeyCredentialUserEntity ¶
type PublicKeyCredentialUserEntity struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Icon string `protobuf:"bytes,2,opt,name=icon,proto3" json:"icon,omitempty"` DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Id []byte `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PublicKeyCredentialUserEntity) Descriptor
deprecated
func (*PublicKeyCredentialUserEntity) Descriptor() ([]byte, []int)
Deprecated: Use PublicKeyCredentialUserEntity.ProtoReflect.Descriptor instead.
func (*PublicKeyCredentialUserEntity) GetDisplayName ¶
func (x *PublicKeyCredentialUserEntity) GetDisplayName() string
func (*PublicKeyCredentialUserEntity) GetIcon ¶
func (x *PublicKeyCredentialUserEntity) GetIcon() string
func (*PublicKeyCredentialUserEntity) GetId ¶
func (x *PublicKeyCredentialUserEntity) GetId() []byte
func (*PublicKeyCredentialUserEntity) GetName ¶
func (x *PublicKeyCredentialUserEntity) GetName() string
func (*PublicKeyCredentialUserEntity) ProtoMessage ¶
func (*PublicKeyCredentialUserEntity) ProtoMessage()
func (*PublicKeyCredentialUserEntity) ProtoReflect ¶
func (x *PublicKeyCredentialUserEntity) ProtoReflect() protoreflect.Message
func (*PublicKeyCredentialUserEntity) Reset ¶
func (x *PublicKeyCredentialUserEntity) Reset()
func (*PublicKeyCredentialUserEntity) String ¶
func (x *PublicKeyCredentialUserEntity) String() string