@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface PublicKeyCredentialCreationOptions
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PublicKeyCredentialCreationOptions.Builder
The PublicKeyCredentialCreationOptions dictionary of the Web Authentication API holds options passed to navigators.credentials.create() in order to create a PublicKeyCredential.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
attestation()
attestation is an optional property of the PublicKeyCredentialCreationOptions dictionary.
|
AuthenticatorSelectionCriteria |
authenticatorSelection()
authenticatorSelection, an optional property of the PublicKeyCredentialCreationOptions dictionary, is an object giving criteria to filter out the authenticators to be used for the creation operation.
|
@JsNonNull BufferSource |
challenge()
The challenge property of the PublicKeyCredentialCreationOptions dictionary is a BufferSource used as a cryptographic challenge.
|
static PublicKeyCredentialCreationOptions.Builder |
create(BufferSource challenge,
JsArray<PublicKeyCredentialParameters> pubKeyCredParams,
PublicKeyCredentialRpEntity rp,
PublicKeyCredentialUserEntity user) |
static PublicKeyCredentialCreationOptions.Builder |
create(BufferSource challenge,
PublicKeyCredentialParameters[] pubKeyCredParams,
PublicKeyCredentialRpEntity rp,
PublicKeyCredentialUserEntity user) |
JsArray<PublicKeyCredentialDescriptor> |
excludeCredentials()
excludeCredentials, an optional property of the PublicKeyCredentialCreationOptions dictionary, is an Array whose elements are descriptors for the public keys already existing for a given user.
|
AuthenticationExtensionsClientInputs |
extensions()
extensions, an optional property of the PublicKeyCredentialCreationOptions dictionary, is an object providing the client extensions and their input values.
|
@JsNonNull JsArray<PublicKeyCredentialParameters> |
pubKeyCredParams()
The pubKeyCredParams property of the PublicKeyCredentialCreationOptions dictionary is an Array whose elements are objects describing the desired features of the credential to be created.
|
@JsNonNull PublicKeyCredentialRpEntity |
rp()
The rp property of the PublicKeyCredentialCreationOptions dictionary is an object describing the relying party which requested the credential creation (via navigator.credentials.create()).
|
void |
setAttestation(@JsNonNull java.lang.String attestation)
attestation is an optional property of the PublicKeyCredentialCreationOptions dictionary.
|
void |
setAuthenticatorSelection(@JsNonNull AuthenticatorSelectionCriteria authenticatorSelection)
authenticatorSelection, an optional property of the PublicKeyCredentialCreationOptions dictionary, is an object giving criteria to filter out the authenticators to be used for the creation operation.
|
void |
setChallenge(@JsNonNull BufferSource challenge)
The challenge property of the PublicKeyCredentialCreationOptions dictionary is a BufferSource used as a cryptographic challenge.
|
void |
setExcludeCredentials(@JsNonNull JsArray<PublicKeyCredentialDescriptor> excludeCredentials)
excludeCredentials, an optional property of the PublicKeyCredentialCreationOptions dictionary, is an Array whose elements are descriptors for the public keys already existing for a given user.
|
default void |
setExcludeCredentials(PublicKeyCredentialDescriptor... excludeCredentials)
excludeCredentials, an optional property of the PublicKeyCredentialCreationOptions dictionary, is an Array whose elements are descriptors for the public keys already existing for a given user.
|
void |
setExtensions(@JsNonNull AuthenticationExtensionsClientInputs extensions)
extensions, an optional property of the PublicKeyCredentialCreationOptions dictionary, is an object providing the client extensions and their input values.
|
void |
setPubKeyCredParams(@JsNonNull JsArray<PublicKeyCredentialParameters> pubKeyCredParams)
The pubKeyCredParams property of the PublicKeyCredentialCreationOptions dictionary is an Array whose elements are objects describing the desired features of the credential to be created.
|
default void |
setPubKeyCredParams(PublicKeyCredentialParameters... pubKeyCredParams)
The pubKeyCredParams property of the PublicKeyCredentialCreationOptions dictionary is an Array whose elements are objects describing the desired features of the credential to be created.
|
void |
setRp(@JsNonNull PublicKeyCredentialRpEntity rp)
The rp property of the PublicKeyCredentialCreationOptions dictionary is an object describing the relying party which requested the credential creation (via navigator.credentials.create()).
|
void |
setTimeout(int timeout)
The timeout property, of the PublicKeyCredentialCreationOptions dictionary, represents an hint, given in milliseconds, for the time the script is willing to wait for the completion of the creation operation.
|
void |
setUser(@JsNonNull PublicKeyCredentialUserEntity user)
The user property of the PublicKeyCredentialCreationOptions dictionary is an object describing the user account for which the credentials are generated (via navigator.credentials.create()).
|
int |
timeout()
The timeout property, of the PublicKeyCredentialCreationOptions dictionary, represents an hint, given in milliseconds, for the time the script is willing to wait for the completion of the creation operation.
|
@JsNonNull PublicKeyCredentialUserEntity |
user()
The user property of the PublicKeyCredentialCreationOptions dictionary is an object describing the user account for which the credentials are generated (via navigator.credentials.create()).
|
@JsOverlay @Nonnull static PublicKeyCredentialCreationOptions.Builder create(@Nonnull BufferSource challenge, @Nonnull JsArray<PublicKeyCredentialParameters> pubKeyCredParams, @Nonnull PublicKeyCredentialRpEntity rp, @Nonnull PublicKeyCredentialUserEntity user)
@JsOverlay @Nonnull static PublicKeyCredentialCreationOptions.Builder create(@Nonnull BufferSource challenge, @Nonnull PublicKeyCredentialParameters[] pubKeyCredParams, @Nonnull PublicKeyCredentialRpEntity rp, @Nonnull PublicKeyCredentialUserEntity user)
@JsProperty(name="attestation") java.lang.String attestation()
@JsProperty void setAttestation(@JsNonNull java.lang.String attestation)
@JsProperty(name="authenticatorSelection") AuthenticatorSelectionCriteria authenticatorSelection()
@JsProperty void setAuthenticatorSelection(@JsNonNull AuthenticatorSelectionCriteria authenticatorSelection)
@JsProperty(name="challenge") @JsNonNull BufferSource challenge()
@JsProperty void setChallenge(@JsNonNull BufferSource challenge)
@JsProperty(name="excludeCredentials") JsArray<PublicKeyCredentialDescriptor> excludeCredentials()
@JsProperty void setExcludeCredentials(@JsNonNull JsArray<PublicKeyCredentialDescriptor> excludeCredentials)
@JsOverlay
default void setExcludeCredentials(@Nonnull
PublicKeyCredentialDescriptor... excludeCredentials)
@JsProperty(name="extensions") AuthenticationExtensionsClientInputs extensions()
@JsProperty void setExtensions(@JsNonNull AuthenticationExtensionsClientInputs extensions)
@JsProperty(name="pubKeyCredParams") @JsNonNull JsArray<PublicKeyCredentialParameters> pubKeyCredParams()
@JsProperty void setPubKeyCredParams(@JsNonNull JsArray<PublicKeyCredentialParameters> pubKeyCredParams)
@JsOverlay
default void setPubKeyCredParams(@Nonnull
PublicKeyCredentialParameters... pubKeyCredParams)
@JsProperty(name="rp") @JsNonNull PublicKeyCredentialRpEntity rp()
@JsProperty void setRp(@JsNonNull PublicKeyCredentialRpEntity rp)
@JsProperty(name="timeout") int timeout()
@JsProperty void setTimeout(int timeout)
@JsProperty(name="user") @JsNonNull PublicKeyCredentialUserEntity user()
@JsProperty void setUser(@JsNonNull PublicKeyCredentialUserEntity user)