pub struct Request {
pub rp_id: String,
pub client_data_hash: Bytes,
pub allow_list: Option<Vec<PublicKeyCredentialDescriptor>>,
pub extensions: Option<ExtensionInputs>,
pub options: Options,
pub pin_auth: Option<Bytes>,
pub pin_protocol: Option<u8>,
}Expand description
While similar in structure to PublicKeyCredentialRequestOptions,
it is not completely identical, namely the presence of the options key.
Fields§
§rp_id: StringRelying Party Identifier
client_data_hash: BytesHash of the serialized client data collected by the host.
See CollectedClientData
allow_list: Option<Vec<PublicKeyCredentialDescriptor>>A sequence of PublicKeyCredentialDescriptor structures, each denoting a credential. If this parameter is present and has 1 or more entries, the authenticator MUST only generate an assertion using one of the denoted credentials.
extensions: Option<ExtensionInputs>Parameters to influence authenticator operation. These parameters might be authenticator specific.
options: OptionsParameters to influence authenticator operation, see Options for more details.
pin_auth: Option<Bytes>First 16 bytes of HMAC-SHA-256 of clientDataHash using pinToken which platform got from the authenticator: HMAC-SHA-256(pinToken, clientDataHash). (NOT YET SUPPORTED)
pin_protocol: Option<u8>PIN protocol version chosen by the client