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()
java.lang.String
toString()
-
-
-
Method Detail
-
appid
public AssertionExtensionInputs.AssertionExtensionInputsBuilder appid(@NonNull @NonNull java.util.Optional<AppId> appid)
The input to the FIDO AppID Extension (appid
).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.
RelyingParty.startAssertion(StartAssertionOptions)
sets this extension input automatically if theRelyingParty.RelyingPartyBuilder.appId(Optional)
parameter is given when constructing theRelyingParty
instance.- See Also:
- §10.1. FIDO AppID Extension (appid)
-
appid
public AssertionExtensionInputs.AssertionExtensionInputsBuilder appid(AppId appid)
The input to the FIDO AppID Extension (appid
).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.
RelyingParty.startAssertion(StartAssertionOptions)
sets this extension input automatically if theRelyingParty.RelyingPartyBuilder.appId(Optional)
parameter is given when constructing theRelyingParty
instance.- See Also:
- §10.1. FIDO AppID Extension (appid)
-
build
public AssertionExtensionInputs build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-