Documentation
¶
Overview ¶
Package device contains protobuf types for devices.
Index ¶
- Variables
- func PutCredential(ctx context.Context, client databroker.DataBrokerServiceClient, ...) error
- func PutEnrollment(ctx context.Context, client databroker.DataBrokerServiceClient, ...) error
- func PutOwnerCredentialRecord(ctx context.Context, client databroker.DataBrokerServiceClient, ...) error
- type Credential
- func (*Credential) Descriptor() ([]byte, []int)deprecated
- func (x *Credential) GetEnrollmentId() string
- func (x *Credential) GetId() string
- func (m *Credential) GetSpecifier() isCredential_Specifier
- func (x *Credential) GetTypeId() string
- func (x *Credential) GetUserId() string
- func (x *Credential) GetWebauthn() *Credential_WebAuthn
- func (*Credential) ProtoMessage()
- func (x *Credential) ProtoReflect() protoreflect.Message
- func (x *Credential) Reset()
- func (x *Credential) String() string
- type Credential_WebAuthn
- func (*Credential_WebAuthn) Descriptor() ([]byte, []int)deprecated
- func (x *Credential_WebAuthn) GetAuthenticateResponse() [][]byte
- func (x *Credential_WebAuthn) GetId() []byte
- func (x *Credential_WebAuthn) GetPublicKey() []byte
- func (x *Credential_WebAuthn) GetRegisterOptions() []byte
- func (x *Credential_WebAuthn) GetRegisterResponse() []byte
- func (*Credential_WebAuthn) ProtoMessage()
- func (x *Credential_WebAuthn) ProtoReflect() protoreflect.Message
- func (x *Credential_WebAuthn) Reset()
- func (x *Credential_WebAuthn) String() string
- type Credential_Webauthn
- type Enrollment
- func (*Enrollment) Descriptor() ([]byte, []int)deprecated
- func (x *Enrollment) GetApprovedBy() string
- func (x *Enrollment) GetCredentialId() string
- func (x *Enrollment) GetEnrolledAt() *timestamppb.Timestamp
- func (x *Enrollment) GetId() string
- func (x *Enrollment) GetIpAddress() string
- func (x *Enrollment) GetTypeId() string
- func (x *Enrollment) GetUserAgent() string
- func (x *Enrollment) GetUserId() string
- func (*Enrollment) ProtoMessage()
- func (x *Enrollment) ProtoReflect() protoreflect.Message
- func (x *Enrollment) Reset()
- func (x *Enrollment) String() string
- type OwnerCredentialRecord
- func (*OwnerCredentialRecord) Descriptor() ([]byte, []int)deprecated
- func (x *OwnerCredentialRecord) GetId() []byte
- func (x *OwnerCredentialRecord) GetOwnerId() []byte
- func (x *OwnerCredentialRecord) GetPublicKey() []byte
- func (*OwnerCredentialRecord) ProtoMessage()
- func (x *OwnerCredentialRecord) ProtoReflect() protoreflect.Message
- func (x *OwnerCredentialRecord) Reset()
- func (x *OwnerCredentialRecord) String() string
- type Type
- func (*Type) Descriptor() ([]byte, []int)deprecated
- func (x *Type) GetId() string
- func (x *Type) GetName() string
- func (m *Type) GetSpecifier() isType_Specifier
- func (x *Type) GetWebauthn() *Type_WebAuthn
- func (*Type) ProtoMessage()
- func (x *Type) ProtoReflect() protoreflect.Message
- func (x *Type) Reset()
- func (x *Type) String() string
- type Type_WebAuthn
- type Type_Webauthn
- type WebAuthnOptions
- func (*WebAuthnOptions) Descriptor() ([]byte, []int)deprecated
- func (x *WebAuthnOptions) GetAttestation() WebAuthnOptions_AttestationConveyancePreference
- func (x *WebAuthnOptions) GetAuthenticatorSelection() *WebAuthnOptions_AuthenticatorSelectionCriteria
- func (x *WebAuthnOptions) GetPubKeyCredParams() []*WebAuthnOptions_PublicKeyCredentialParameters
- func (*WebAuthnOptions) ProtoMessage()
- func (x *WebAuthnOptions) ProtoReflect() protoreflect.Message
- func (x *WebAuthnOptions) Reset()
- func (x *WebAuthnOptions) String() string
- type WebAuthnOptions_AttestationConveyancePreference
- func (WebAuthnOptions_AttestationConveyancePreference) Descriptor() protoreflect.EnumDescriptor
- func (x WebAuthnOptions_AttestationConveyancePreference) Enum() *WebAuthnOptions_AttestationConveyancePreference
- func (WebAuthnOptions_AttestationConveyancePreference) EnumDescriptor() ([]byte, []int)deprecated
- func (x WebAuthnOptions_AttestationConveyancePreference) Number() protoreflect.EnumNumber
- func (x WebAuthnOptions_AttestationConveyancePreference) String() string
- func (WebAuthnOptions_AttestationConveyancePreference) Type() protoreflect.EnumType
- type WebAuthnOptions_AuthenticatorAttachment
- func (WebAuthnOptions_AuthenticatorAttachment) Descriptor() protoreflect.EnumDescriptor
- func (x WebAuthnOptions_AuthenticatorAttachment) Enum() *WebAuthnOptions_AuthenticatorAttachment
- func (WebAuthnOptions_AuthenticatorAttachment) EnumDescriptor() ([]byte, []int)deprecated
- func (x WebAuthnOptions_AuthenticatorAttachment) Number() protoreflect.EnumNumber
- func (x WebAuthnOptions_AuthenticatorAttachment) String() string
- func (WebAuthnOptions_AuthenticatorAttachment) Type() protoreflect.EnumType
- type WebAuthnOptions_AuthenticatorSelectionCriteria
- func (*WebAuthnOptions_AuthenticatorSelectionCriteria) Descriptor() ([]byte, []int)deprecated
- func (x *WebAuthnOptions_AuthenticatorSelectionCriteria) GetAuthenticatorAttachment() WebAuthnOptions_AuthenticatorAttachment
- func (x *WebAuthnOptions_AuthenticatorSelectionCriteria) GetRequireResidentKey() bool
- func (x *WebAuthnOptions_AuthenticatorSelectionCriteria) GetResidentKeyRequirement() WebAuthnOptions_ResidentKeyRequirement
- func (x *WebAuthnOptions_AuthenticatorSelectionCriteria) GetUserVerification() WebAuthnOptions_UserVerificationRequirement
- func (*WebAuthnOptions_AuthenticatorSelectionCriteria) ProtoMessage()
- func (x *WebAuthnOptions_AuthenticatorSelectionCriteria) ProtoReflect() protoreflect.Message
- func (x *WebAuthnOptions_AuthenticatorSelectionCriteria) Reset()
- func (x *WebAuthnOptions_AuthenticatorSelectionCriteria) String() string
- type WebAuthnOptions_PublicKeyCredentialParameters
- func (*WebAuthnOptions_PublicKeyCredentialParameters) Descriptor() ([]byte, []int)deprecated
- func (x *WebAuthnOptions_PublicKeyCredentialParameters) GetAlg() int64
- func (x *WebAuthnOptions_PublicKeyCredentialParameters) GetType() WebAuthnOptions_PublicKeyCredentialType
- func (*WebAuthnOptions_PublicKeyCredentialParameters) ProtoMessage()
- func (x *WebAuthnOptions_PublicKeyCredentialParameters) ProtoReflect() protoreflect.Message
- func (x *WebAuthnOptions_PublicKeyCredentialParameters) Reset()
- func (x *WebAuthnOptions_PublicKeyCredentialParameters) String() string
- type WebAuthnOptions_PublicKeyCredentialType
- func (WebAuthnOptions_PublicKeyCredentialType) Descriptor() protoreflect.EnumDescriptor
- func (x WebAuthnOptions_PublicKeyCredentialType) Enum() *WebAuthnOptions_PublicKeyCredentialType
- func (WebAuthnOptions_PublicKeyCredentialType) EnumDescriptor() ([]byte, []int)deprecated
- func (x WebAuthnOptions_PublicKeyCredentialType) Number() protoreflect.EnumNumber
- func (x WebAuthnOptions_PublicKeyCredentialType) String() string
- func (WebAuthnOptions_PublicKeyCredentialType) Type() protoreflect.EnumType
- type WebAuthnOptions_ResidentKeyRequirement
- func (WebAuthnOptions_ResidentKeyRequirement) Descriptor() protoreflect.EnumDescriptor
- func (x WebAuthnOptions_ResidentKeyRequirement) Enum() *WebAuthnOptions_ResidentKeyRequirement
- func (WebAuthnOptions_ResidentKeyRequirement) EnumDescriptor() ([]byte, []int)deprecated
- func (x WebAuthnOptions_ResidentKeyRequirement) Number() protoreflect.EnumNumber
- func (x WebAuthnOptions_ResidentKeyRequirement) String() string
- func (WebAuthnOptions_ResidentKeyRequirement) Type() protoreflect.EnumType
- type WebAuthnOptions_UserVerificationRequirement
- func (WebAuthnOptions_UserVerificationRequirement) Descriptor() protoreflect.EnumDescriptor
- func (x WebAuthnOptions_UserVerificationRequirement) Enum() *WebAuthnOptions_UserVerificationRequirement
- func (WebAuthnOptions_UserVerificationRequirement) EnumDescriptor() ([]byte, []int)deprecated
- func (x WebAuthnOptions_UserVerificationRequirement) Number() protoreflect.EnumNumber
- func (x WebAuthnOptions_UserVerificationRequirement) String() string
- func (WebAuthnOptions_UserVerificationRequirement) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( WebAuthnOptions_AttestationConveyancePreference_name = map[int32]string{ 0: "NONE", 1: "INDIRECT", 2: "DIRECT", 3: "ENTERPRISE", } WebAuthnOptions_AttestationConveyancePreference_value = map[string]int32{ "NONE": 0, "INDIRECT": 1, "DIRECT": 2, "ENTERPRISE": 3, } )
Enum value maps for WebAuthnOptions_AttestationConveyancePreference.
var ( WebAuthnOptions_AuthenticatorAttachment_name = map[int32]string{ 0: "PLATFORM", 2: "CROSS_PLATFORM", } WebAuthnOptions_AuthenticatorAttachment_value = map[string]int32{ "PLATFORM": 0, "CROSS_PLATFORM": 2, } )
Enum value maps for WebAuthnOptions_AuthenticatorAttachment.
var ( WebAuthnOptions_PublicKeyCredentialType_name = map[int32]string{ 0: "PUBLIC_KEY", } WebAuthnOptions_PublicKeyCredentialType_value = map[string]int32{ "PUBLIC_KEY": 0, } )
Enum value maps for WebAuthnOptions_PublicKeyCredentialType.
var ( WebAuthnOptions_ResidentKeyRequirement_name = map[int32]string{ 0: "RESIDENT_KEY_DISCOURAGED", 1: "RESIDENT_KEY_PREFERRED", 2: "RESIDENT_KEY_REQUIRED", } WebAuthnOptions_ResidentKeyRequirement_value = map[string]int32{ "RESIDENT_KEY_DISCOURAGED": 0, "RESIDENT_KEY_PREFERRED": 1, "RESIDENT_KEY_REQUIRED": 2, } )
Enum value maps for WebAuthnOptions_ResidentKeyRequirement.
var ( WebAuthnOptions_UserVerificationRequirement_name = map[int32]string{ 0: "USER_VERIFICATION_DISCOURAGED", 1: "USER_VERIFICATION_PREFERRED", 2: "USER_VERIFICATION_REQUIRED", } WebAuthnOptions_UserVerificationRequirement_value = map[string]int32{ "USER_VERIFICATION_DISCOURAGED": 0, "USER_VERIFICATION_PREFERRED": 1, "USER_VERIFICATION_REQUIRED": 2, } )
Enum value maps for WebAuthnOptions_UserVerificationRequirement.
var File_device_proto protoreflect.FileDescriptor
Functions ¶
func PutCredential ¶
func PutCredential( ctx context.Context, client databroker.DataBrokerServiceClient, credential *Credential, ) error
PutCredential puts a Credential in the databroker.
func PutEnrollment ¶
func PutEnrollment( ctx context.Context, client databroker.DataBrokerServiceClient, enrollment *Enrollment, ) error
PutEnrollment puts an Entrollment in the databroker.
func PutOwnerCredentialRecord ¶
func PutOwnerCredentialRecord( ctx context.Context, client databroker.DataBrokerServiceClient, ownerCredentialRecord *OwnerCredentialRecord, ) error
PutOwnerCredentialRecord puts an OwnerCredentialRecord in the databroker.
Types ¶
type Credential ¶
type Credential struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TypeId string `protobuf:"bytes,2,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` EnrollmentId string `protobuf:"bytes,3,opt,name=enrollment_id,json=enrollmentId,proto3" json:"enrollment_id,omitempty"` UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Types that are assignable to Specifier: // // *Credential_Webauthn Specifier isCredential_Specifier `protobuf_oneof:"specifier"` // contains filtered or unexported fields }
A Credential is a user's device-specific credential.
func DeleteCredential ¶ added in v0.16.0
func DeleteCredential( ctx context.Context, client databroker.DataBrokerServiceClient, credentialID string, ) (*Credential, error)
DeleteCredential deletes a credential from the databroker.
func GetCredential ¶
func GetCredential( ctx context.Context, client databroker.DataBrokerServiceClient, credentialID string, ) (*Credential, error)
GetCredential gets a credential from the databroker.
func (*Credential) Descriptor
deprecated
func (*Credential) Descriptor() ([]byte, []int)
Deprecated: Use Credential.ProtoReflect.Descriptor instead.
func (*Credential) GetEnrollmentId ¶
func (x *Credential) GetEnrollmentId() string
func (*Credential) GetId ¶
func (x *Credential) GetId() string
func (*Credential) GetSpecifier ¶
func (m *Credential) GetSpecifier() isCredential_Specifier
func (*Credential) GetTypeId ¶
func (x *Credential) GetTypeId() string
func (*Credential) GetUserId ¶
func (x *Credential) GetUserId() string
func (*Credential) GetWebauthn ¶
func (x *Credential) GetWebauthn() *Credential_WebAuthn
func (*Credential) ProtoMessage ¶
func (*Credential) ProtoMessage()
func (*Credential) ProtoReflect ¶
func (x *Credential) ProtoReflect() protoreflect.Message
func (*Credential) Reset ¶
func (x *Credential) Reset()
func (*Credential) String ¶
func (x *Credential) String() string
type Credential_WebAuthn ¶
type Credential_WebAuthn struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` PublicKey []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // the options that were used to do initial registration RegisterOptions []byte `protobuf:"bytes,3,opt,name=register_options,json=registerOptions,proto3" json:"register_options,omitempty"` // the response returned from initial registration RegisterResponse []byte `protobuf:"bytes,4,opt,name=register_response,json=registerResponse,proto3" json:"register_response,omitempty"` // subsequent authenticate responses AuthenticateResponse [][]byte `protobuf:"bytes,5,rep,name=authenticate_response,json=authenticateResponse,proto3" json:"authenticate_response,omitempty"` // contains filtered or unexported fields }
func (*Credential_WebAuthn) Descriptor
deprecated
func (*Credential_WebAuthn) Descriptor() ([]byte, []int)
Deprecated: Use Credential_WebAuthn.ProtoReflect.Descriptor instead.
func (*Credential_WebAuthn) GetAuthenticateResponse ¶
func (x *Credential_WebAuthn) GetAuthenticateResponse() [][]byte
func (*Credential_WebAuthn) GetId ¶
func (x *Credential_WebAuthn) GetId() []byte
func (*Credential_WebAuthn) GetPublicKey ¶
func (x *Credential_WebAuthn) GetPublicKey() []byte
func (*Credential_WebAuthn) GetRegisterOptions ¶
func (x *Credential_WebAuthn) GetRegisterOptions() []byte
func (*Credential_WebAuthn) GetRegisterResponse ¶
func (x *Credential_WebAuthn) GetRegisterResponse() []byte
func (*Credential_WebAuthn) ProtoMessage ¶
func (*Credential_WebAuthn) ProtoMessage()
func (*Credential_WebAuthn) ProtoReflect ¶
func (x *Credential_WebAuthn) ProtoReflect() protoreflect.Message
func (*Credential_WebAuthn) Reset ¶
func (x *Credential_WebAuthn) Reset()
func (*Credential_WebAuthn) String ¶
func (x *Credential_WebAuthn) String() string
type Credential_Webauthn ¶
type Credential_Webauthn struct {
Webauthn *Credential_WebAuthn `protobuf:"bytes,5,opt,name=webauthn,proto3,oneof"`
}
type Enrollment ¶
type Enrollment struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TypeId string `protobuf:"bytes,7,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` CredentialId string `protobuf:"bytes,8,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ApprovedBy string `protobuf:"bytes,3,opt,name=approved_by,json=approvedBy,proto3" json:"approved_by,omitempty"` EnrolledAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=enrolled_at,json=enrolledAt,proto3" json:"enrolled_at,omitempty"` UserAgent string `protobuf:"bytes,5,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` IpAddress string `protobuf:"bytes,6,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // contains filtered or unexported fields }
An Enrollment is used to approve a user's device.
func DeleteEnrollment ¶ added in v0.16.0
func DeleteEnrollment( ctx context.Context, client databroker.DataBrokerServiceClient, enrollmentID string, ) (*Enrollment, error)
DeleteEnrollment deletes an enrollment from the databroker.
func GetEnrollment ¶
func GetEnrollment( ctx context.Context, client databroker.DataBrokerServiceClient, enrollmentID string, ) (*Enrollment, error)
GetEnrollment gets an enrollment from the databroker.
func (*Enrollment) Descriptor
deprecated
func (*Enrollment) Descriptor() ([]byte, []int)
Deprecated: Use Enrollment.ProtoReflect.Descriptor instead.
func (*Enrollment) GetApprovedBy ¶
func (x *Enrollment) GetApprovedBy() string
func (*Enrollment) GetCredentialId ¶ added in v0.16.0
func (x *Enrollment) GetCredentialId() string
func (*Enrollment) GetEnrolledAt ¶
func (x *Enrollment) GetEnrolledAt() *timestamppb.Timestamp
func (*Enrollment) GetId ¶
func (x *Enrollment) GetId() string
func (*Enrollment) GetIpAddress ¶
func (x *Enrollment) GetIpAddress() string
func (*Enrollment) GetTypeId ¶ added in v0.16.0
func (x *Enrollment) GetTypeId() string
func (*Enrollment) GetUserAgent ¶
func (x *Enrollment) GetUserAgent() string
func (*Enrollment) GetUserId ¶
func (x *Enrollment) GetUserId() string
func (*Enrollment) ProtoMessage ¶
func (*Enrollment) ProtoMessage()
func (*Enrollment) ProtoReflect ¶
func (x *Enrollment) ProtoReflect() protoreflect.Message
func (*Enrollment) Reset ¶
func (x *Enrollment) Reset()
func (*Enrollment) String ¶
func (x *Enrollment) String() string
type OwnerCredentialRecord ¶
type OwnerCredentialRecord struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` OwnerId []byte `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
An OwnerCredentialRecord is used to track credential owners to prevent credential re-use.
func GetOwnerCredentialRecord ¶
func GetOwnerCredentialRecord( ctx context.Context, client databroker.DataBrokerServiceClient, credentialID []byte, ) (*OwnerCredentialRecord, error)
GetOwnerCredentialRecord gets an OwnerCredentialRecord from the databroker.
func (*OwnerCredentialRecord) Descriptor
deprecated
func (*OwnerCredentialRecord) Descriptor() ([]byte, []int)
Deprecated: Use OwnerCredentialRecord.ProtoReflect.Descriptor instead.
func (*OwnerCredentialRecord) GetId ¶
func (x *OwnerCredentialRecord) GetId() []byte
func (*OwnerCredentialRecord) GetOwnerId ¶
func (x *OwnerCredentialRecord) GetOwnerId() []byte
func (*OwnerCredentialRecord) GetPublicKey ¶
func (x *OwnerCredentialRecord) GetPublicKey() []byte
func (*OwnerCredentialRecord) ProtoMessage ¶
func (*OwnerCredentialRecord) ProtoMessage()
func (*OwnerCredentialRecord) ProtoReflect ¶
func (x *OwnerCredentialRecord) ProtoReflect() protoreflect.Message
func (*OwnerCredentialRecord) Reset ¶
func (x *OwnerCredentialRecord) Reset()
func (*OwnerCredentialRecord) String ¶
func (x *OwnerCredentialRecord) String() string
type Type ¶
type Type struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to Specifier: // // *Type_Webauthn Specifier isType_Specifier `protobuf_oneof:"specifier"` // contains filtered or unexported fields }
A Type constrains which kinds of devices are allowed to be registered.
func GetType ¶
func GetType( ctx context.Context, client databroker.DataBrokerServiceClient, typeID string, ) (*Type, error)
GetType gets a type from the databroker.
func (*Type) Descriptor
deprecated
func (*Type) GetSpecifier ¶
func (m *Type) GetSpecifier() isType_Specifier
func (*Type) GetWebauthn ¶
func (x *Type) GetWebauthn() *Type_WebAuthn
func (*Type) ProtoMessage ¶
func (*Type) ProtoMessage()
func (*Type) ProtoReflect ¶
func (x *Type) ProtoReflect() protoreflect.Message
type Type_WebAuthn ¶
type Type_WebAuthn struct { Options *WebAuthnOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*Type_WebAuthn) Descriptor
deprecated
func (*Type_WebAuthn) Descriptor() ([]byte, []int)
Deprecated: Use Type_WebAuthn.ProtoReflect.Descriptor instead.
func (*Type_WebAuthn) GetOptions ¶
func (x *Type_WebAuthn) GetOptions() *WebAuthnOptions
func (*Type_WebAuthn) ProtoMessage ¶
func (*Type_WebAuthn) ProtoMessage()
func (*Type_WebAuthn) ProtoReflect ¶
func (x *Type_WebAuthn) ProtoReflect() protoreflect.Message
func (*Type_WebAuthn) Reset ¶
func (x *Type_WebAuthn) Reset()
func (*Type_WebAuthn) String ¶
func (x *Type_WebAuthn) String() string
type Type_Webauthn ¶
type Type_Webauthn struct {
Webauthn *Type_WebAuthn `protobuf:"bytes,3,opt,name=webauthn,proto3,oneof"`
}
type WebAuthnOptions ¶
type WebAuthnOptions struct { Attestation *WebAuthnOptions_AttestationConveyancePreference `` /* 151-byte string literal not displayed */ AuthenticatorSelection *WebAuthnOptions_AuthenticatorSelectionCriteria `` /* 133-byte string literal not displayed */ PubKeyCredParams []*WebAuthnOptions_PublicKeyCredentialParameters `protobuf:"bytes,3,rep,name=pub_key_cred_params,json=pubKeyCredParams,proto3" json:"pub_key_cred_params,omitempty"` // contains filtered or unexported fields }
func (*WebAuthnOptions) Descriptor
deprecated
func (*WebAuthnOptions) Descriptor() ([]byte, []int)
Deprecated: Use WebAuthnOptions.ProtoReflect.Descriptor instead.
func (*WebAuthnOptions) GetAttestation ¶
func (x *WebAuthnOptions) GetAttestation() WebAuthnOptions_AttestationConveyancePreference
func (*WebAuthnOptions) GetAuthenticatorSelection ¶
func (x *WebAuthnOptions) GetAuthenticatorSelection() *WebAuthnOptions_AuthenticatorSelectionCriteria
func (*WebAuthnOptions) GetPubKeyCredParams ¶
func (x *WebAuthnOptions) GetPubKeyCredParams() []*WebAuthnOptions_PublicKeyCredentialParameters
func (*WebAuthnOptions) ProtoMessage ¶
func (*WebAuthnOptions) ProtoMessage()
func (*WebAuthnOptions) ProtoReflect ¶
func (x *WebAuthnOptions) ProtoReflect() protoreflect.Message
func (*WebAuthnOptions) Reset ¶
func (x *WebAuthnOptions) Reset()
func (*WebAuthnOptions) String ¶
func (x *WebAuthnOptions) String() string
type WebAuthnOptions_AttestationConveyancePreference ¶
type WebAuthnOptions_AttestationConveyancePreference int32
const ( WebAuthnOptions_NONE WebAuthnOptions_AttestationConveyancePreference = 0 WebAuthnOptions_INDIRECT WebAuthnOptions_AttestationConveyancePreference = 1 WebAuthnOptions_DIRECT WebAuthnOptions_AttestationConveyancePreference = 2 WebAuthnOptions_ENTERPRISE WebAuthnOptions_AttestationConveyancePreference = 3 )
func (WebAuthnOptions_AttestationConveyancePreference) Descriptor ¶
func (WebAuthnOptions_AttestationConveyancePreference) Descriptor() protoreflect.EnumDescriptor
func (WebAuthnOptions_AttestationConveyancePreference) EnumDescriptor
deprecated
func (WebAuthnOptions_AttestationConveyancePreference) EnumDescriptor() ([]byte, []int)
Deprecated: Use WebAuthnOptions_AttestationConveyancePreference.Descriptor instead.
func (WebAuthnOptions_AttestationConveyancePreference) Number ¶
func (x WebAuthnOptions_AttestationConveyancePreference) Number() protoreflect.EnumNumber
func (WebAuthnOptions_AttestationConveyancePreference) String ¶
func (x WebAuthnOptions_AttestationConveyancePreference) String() string
type WebAuthnOptions_AuthenticatorAttachment ¶
type WebAuthnOptions_AuthenticatorAttachment int32
const ( WebAuthnOptions_PLATFORM WebAuthnOptions_AuthenticatorAttachment = 0 WebAuthnOptions_CROSS_PLATFORM WebAuthnOptions_AuthenticatorAttachment = 2 )
func (WebAuthnOptions_AuthenticatorAttachment) Descriptor ¶
func (WebAuthnOptions_AuthenticatorAttachment) Descriptor() protoreflect.EnumDescriptor
func (WebAuthnOptions_AuthenticatorAttachment) EnumDescriptor
deprecated
func (WebAuthnOptions_AuthenticatorAttachment) EnumDescriptor() ([]byte, []int)
Deprecated: Use WebAuthnOptions_AuthenticatorAttachment.Descriptor instead.
func (WebAuthnOptions_AuthenticatorAttachment) Number ¶
func (x WebAuthnOptions_AuthenticatorAttachment) Number() protoreflect.EnumNumber
func (WebAuthnOptions_AuthenticatorAttachment) String ¶
func (x WebAuthnOptions_AuthenticatorAttachment) String() string
func (WebAuthnOptions_AuthenticatorAttachment) Type ¶
func (WebAuthnOptions_AuthenticatorAttachment) Type() protoreflect.EnumType
type WebAuthnOptions_AuthenticatorSelectionCriteria ¶
type WebAuthnOptions_AuthenticatorSelectionCriteria struct { AuthenticatorAttachment *WebAuthnOptions_AuthenticatorAttachment `` /* 198-byte string literal not displayed */ RequireResidentKey *bool `protobuf:"varint,2,opt,name=require_resident_key,json=requireResidentKey,proto3,oneof" json:"require_resident_key,omitempty"` ResidentKeyRequirement *WebAuthnOptions_ResidentKeyRequirement `` /* 196-byte string literal not displayed */ UserVerification *WebAuthnOptions_UserVerificationRequirement `` /* 181-byte string literal not displayed */ // contains filtered or unexported fields }
func (*WebAuthnOptions_AuthenticatorSelectionCriteria) Descriptor
deprecated
func (*WebAuthnOptions_AuthenticatorSelectionCriteria) Descriptor() ([]byte, []int)
Deprecated: Use WebAuthnOptions_AuthenticatorSelectionCriteria.ProtoReflect.Descriptor instead.
func (*WebAuthnOptions_AuthenticatorSelectionCriteria) GetAuthenticatorAttachment ¶
func (x *WebAuthnOptions_AuthenticatorSelectionCriteria) GetAuthenticatorAttachment() WebAuthnOptions_AuthenticatorAttachment
func (*WebAuthnOptions_AuthenticatorSelectionCriteria) GetRequireResidentKey ¶
func (x *WebAuthnOptions_AuthenticatorSelectionCriteria) GetRequireResidentKey() bool
func (*WebAuthnOptions_AuthenticatorSelectionCriteria) GetResidentKeyRequirement ¶
func (x *WebAuthnOptions_AuthenticatorSelectionCriteria) GetResidentKeyRequirement() WebAuthnOptions_ResidentKeyRequirement
func (*WebAuthnOptions_AuthenticatorSelectionCriteria) GetUserVerification ¶
func (x *WebAuthnOptions_AuthenticatorSelectionCriteria) GetUserVerification() WebAuthnOptions_UserVerificationRequirement
func (*WebAuthnOptions_AuthenticatorSelectionCriteria) ProtoMessage ¶
func (*WebAuthnOptions_AuthenticatorSelectionCriteria) ProtoMessage()
func (*WebAuthnOptions_AuthenticatorSelectionCriteria) ProtoReflect ¶
func (x *WebAuthnOptions_AuthenticatorSelectionCriteria) ProtoReflect() protoreflect.Message
func (*WebAuthnOptions_AuthenticatorSelectionCriteria) Reset ¶
func (x *WebAuthnOptions_AuthenticatorSelectionCriteria) Reset()
func (*WebAuthnOptions_AuthenticatorSelectionCriteria) String ¶
func (x *WebAuthnOptions_AuthenticatorSelectionCriteria) String() string
type WebAuthnOptions_PublicKeyCredentialParameters ¶
type WebAuthnOptions_PublicKeyCredentialParameters struct { Alg int64 `protobuf:"varint,1,opt,name=alg,proto3" json:"alg,omitempty"` Type WebAuthnOptions_PublicKeyCredentialType `protobuf:"varint,2,opt,name=type,proto3,enum=pomerium.device.WebAuthnOptions_PublicKeyCredentialType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*WebAuthnOptions_PublicKeyCredentialParameters) Descriptor
deprecated
func (*WebAuthnOptions_PublicKeyCredentialParameters) Descriptor() ([]byte, []int)
Deprecated: Use WebAuthnOptions_PublicKeyCredentialParameters.ProtoReflect.Descriptor instead.
func (*WebAuthnOptions_PublicKeyCredentialParameters) GetAlg ¶
func (x *WebAuthnOptions_PublicKeyCredentialParameters) GetAlg() int64
func (*WebAuthnOptions_PublicKeyCredentialParameters) GetType ¶
func (x *WebAuthnOptions_PublicKeyCredentialParameters) GetType() WebAuthnOptions_PublicKeyCredentialType
func (*WebAuthnOptions_PublicKeyCredentialParameters) ProtoMessage ¶
func (*WebAuthnOptions_PublicKeyCredentialParameters) ProtoMessage()
func (*WebAuthnOptions_PublicKeyCredentialParameters) ProtoReflect ¶
func (x *WebAuthnOptions_PublicKeyCredentialParameters) ProtoReflect() protoreflect.Message
func (*WebAuthnOptions_PublicKeyCredentialParameters) Reset ¶
func (x *WebAuthnOptions_PublicKeyCredentialParameters) Reset()
func (*WebAuthnOptions_PublicKeyCredentialParameters) String ¶
func (x *WebAuthnOptions_PublicKeyCredentialParameters) String() string
type WebAuthnOptions_PublicKeyCredentialType ¶
type WebAuthnOptions_PublicKeyCredentialType int32
const (
WebAuthnOptions_PUBLIC_KEY WebAuthnOptions_PublicKeyCredentialType = 0
)
func (WebAuthnOptions_PublicKeyCredentialType) Descriptor ¶
func (WebAuthnOptions_PublicKeyCredentialType) Descriptor() protoreflect.EnumDescriptor
func (WebAuthnOptions_PublicKeyCredentialType) EnumDescriptor
deprecated
func (WebAuthnOptions_PublicKeyCredentialType) EnumDescriptor() ([]byte, []int)
Deprecated: Use WebAuthnOptions_PublicKeyCredentialType.Descriptor instead.
func (WebAuthnOptions_PublicKeyCredentialType) Number ¶
func (x WebAuthnOptions_PublicKeyCredentialType) Number() protoreflect.EnumNumber
func (WebAuthnOptions_PublicKeyCredentialType) String ¶
func (x WebAuthnOptions_PublicKeyCredentialType) String() string
func (WebAuthnOptions_PublicKeyCredentialType) Type ¶
func (WebAuthnOptions_PublicKeyCredentialType) Type() protoreflect.EnumType
type WebAuthnOptions_ResidentKeyRequirement ¶
type WebAuthnOptions_ResidentKeyRequirement int32
const ( WebAuthnOptions_RESIDENT_KEY_DISCOURAGED WebAuthnOptions_ResidentKeyRequirement = 0 WebAuthnOptions_RESIDENT_KEY_PREFERRED WebAuthnOptions_ResidentKeyRequirement = 1 WebAuthnOptions_RESIDENT_KEY_REQUIRED WebAuthnOptions_ResidentKeyRequirement = 2 )
func (WebAuthnOptions_ResidentKeyRequirement) Descriptor ¶
func (WebAuthnOptions_ResidentKeyRequirement) Descriptor() protoreflect.EnumDescriptor
func (WebAuthnOptions_ResidentKeyRequirement) EnumDescriptor
deprecated
func (WebAuthnOptions_ResidentKeyRequirement) EnumDescriptor() ([]byte, []int)
Deprecated: Use WebAuthnOptions_ResidentKeyRequirement.Descriptor instead.
func (WebAuthnOptions_ResidentKeyRequirement) Number ¶
func (x WebAuthnOptions_ResidentKeyRequirement) Number() protoreflect.EnumNumber
func (WebAuthnOptions_ResidentKeyRequirement) String ¶
func (x WebAuthnOptions_ResidentKeyRequirement) String() string
func (WebAuthnOptions_ResidentKeyRequirement) Type ¶
func (WebAuthnOptions_ResidentKeyRequirement) Type() protoreflect.EnumType
type WebAuthnOptions_UserVerificationRequirement ¶
type WebAuthnOptions_UserVerificationRequirement int32
const ( WebAuthnOptions_USER_VERIFICATION_DISCOURAGED WebAuthnOptions_UserVerificationRequirement = 0 WebAuthnOptions_USER_VERIFICATION_PREFERRED WebAuthnOptions_UserVerificationRequirement = 1 WebAuthnOptions_USER_VERIFICATION_REQUIRED WebAuthnOptions_UserVerificationRequirement = 2 )
func (WebAuthnOptions_UserVerificationRequirement) Descriptor ¶
func (WebAuthnOptions_UserVerificationRequirement) Descriptor() protoreflect.EnumDescriptor
func (WebAuthnOptions_UserVerificationRequirement) EnumDescriptor
deprecated
func (WebAuthnOptions_UserVerificationRequirement) EnumDescriptor() ([]byte, []int)
Deprecated: Use WebAuthnOptions_UserVerificationRequirement.Descriptor instead.
func (WebAuthnOptions_UserVerificationRequirement) Number ¶
func (x WebAuthnOptions_UserVerificationRequirement) Number() protoreflect.EnumNumber
func (WebAuthnOptions_UserVerificationRequirement) String ¶
func (x WebAuthnOptions_UserVerificationRequirement) String() string
func (WebAuthnOptions_UserVerificationRequirement) Type ¶
func (WebAuthnOptions_UserVerificationRequirement) Type() protoreflect.EnumType