Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

The AuthenticatorAssertionResponse interface of the Web Authentication API contains a digital signature from the private key of a particular WebAuthn credential. Available only in secure contexts.

Link copied to clipboard
sealed interface AuthenticatorAttachment
Link copied to clipboard

The AuthenticatorAttestationResponse interface of the Web Authentication API is the result of a WebAuthn credential registration. Available only in secure contexts.

Link copied to clipboard

The AuthenticatorResponse interface of the Web Authentication API is the base interface for interfaces that provide a cryptographic root of trust for a key pair. Available only in secure contexts.

Link copied to clipboard
sealed interface AuthenticatorTransport
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The PublicKeyCredential interface provides information about a public key / private key pair, which is a credential for logging in to a service using an un-phishable and data-breach resistant asymmetric key pair instead of a password. Available only in secure contexts.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed interface PublicKeyCredentialType
Link copied to clipboard
sealed interface ResidentKeyRequirement
Link copied to clipboard
Link copied to clipboard

Properties

Functions

Link copied to clipboard

The getClientCapabilities() static method of the PublicKeyCredential interface returns a Promise that resolves with an object that can be used to check whether or not particular WebAuthn client capabilities and extensions are supported.

Link copied to clipboard

The isConditionalMediationAvailable() static method of the PublicKeyCredential interface returns a Promise which resolves to true if conditional mediation is available.

The isUserVerifyingPlatformAuthenticatorAvailable() static method of the PublicKeyCredential interface returns a Promise which resolves to true if a user-verifying platform authenticator is present.

Link copied to clipboard

The signalAllAcceptedCredentials() static method of the PublicKeyCredential interface signals to the authenticator all of the valid credential IDs that the relying party (RP) server still holds for a particular user.

Link copied to clipboard

The signalCurrentUserDetails() static method of the PublicKeyCredential interface signals to the authenticator that a particular user has updated their user name and/or display name on the relying party (RP) server.

Link copied to clipboard

The signalUnknownCredential() static method of the PublicKeyCredential interface signals to the authenticator that a credential ID was not recognized by the relying party (RP) server.