Package com.yubico.webauthn.data
Class PublicKeyCredentialRequestOptions
- java.lang.Object
-
- com.yubico.webauthn.data.PublicKeyCredentialRequestOptions
-
public final class PublicKeyCredentialRequestOptions extends java.lang.Object
The PublicKeyCredentialRequestOptions dictionary supplies get() with the data it needs to generate an assertion.Its `challenge` member must be present, while its other members are optional.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder.MandatoryStages
builder()
boolean
equals(java.lang.Object o)
java.util.Optional<java.util.List<PublicKeyCredentialDescriptor>>
getAllowCredentials()
@NonNull ByteArray
getChallenge()
A challenge that the selected authenticator signs, along with other data, when producing an authentication assertion.@NonNull AssertionExtensionInputs
getExtensions()
Additional parameters requesting additional processing by the client and authenticator.java.lang.String
getRpId()
Specifies the relying party identifier claimed by the caller.java.util.Optional<java.lang.Long>
getTimeout()
@NonNull UserVerificationRequirement
getUserVerification()
Describes the Relying Party's requirements regarding user verification for thenavigator.credentials.get()
operation.int
hashCode()
PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getTimeout
public java.util.Optional<java.lang.Long> getTimeout()
-
getAllowCredentials
public java.util.Optional<java.util.List<PublicKeyCredentialDescriptor>> getAllowCredentials()
-
builder
public static PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder.MandatoryStages builder()
-
toBuilder
public PublicKeyCredentialRequestOptions.PublicKeyCredentialRequestOptionsBuilder toBuilder()
-
getChallenge
@NonNull public @NonNull ByteArray getChallenge()
A challenge that the selected authenticator signs, along with other data, when producing an authentication assertion. See the §13.1 Cryptographic Challenges security consideration.
-
getRpId
public java.lang.String getRpId()
Specifies the relying party identifier claimed by the caller.If omitted, its value will be set by the client.
-
getUserVerification
@NonNull public @NonNull UserVerificationRequirement getUserVerification()
Describes the Relying Party's requirements regarding user verification for thenavigator.credentials.get()
operation.Eligible authenticators are filtered to only those capable of satisfying this requirement.
-
getExtensions
@NonNull public @NonNull AssertionExtensionInputs getExtensions()
Additional parameters requesting additional processing by the client and authenticator.For example, if transaction confirmation is sought from the user, then the prompt string might be included as an extension.
-
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
-
-