Credential.id

Experimental: 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 string containing the credential's identifier. This might be any one of a GUID, username, or email address.

Value

A string containing the credential's identifier.

Specifications

Specification
Credential Management Level 1
# dom-credential-id

Browser compatibility

BCD tables only load in the browser