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 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
BCD tables only load in the browser