Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The create()
method of the CredentialsContainer
interface returns a Promise
that resolves with a new Credential
instance based on the provided options, or null
if no Credential
object can be created.
Note: This method is restricted to top-level contexts. Calls to it within an <iframe>
element will resolve without effect.