Liking cljdoc? Tell your friends :D

web.credential.CredentialsContainer

The CredentialsContainer interface of the the Credential Management exposes methods to request credentials and notify the user agent events such as successful sign in or sign out happen. This interface accessible from Navigator.credentials.

The CredentialsContainer interface of the the Credential Management
exposes methods to request credentials and notify the user agent
events such as successful sign in or sign out happen. This interface
accessible from `Navigator.credentials`.
raw docstring

createcljs

(create this & args)

Method.

[Experimental]

The create() method of the web.credential.CredentialsContainer returns a js.Promise that resolves with a new web.credential.Credential based on the provided options, or null if no Credential object be created.

var promise = CredentialsContainer.create([options])

See also: https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/create

Method.

[Experimental]

The create() method of the `web.credential.CredentialsContainer`
returns a `js.Promise` that resolves with a new `web.credential.Credential`
based on the provided options, or null if no Credential object
be created.

`var promise = CredentialsContainer.create([options])`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/create`
sourceraw docstring

getcljs

(get this & args)

Method.

[Experimental]

The get() method of the web.credential.CredentialsContainer returns a js.Promise to a single web.credential.Credential that matches the provided parameters. If no match is found the will resolve to null.

var promise = CredentialsContainer.get([options])

See also: https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/get

Method.

[Experimental]

The get() method of the `web.credential.CredentialsContainer`
returns a `js.Promise` to a single `web.credential.Credential`
that matches the provided parameters. If no match is found the
will resolve to null.

`var promise = CredentialsContainer.get([options])`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/get`
sourceraw docstring

prevent-silent-accesscljs

(prevent-silent-access this)

Method.

[Experimental]

The preventSilentAccess() method of the web.credential.CredentialsContainer sets a flag that specifies whether automatic log in is allowed future visits to the current origin, then returns an empty Promise.

var Promise = CredentialsContainer.preventSilentAccess()

See also: https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/preventSilentAccess

Method.

[Experimental]

The preventSilentAccess() method of the `web.credential.CredentialsContainer`
sets a flag that specifies whether automatic log in is allowed
future visits to the current origin, then returns an empty Promise.

`var Promise = CredentialsContainer.preventSilentAccess()`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/preventSilentAccess`
sourceraw docstring

storecljs

(store this credential)

Method.

[Experimental]

The store() method of the web.credential.CredentialsContainer a set of credentials for the user inside a web.credential.Credential returning this in a js.Promise.

CredentialsContainer.store(Credential).then(function(Credential) { ... } )

See also: https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/store

Method.

[Experimental]

The store() method of the `web.credential.CredentialsContainer`
a set of credentials for the user inside a `web.credential.Credential`
returning this in a `js.Promise`.

`CredentialsContainer.store(Credential).then(function(Credential) { ... } )`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/store`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close