@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.
|
BufferSource |
challenge()
The challenge property of the PublicKeyCredentialRequestOptions dictionary is a BufferSource used as a cryptographic challenge.
|
static PublicKeyCredentialRequestOptions.Builder |
create(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(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(BufferSource challenge)
The challenge property of the PublicKeyCredentialRequestOptions dictionary is a BufferSource used as a cryptographic challenge.
|
void |
setExtensions(AuthenticationExtensionsClientInputs extensions)
extensions, an optional property of the PublicKeyCredentialRequestOptions dictionary, is an object providing the client extensions and their input values.
|
void |
setRpId(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(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 create(@Nonnull BufferSource challenge)
@JsProperty(name="allowCredentials") JsArray<PublicKeyCredentialDescriptor> allowCredentials()
@JsProperty
void setAllowCredentials(@Nonnull
JsArray<PublicKeyCredentialDescriptor> allowCredentials)
@JsOverlay
default void setAllowCredentials(@Nonnull
PublicKeyCredentialDescriptor... allowCredentials)
@JsProperty(name="challenge") @Nonnull BufferSource challenge()
@JsProperty
void setChallenge(@Nonnull
BufferSource challenge)
@JsProperty(name="extensions") AuthenticationExtensionsClientInputs extensions()
@JsProperty
void setExtensions(@Nonnull
AuthenticationExtensionsClientInputs extensions)
@JsProperty(name="rpId") java.lang.String rpId()
@JsProperty
void setRpId(@Nonnull
java.lang.String rpId)
@JsProperty(name="timeout") int timeout()
@JsProperty void setTimeout(int timeout)
@JsProperty(name="userVerification") @UserVerificationRequirement java.lang.String userVerification()
@JsProperty void setUserVerification(@UserVerificationRequirement @Nonnull java.lang.String userVerification)