Web/API/Credential/name

From Get docs

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


The name property of the Credential interface returns a DOMString, containing the name associated with a credential. It should be a human-readable, public name.

Syntax

var credName = Credential.name;

Value

A DOMString containing the credential's given name.

Example

// TBD

Specifications

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

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet

name (from CredentialUserData mixin)

Experimental'

Chrome No support 51 — 52

Notes'

No support 51 — 52

Notes'

Notes' See Bug 602980.

Edge

?

Firefox

No support No

IE

No support No

Opera No support 38 — 39

Notes'

No support 38 — 39

Notes'

Notes' See Bug 602980.

Safari

?

WebView Android No support 51 — 52

Notes'

No support 51 — 52

Notes'

Notes' See Bug 602980.

Chrome Android No support 51 — 52

Notes'

No support 51 — 52

Notes'

Notes' See Bug 602980.

Firefox Android

No support No

Opera Android

No support No

Safari iOS

?

Samsung Internet Android No support 5.0 — 6.0

Notes'

No support 5.0 — 6.0

Notes'

Notes' See Bug 602980.

Legend

No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.'
Experimental. Expect behavior to change in the future.
See implementation notes.'
See implementation notes.