public final class AssertionExtensionInputs extends java.lang.Object implements ExtensionInputs
navigator.credentials.get()
operation. All members are optional.
The authenticator extension inputs are derived from these client extension inputs.
Modifier and Type | Class and Description |
---|---|
static class |
AssertionExtensionInputs.AssertionExtensionInputsBuilder |
Modifier and Type | Method and Description |
---|---|
static AssertionExtensionInputs.AssertionExtensionInputsBuilder |
builder() |
boolean |
equals(java.lang.Object o) |
@NonNull java.util.Optional<AppId> |
getAppid()
The input to the FIDO AppID Extension (
appid ). |
java.util.Set<java.lang.String> |
getExtensionIds()
Returns a
Set of the extension IDs for which an extension input is present. |
int |
hashCode() |
AssertionExtensionInputs.AssertionExtensionInputsBuilder |
toBuilder() |
java.lang.String |
toString() |
public java.util.Set<java.lang.String> getExtensionIds()
ExtensionInputs
Set
of the extension IDs for which an extension input is present.getExtensionIds
in interface ExtensionInputs
public static AssertionExtensionInputs.AssertionExtensionInputsBuilder builder()
public AssertionExtensionInputs.AssertionExtensionInputsBuilder toBuilder()
@NonNull public @NonNull java.util.Optional<AppId> getAppid()
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 the RelyingParty.RelyingPartyBuilder#appId(Optional)
parameter is given when constructing the RelyingParty
instance.
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object