Credential.id

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The id property of the Credential interface returns a DOMString containing the credential's identifier. This might be any one of a GUID, username, or email address.

Syntax

var id = Credential.id;

Value

A a DOMString containing the credential's identifier.

Specifications

Specification Status Comment
Credential Management Level 1 Working Draft Initial definition.

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
id
Experimental
Chrome Full support 51Edge Full support 18Firefox Full support 60IE ? Opera Full support YesSafari Full support 13WebView Android Full support 51Chrome Android Full support 51Firefox Android Full support YesOpera Android ? Safari iOS Full support 13.3Samsung Internet Android Full support 5.0

Legend

Full support
Full support
Compatibility unknown
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.