io.fusionauth.domain.webauthn.PublicKeyCredentialRequestOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fusionauth-java-client Show documentation
Show all versions of fusionauth-java-client Show documentation
The Java Client library provides a native Java binding to the FusionAuth REST API.
/*
* Copyright (c) 2022, FusionAuth, All Rights Reserved
*/
package io.fusionauth.domain.webauthn;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.fusionauth.domain.Buildable;
/**
* Provides the authenticator with the data it needs to generate an assertion.
*
* @author Spencer Witt
*/
public class PublicKeyCredentialRequestOptions implements Buildable {
/**
* List of credentials acceptable to the caller in order from most- to least-preferred
*/
public List allowCredentials;
/**
* The challenge the authenticator must sign to produce an authentication assertion in base64URL-encoded format
*/
public String challenge;
/**
* A unique identifier for the Relying Party. Defaults to the calling host's effective domain
*/
@JsonProperty("rpId")
public String relyingPartyId;
/**
* The time the caller is willing to wait for the operation to complete in milliseconds. This value is treated as a hint and may be overridden by
* the client
*/
public long timeout;
/**
* Specifies the Relying Party's requirements for user verification. Authenticators default this to
* {@link UserVerificationRequirement#preferred}.
*/
public UserVerificationRequirement userVerification;
}