@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface PublicKeyCredentialRequestOptions
| 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.
|
default PublicKeyCredentialRequestOptions |
allowCredentials(JsArray<PublicKeyCredentialDescriptor> allowCredentials)
allowCredentials is an optional property of the PublicKeyCredentialRequestOptions dictionary which indicates the existing credentials acceptable for retrieval.
|
default PublicKeyCredentialRequestOptions |
allowCredentials(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.
|
default PublicKeyCredentialRequestOptions |
challenge(BufferSource challenge)
The challenge property of the PublicKeyCredentialRequestOptions dictionary is a BufferSource used as a cryptographic challenge.
|
static PublicKeyCredentialRequestOptions |
create(BufferSource challenge) |
AuthenticationExtensionsClientInputs |
extensions()
extensions, an optional property of the PublicKeyCredentialRequestOptions dictionary, is an object providing the client extensions and their input values.
|
default PublicKeyCredentialRequestOptions |
extensions(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.
|
default PublicKeyCredentialRequestOptions |
rpId(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.
|
default PublicKeyCredentialRequestOptions |
timeout(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.
|
default PublicKeyCredentialRequestOptions |
userVerification(java.lang.String userVerification)
userVerification is an optional property of the PublicKeyCredentialRequestOptions.
|
@JsOverlay @Nonnull static PublicKeyCredentialRequestOptions create(@Nonnull BufferSource challenge)
@JsProperty(name="allowCredentials") JsArray<PublicKeyCredentialDescriptor> allowCredentials()
@JsProperty
void setAllowCredentials(@Nonnull
JsArray<PublicKeyCredentialDescriptor> allowCredentials)
@JsOverlay @Nonnull default PublicKeyCredentialRequestOptions allowCredentials(@Nonnull JsArray<PublicKeyCredentialDescriptor> allowCredentials)
@JsOverlay
default void setAllowCredentials(@Nonnull
PublicKeyCredentialDescriptor... allowCredentials)
@JsOverlay @Nonnull default PublicKeyCredentialRequestOptions allowCredentials(@Nonnull PublicKeyCredentialDescriptor... allowCredentials)
@JsProperty(name="challenge") @Nonnull BufferSource challenge()
@JsProperty
void setChallenge(@Nonnull
BufferSource challenge)
@JsOverlay @Nonnull default PublicKeyCredentialRequestOptions challenge(@Nonnull BufferSource challenge)
@JsProperty(name="extensions") AuthenticationExtensionsClientInputs extensions()
@JsProperty
void setExtensions(@Nonnull
AuthenticationExtensionsClientInputs extensions)
@JsOverlay @Nonnull default PublicKeyCredentialRequestOptions extensions(@Nonnull AuthenticationExtensionsClientInputs extensions)
@JsProperty(name="rpId") java.lang.String rpId()
@JsProperty
void setRpId(@Nonnull
java.lang.String rpId)
@JsOverlay @Nonnull default PublicKeyCredentialRequestOptions rpId(@Nonnull java.lang.String rpId)
@JsProperty(name="timeout") int timeout()
@JsProperty void setTimeout(int timeout)
@JsOverlay @Nonnull default PublicKeyCredentialRequestOptions timeout(int timeout)
@JsProperty(name="userVerification") @UserVerificationRequirement java.lang.String userVerification()
@JsProperty void setUserVerification(@UserVerificationRequirement @Nonnull java.lang.String userVerification)
@JsOverlay @Nonnull default PublicKeyCredentialRequestOptions userVerification(@UserVerificationRequirement @Nonnull java.lang.String userVerification)