{{APIRef("")}}{{SeeCompatTable}}
The get()
method of the {{domxref("CredentialContainer")}} interface returns a {{jsxref("Promise")}} to a {{domxref("Credential")}} instance that matches the provided parameters.
Syntax
// TBD
Parameters
- option
- desc
- options {{optional_inline}}
- An object that sets options for . The available options are:
option
: .
Returns
Exceptions
Example
// TBD
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName('Credential Management')}} | {{Spec2('Credential Management')}} | Initial definition. |
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | {{CompatChrome(51.0)}} |
Feature | Android | Android Webview | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatChrome(51.0)}} | {{CompatChrome(51.0)}} |