@@ -11,8 +11,7 @@ use tracing_subscriber::{self, EnvFilter};
1111
1212use libwebauthn:: ops:: webauthn:: {
1313 CredentialProtectionExtension , CredentialProtectionPolicy , GetAssertionHmacOrPrfInput ,
14- GetAssertionRequest , GetAssertionRequestExtensions , HMACGetSecretInput ,
15- MakeCredentialHmacOrPrfInput , MakeCredentialLargeBlobExtension , MakeCredentialRequest ,
14+ GetAssertionRequest , GetAssertionRequestExtensions , HMACGetSecretInput , MakeCredentialRequest ,
1615 MakeCredentialsRequestExtensions , ResidentKeyRequirement , UserVerificationRequirement ,
1716} ;
1817use libwebauthn:: pin:: PinRequestReason ;
@@ -88,10 +87,11 @@ pub async fn main() -> Result<(), Box<dyn Error>> {
8887 policy : CredentialProtectionPolicy :: UserVerificationRequired ,
8988 enforce_policy : true ,
9089 } ) ,
91- cred_blob : Some ( r "My own little blob". into ( ) ) ,
92- large_blob : MakeCredentialLargeBlobExtension :: None ,
90+ cred_blob : Some ( "My own little blob" . as_bytes ( ) . into ( ) ) ,
91+ large_blob : None ,
9392 min_pin_length : Some ( true ) ,
94- hmac_or_prf : MakeCredentialHmacOrPrfInput :: HmacGetSecret ,
93+ hmac_create_secret : Some ( true ) ,
94+ prf : None ,
9595 cred_props : Some ( true ) ,
9696 } ;
9797
0 commit comments