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. 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.





property id: Int32 read;


Int32 id { get; }


var id: Int32 { get{} }


Int32 id { __get; }


ReadOnly Property id() As Int32



property rawId: Int32 read;


Int32 rawId { get; }


var rawId: Int32 { get{} }


Int32 rawId { __get; }


ReadOnly Property rawId() As Int32



property response: dynamic read;


dynamic response { get; }


var response: dynamic { get{} }


dynamic response { __get; }


ReadOnly Property response() As dynamic

Required Methods


If any extensions were requested, this method will return the results of processing those extensions.


method getClientExtensionResults: dynamic


dynamic getClientExtensionResults()


func getClientExtensionResults() -> dynamic


dynamic getClientExtensionResults()


Function getClientExtensionResults() As dynamic


A static method returning a Promise which resolves to true if an authenticator bound to the platform is capable of verifying the user. With the current state of implementation, this method only resolves to true when Windows Hello is available on the system.


method isUserVerifyingPlatformAuthenticatorAvailable: Boolean


Boolean isUserVerifyingPlatformAuthenticatorAvailable()


func isUserVerifyingPlatformAuthenticatorAvailable() -> Boolean


Boolean isUserVerifyingPlatformAuthenticatorAvailable()


Function isUserVerifyingPlatformAuthenticatorAvailable() As Boolean