Class AssertionExtensionInputs.AssertionExtensionInputsBuilder
- java.lang.Object
-
- com.yubico.webauthn.data.AssertionExtensionInputs.AssertionExtensionInputsBuilder
-
- Enclosing class:
- AssertionExtensionInputs
public static class AssertionExtensionInputs.AssertionExtensionInputsBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssertionExtensionInputs.AssertionExtensionInputsBuilder
appid(@NonNull java.util.Optional<AppId> appid)
The input to the FIDO AppID Extension (appid
).AssertionExtensionInputs.AssertionExtensionInputsBuilder
appid(AppId appid)
The input to the FIDO AppID Extension (appid
).AssertionExtensionInputs
build()
AssertionExtensionInputs.AssertionExtensionInputsBuilder
largeBlob(Extensions.LargeBlob.LargeBlobAuthenticationInput largeBlob)
Enable the Large blob storage extension (largeBlob
).java.lang.String
toString()
AssertionExtensionInputs.AssertionExtensionInputsBuilder
uvm()
Enable the User Verification Method Extension (uvm
).
-
-
-
Method Detail
-
appid
public AssertionExtensionInputs.AssertionExtensionInputsBuilder appid(@NonNull @NonNull java.util.Optional<AppId> appid)
The input to the FIDO AppID Extension (appid
).You usually do not need to call this method explicitly; if
RelyingParty.getAppId()
is present, thenRelyingParty.startAssertion(StartAssertionOptions)
will enable this extension automatically.This extension allows WebAuthn Relying Parties that have previously registered a credential using the legacy FIDO JavaScript APIs to request an assertion. The FIDO APIs use an alternative identifier for Relying Parties called an AppID, and any credentials created using those APIs will be scoped to that identifier. Without this extension, they would need to be re-registered in order to be scoped to an RP ID.
This extension does not allow FIDO-compatible credentials to be created. Thus, credentials created with WebAuthn are not backwards compatible with the FIDO JavaScript APIs.
- See Also:
- §10.1. FIDO AppID Extension (appid)
-
appid
public AssertionExtensionInputs.AssertionExtensionInputsBuilder appid(AppId appid)
The input to the FIDO AppID Extension (appid
).You usually do not need to call this method explicitly; if
RelyingParty.getAppId()
is present, thenRelyingParty.startAssertion(StartAssertionOptions)
will enable this extension automatically.This extension allows WebAuthn Relying Parties that have previously registered a credential using the legacy FIDO JavaScript APIs to request an assertion. The FIDO APIs use an alternative identifier for Relying Parties called an AppID, and any credentials created using those APIs will be scoped to that identifier. Without this extension, they would need to be re-registered in order to be scoped to an RP ID.
This extension does not allow FIDO-compatible credentials to be created. Thus, credentials created with WebAuthn are not backwards compatible with the FIDO JavaScript APIs.
- See Also:
- §10.1. FIDO AppID Extension (appid)
-
largeBlob
public AssertionExtensionInputs.AssertionExtensionInputsBuilder largeBlob(Extensions.LargeBlob.LargeBlobAuthenticationInput largeBlob)
Enable the Large blob storage extension (largeBlob
).Suitable arguments can be obtained using
Extensions.LargeBlob.LargeBlobAuthenticationInput.read()
orExtensions.LargeBlob.LargeBlobAuthenticationInput.write(ByteArray)
.
-
uvm
public AssertionExtensionInputs.AssertionExtensionInputsBuilder uvm()
Enable the User Verification Method Extension (uvm
).
-
build
public AssertionExtensionInputs build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-