@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface PublicKeyCredentialCreationOptions
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
attestation()
attestation is an optional property of the PublicKeyCredentialCreationOptions dictionary.
|
default PublicKeyCredentialCreationOptions |
attestation(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.
|
default PublicKeyCredentialCreationOptions |
authenticatorSelection(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.
|
BufferSource |
challenge()
The challenge property of the PublicKeyCredentialCreationOptions dictionary is a BufferSource used as a cryptographic challenge.
|
default PublicKeyCredentialCreationOptions |
challenge(BufferSource challenge)
The challenge property of the PublicKeyCredentialCreationOptions dictionary is a BufferSource used as a cryptographic challenge.
|
static PublicKeyCredentialCreationOptions |
create(BufferSource challenge,
JsArray<PublicKeyCredentialParameters> pubKeyCredParams,
PublicKeyCredentialRpEntity rp,
PublicKeyCredentialUserEntity user) |
static PublicKeyCredentialCreationOptions |
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.
|
default PublicKeyCredentialCreationOptions |
excludeCredentials(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 PublicKeyCredentialCreationOptions |
excludeCredentials(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.
|
default PublicKeyCredentialCreationOptions |
extensions(AuthenticationExtensionsClientInputs extensions)
extensions, an optional property of the PublicKeyCredentialCreationOptions dictionary, is an object providing the client extensions and their input values.
|
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 PublicKeyCredentialCreationOptions |
pubKeyCredParams(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 PublicKeyCredentialCreationOptions |
pubKeyCredParams(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.
|
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()).
|
default PublicKeyCredentialCreationOptions |
rp(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(java.lang.String attestation)
attestation is an optional property of the PublicKeyCredentialCreationOptions dictionary.
|
void |
setAuthenticatorSelection(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(BufferSource challenge)
The challenge property of the PublicKeyCredentialCreationOptions dictionary is a BufferSource used as a cryptographic challenge.
|
void |
setExcludeCredentials(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(AuthenticationExtensionsClientInputs extensions)
extensions, an optional property of the PublicKeyCredentialCreationOptions dictionary, is an object providing the client extensions and their input values.
|
void |
setPubKeyCredParams(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(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(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.
|
default PublicKeyCredentialCreationOptions |
timeout(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.
|
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()).
|
default PublicKeyCredentialCreationOptions |
user(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 create(@Nonnull BufferSource challenge, @Nonnull JsArray<PublicKeyCredentialParameters> pubKeyCredParams, @Nonnull PublicKeyCredentialRpEntity rp, @Nonnull PublicKeyCredentialUserEntity user)
@JsOverlay @Nonnull static PublicKeyCredentialCreationOptions create(@Nonnull BufferSource challenge, @Nonnull PublicKeyCredentialParameters[] pubKeyCredParams, @Nonnull PublicKeyCredentialRpEntity rp, @Nonnull PublicKeyCredentialUserEntity user)
@JsProperty(name="attestation") @AttestationConveyancePreference java.lang.String attestation()
@JsProperty void setAttestation(@AttestationConveyancePreference @Nonnull java.lang.String attestation)
@JsOverlay @Nonnull default PublicKeyCredentialCreationOptions attestation(@AttestationConveyancePreference @Nonnull java.lang.String attestation)
@JsProperty(name="authenticatorSelection") AuthenticatorSelectionCriteria authenticatorSelection()
@JsProperty
void setAuthenticatorSelection(@Nonnull
AuthenticatorSelectionCriteria authenticatorSelection)
@JsOverlay @Nonnull default PublicKeyCredentialCreationOptions authenticatorSelection(@Nonnull AuthenticatorSelectionCriteria authenticatorSelection)
@JsProperty(name="challenge") @Nonnull BufferSource challenge()
@JsProperty
void setChallenge(@Nonnull
BufferSource challenge)
@JsOverlay @Nonnull default PublicKeyCredentialCreationOptions challenge(@Nonnull BufferSource challenge)
@JsProperty(name="excludeCredentials") JsArray<PublicKeyCredentialDescriptor> excludeCredentials()
@JsProperty
void setExcludeCredentials(@Nonnull
JsArray<PublicKeyCredentialDescriptor> excludeCredentials)
@JsOverlay @Nonnull default PublicKeyCredentialCreationOptions excludeCredentials(@Nonnull JsArray<PublicKeyCredentialDescriptor> excludeCredentials)
@JsOverlay
default void setExcludeCredentials(@Nonnull
PublicKeyCredentialDescriptor... excludeCredentials)
@JsOverlay @Nonnull default PublicKeyCredentialCreationOptions excludeCredentials(@Nonnull PublicKeyCredentialDescriptor... excludeCredentials)
@JsProperty(name="extensions") AuthenticationExtensionsClientInputs extensions()
@JsProperty
void setExtensions(@Nonnull
AuthenticationExtensionsClientInputs extensions)
@JsOverlay @Nonnull default PublicKeyCredentialCreationOptions extensions(@Nonnull AuthenticationExtensionsClientInputs extensions)
@JsProperty(name="pubKeyCredParams") @Nonnull JsArray<PublicKeyCredentialParameters> pubKeyCredParams()
@JsProperty
void setPubKeyCredParams(@Nonnull
JsArray<PublicKeyCredentialParameters> pubKeyCredParams)
@JsOverlay @Nonnull default PublicKeyCredentialCreationOptions pubKeyCredParams(@Nonnull JsArray<PublicKeyCredentialParameters> pubKeyCredParams)
@JsOverlay
default void setPubKeyCredParams(@Nonnull
PublicKeyCredentialParameters... pubKeyCredParams)
@JsOverlay @Nonnull default PublicKeyCredentialCreationOptions pubKeyCredParams(@Nonnull PublicKeyCredentialParameters... pubKeyCredParams)
@JsProperty(name="rp") @Nonnull PublicKeyCredentialRpEntity rp()
@JsProperty
void setRp(@Nonnull
PublicKeyCredentialRpEntity rp)
@JsOverlay @Nonnull default PublicKeyCredentialCreationOptions rp(@Nonnull PublicKeyCredentialRpEntity rp)
@JsProperty(name="timeout") int timeout()
@JsProperty void setTimeout(int timeout)
@JsOverlay @Nonnull default PublicKeyCredentialCreationOptions timeout(int timeout)
@JsProperty(name="user") @Nonnull PublicKeyCredentialUserEntity user()
@JsProperty
void setUser(@Nonnull
PublicKeyCredentialUserEntity user)
@JsOverlay @Nonnull default PublicKeyCredentialCreationOptions user(@Nonnull PublicKeyCredentialUserEntity user)