@@ -4,23 +4,23 @@ import com.gu.googleauth.UserIdentity
44import com .webauthn4j .WebAuthnManager
55import com .webauthn4j .converter .exception .DataConversionException
66import com .webauthn4j .credential .{CredentialRecord , CredentialRecordImpl }
7- import com .webauthn4j .data .AttestationConveyancePreference .NONE
7+ import com .webauthn4j .data .AttestationConveyancePreference .{ DIRECT , NONE }
88import com .webauthn4j .data .PublicKeyCredentialType .PUBLIC_KEY
99import com .webauthn4j .data .UserVerificationRequirement .REQUIRED
10- import com .webauthn4j .data ._
10+ import com .webauthn4j .data .*
1111import com .webauthn4j .data .attestation .statement .COSEAlgorithmIdentifier
1212import com .webauthn4j .data .client .Origin
1313import com .webauthn4j .data .client .challenge .{Challenge , DefaultChallenge }
14- import com .webauthn4j .data .extension .client ._
14+ import com .webauthn4j .data .extension .client .*
1515import com .webauthn4j .server .ServerProperty
1616import com .webauthn4j .util .Base64UrlUtil
1717import com .webauthn4j .verifier .exception .VerificationException
18- import models ._
18+ import models .*
1919
2020import java .net .URI
2121import java .nio .charset .StandardCharsets .UTF_8
2222import scala .concurrent .duration .{Duration , SECONDS }
23- import scala .jdk .CollectionConverters ._
23+ import scala .jdk .CollectionConverters .*
2424import scala .util .{Failure , Try }
2525
2626/** Logic for registration of passkeys and authentication using them. */
@@ -100,7 +100,7 @@ object Passkey {
100100 }
101101 val authenticatorSelection : AuthenticatorSelectionCriteria = null
102102 val hints : Seq [PublicKeyCredentialHints ] = Nil
103- val attestation : AttestationConveyancePreference = NONE
103+ val attestation = DIRECT
104104 val extensions : AuthenticationExtensionsClientInputs [
105105 RegistrationExtensionClientInput
106106 ] = null
0 commit comments