PublicKeyCredential class

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The 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. It inherits from Credential, and was created by the Web Authentication API extension to the Credential Management API. Other interfaces that inherit from Credential are PasswordCredential and FederatedCredential.

Credential

PublicKeyCredential

Note: This API is restricted to top-level contexts. Use from within an <iframe> element will not have any effect.

Implemented types
Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

PublicKeyCredential()
factory

Properties

authenticatorAttachment → String?

Available on PublicKeyCredential, provided by the PropsPublicKeyCredential extension

no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String

Available on Credential, provided by the PropsCredential extension

no setter
rawId → ByteBuffer

Available on PublicKeyCredential, provided by the PropsPublicKeyCredential extension

no setter
response → AuthenticatorResponse

Available on PublicKeyCredential, provided by the PropsPublicKeyCredential extension

no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String

Available on Credential, provided by the PropsCredential extension

no setter

Methods

getClientExtensionResults() → AuthenticationExtensionsClientOutputs

Available on PublicKeyCredential, provided by the PropsPublicKeyCredential extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() → dynamic

Available on PublicKeyCredential, provided by the PropsPublicKeyCredential extension

toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited