@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface PublicKeyCredentialRequestOptions
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PublicKeyCredentialRequestOptions.Builder
The PublicKeyCredentialRequestOptions dictionary of the Web Authentication API holds the options passed to navigator.credentials.get() in order to fetch a given PublicKeyCredential.
|
| Modifier and Type | Method and Description |
|---|---|
JsArray<PublicKeyCredentialDescriptor> |
allowCredentials()
allowCredentials is an optional property of the PublicKeyCredentialRequestOptions dictionary which indicates the existing credentials acceptable for retrieval.
|
@JsNonNull BufferSource |
challenge()
The challenge property of the PublicKeyCredentialRequestOptions dictionary is a BufferSource used as a cryptographic challenge.
|
static PublicKeyCredentialRequestOptions.Builder |
challenge(BufferSource challenge) |
AuthenticationExtensionsClientInputs |
extensions()
extensions, an optional property of the PublicKeyCredentialRequestOptions dictionary, is an object providing the client extensions and their input values.
|
java.lang.String |
rpId()
The rpId property, of the PublicKeyCredentialRequestOptions dictionary, is an optional property which indicates the relying party's identifier as a USVString.
|
void |
setAllowCredentials(@JsNonNull JsArray<PublicKeyCredentialDescriptor> allowCredentials)
allowCredentials is an optional property of the PublicKeyCredentialRequestOptions dictionary which indicates the existing credentials acceptable for retrieval.
|
default void |
setAllowCredentials(PublicKeyCredentialDescriptor... allowCredentials)
allowCredentials is an optional property of the PublicKeyCredentialRequestOptions dictionary which indicates the existing credentials acceptable for retrieval.
|
void |
setChallenge(@JsNonNull BufferSource challenge)
The challenge property of the PublicKeyCredentialRequestOptions dictionary is a BufferSource used as a cryptographic challenge.
|
void |
setExtensions(@JsNonNull AuthenticationExtensionsClientInputs extensions)
extensions, an optional property of the PublicKeyCredentialRequestOptions dictionary, is an object providing the client extensions and their input values.
|
void |
setRpId(@JsNonNull java.lang.String rpId)
The rpId property, of the PublicKeyCredentialRequestOptions dictionary, is an optional property which indicates the relying party's identifier as a USVString.
|
void |
setTimeout(int timeout)
The timeout property, of the PublicKeyCredentialRequestOptions dictionary, represents an hint, given in milliseconds, for the time the script is willing to wait for the completion of the retrieval operation.
|
void |
setUserVerification(@JsNonNull java.lang.String userVerification)
userVerification is an optional property of the PublicKeyCredentialRequestOptions.
|
int |
timeout()
The timeout property, of the PublicKeyCredentialRequestOptions dictionary, represents an hint, given in milliseconds, for the time the script is willing to wait for the completion of the retrieval operation.
|
java.lang.String |
userVerification()
userVerification is an optional property of the PublicKeyCredentialRequestOptions.
|
@JsOverlay @Nonnull static PublicKeyCredentialRequestOptions.Builder challenge(@Nonnull BufferSource challenge)
@JsProperty(name="allowCredentials") JsArray<PublicKeyCredentialDescriptor> allowCredentials()
@JsProperty void setAllowCredentials(@JsNonNull JsArray<PublicKeyCredentialDescriptor> allowCredentials)
@JsOverlay
default void setAllowCredentials(@Nonnull
PublicKeyCredentialDescriptor... allowCredentials)
@JsProperty(name="challenge") @JsNonNull BufferSource challenge()
@JsProperty void setChallenge(@JsNonNull BufferSource challenge)
@JsProperty(name="extensions") AuthenticationExtensionsClientInputs extensions()
@JsProperty void setExtensions(@JsNonNull AuthenticationExtensionsClientInputs extensions)
@JsProperty(name="rpId") java.lang.String rpId()
@JsProperty void setRpId(@JsNonNull java.lang.String rpId)
@JsProperty(name="timeout") int timeout()
@JsProperty void setTimeout(int timeout)
@JsProperty(name="userVerification") java.lang.String userVerification()
@JsProperty void setUserVerification(@JsNonNull java.lang.String userVerification)