Package com.yubico.webauthn.data
Class ClientRegistrationExtensionOutputs
- java.lang.Object
-
- com.yubico.webauthn.data.ClientRegistrationExtensionOutputs
-
- All Implemented Interfaces:
ClientExtensionOutputs
,ExtensionOutputs
public final class ClientRegistrationExtensionOutputs extends java.lang.Object implements ClientExtensionOutputs
Contains client extension outputs from anavigator.credentials.create()
operation.Note that there is no guarantee that any extension input present in
AssertionExtensionInputs
will have a corresponding output present here.The authenticator extension outputs are contained in the
AuthenticatorData
structure.- See Also:
- §9. WebAuthn Extensions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClientRegistrationExtensionOutputs.ClientRegistrationExtensionOutputsBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClientRegistrationExtensionOutputs.ClientRegistrationExtensionOutputsBuilder
builder()
boolean
equals(java.lang.Object o)
java.util.Optional<java.lang.Boolean>
getAppidExclude()
The extension output for the FIDO AppID Exclusion (appidExclude
) Extension, if any.java.util.Optional<Extensions.CredentialProperties.CredentialPropertiesOutput>
getCredProps()
The extension output for the Credential Properties Extension (credProps
), if any.java.util.Set<java.lang.String>
getExtensionIds()
Returns aSet
of the extension IDs for which an extension output is present.java.util.Optional<Extensions.LargeBlob.LargeBlobRegistrationOutput>
getLargeBlob()
The extension output for the Large blob storage extension (largeBlob
), if any.int
hashCode()
ClientRegistrationExtensionOutputs.ClientRegistrationExtensionOutputsBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getExtensionIds
public java.util.Set<java.lang.String> getExtensionIds()
Description copied from interface:ExtensionOutputs
Returns aSet
of the extension IDs for which an extension output is present.- Specified by:
getExtensionIds
in interfaceExtensionOutputs
-
getAppidExclude
public java.util.Optional<java.lang.Boolean> getAppidExclude()
The extension output for the FIDO AppID Exclusion (appidExclude
) Extension, if any.This value is generally not useful, as it only communicates whether the client supports the extension.
-
getCredProps
public java.util.Optional<Extensions.CredentialProperties.CredentialPropertiesOutput> getCredProps()
The extension output for the Credential Properties Extension (credProps
), if any.This value MAY be present but have all members empty if the extension was successfully processed but no credential properties could be determined.
-
getLargeBlob
public java.util.Optional<Extensions.LargeBlob.LargeBlobRegistrationOutput> getLargeBlob()
The extension output for the Large blob storage extension (largeBlob
), if any.
-
builder
public static ClientRegistrationExtensionOutputs.ClientRegistrationExtensionOutputsBuilder builder()
-
toBuilder
public ClientRegistrationExtensionOutputs.ClientRegistrationExtensionOutputsBuilder toBuilder()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-