Credential: type プロパティ

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

typeCredential インターフェイスのプロパティで、視覚情報の種類が入った文字列を返します。有効な値は passwordfederatedpublic-key です。

この資格情報に与えられた名前の入った文字列です。

js
// TBD

仕様書

Specification
Credential Management Level 1
# dom-credential-type

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
type

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support