The interface of the Credential Management API provides information
a username/password pair. In supporting browsers an instance
this class may be passed in the credential member of the init
for global fetch
.
The interface of the Credential Management API provides information a username/password pair. In supporting browsers an instance this class may be passed in the credential member of the init for global `fetch`.
(additional-data this)
Property.
[Deprecated] [Experimental]
The additionalData property of the web.credential.PasswordCredential
takes one of a web.FormData
instance, a web.url.URLSearchParams
or null.
passwordCredential.additionalData = formData formData = passwordCredential.additionalData passwordCredential.additionalData = urlSearchParams ulrSearchParams = passwordCredential.additionalData
See also: https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/additionalData
Property. [Deprecated] [Experimental] The additionalData property of the `web.credential.PasswordCredential` takes one of a `web.FormData` instance, a `web.url.URLSearchParams` or null. `passwordCredential.additionalData = formData formData = passwordCredential.additionalData passwordCredential.additionalData = urlSearchParams ulrSearchParams = passwordCredential.additionalData` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/additionalData`
(constructor & args)
Constructor.
The PasswordCredential constructor creates a new web.credential.PasswordCredential
object.
Either of the following:
passwordCredentialData A PasswordCredentialData dictionary containing the following fields:
iconURL: (Optional) the URL of a user's avatar image. id: The ID of the user signing in. name: (Optional) The name of the user signing in. password: The password of the user signing in.
htmlFormElement
A reference to an web.dom.HTMLFormElement
with appropriate input fields. The form should, at the very least, contain an id and password. It could also require a CSRF token.
See also: https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/PasswordCredential
Constructor. The PasswordCredential constructor creates a new `web.credential.PasswordCredential` object. Either of the following: passwordCredentialData A PasswordCredentialData dictionary containing the following fields: iconURL: (Optional) the URL of a user's avatar image. id: The ID of the user signing in. name: (Optional) The name of the user signing in. password: The password of the user signing in. htmlFormElement A reference to an `web.dom.HTMLFormElement` with appropriate input fields. The form should, at the very least, contain an id and password. It could also require a CSRF token. See also: `https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/PasswordCredential`
(icon-url this)
Property.
[Read Only] [Experimental]
The iconURL read-only property of the web.credential.PasswordCredential
returns a web.USVString
containing a URL pointing to an image
an icon. This image is intended for display in a credential chooser.
URL must be accessible without authentication.
url =passwordCredential.iconURL
See also: https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/iconURL
Property. [Read Only] [Experimental] The iconURL read-only property of the `web.credential.PasswordCredential` returns a `web.USVString` containing a URL pointing to an image an icon. This image is intended for display in a credential chooser. URL must be accessible without authentication. `url =passwordCredential.iconURL` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/iconURL`
(id-name this)
Property.
[Deprecated] [Experimental]
The idName property of the web.credential.PasswordCredential
returns a web.USVString
, representing the name that will be
for the ID field
var idName = PasswordCredential.idName PasswordCredential.idName = \"userID\"
See also: https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/idName
Property. [Deprecated] [Experimental] The idName property of the `web.credential.PasswordCredential` returns a `web.USVString`, representing the name that will be for the ID field `var idName = PasswordCredential.idName PasswordCredential.idName = \"userID\"` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/idName`
(name this)
Property.
[Read Only] [Experimental]
The name read-only property of the web.credential.PasswordCredential
returns a USVSTring
containing a human-readable public name
display in a credential chooser.
name =passwordCredential.name
See also: https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/name
Property. [Read Only] [Experimental] The name read-only property of the `web.credential.PasswordCredential` returns a `USVSTring` containing a human-readable public name display in a credential chooser. `name =passwordCredential.name` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/name`
(password this)
Property.
[Read Only] [Experimental]
The password read-only property of the web.credential.PasswordCredential
returns a web.USVString
containing the password of the credential.
password =passwordCredential.password
See also: https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/password
Property. [Read Only] [Experimental] The password read-only property of the `web.credential.PasswordCredential` returns a `web.USVString` containing the password of the credential. `password =passwordCredential.password` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/password`
(password-name this)
Property.
[Deprecated] [Experimental]
The passwordName property of the web.credential.PasswordCredential
returns a web.USVString
, depicting the name used by the password
var passwordName = PasswordCredential.passwordName PasswordCredential.passwordName = \"passcode\"
See also: https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/passwordName
Property. [Deprecated] [Experimental] The passwordName property of the `web.credential.PasswordCredential` returns a `web.USVString`, depicting the name used by the password `var passwordName = PasswordCredential.passwordName PasswordCredential.passwordName = \"passcode\"` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/passwordName`
(set-additional-data! this val)
Property.
[Deprecated] [Experimental]
The additionalData property of the web.credential.PasswordCredential
takes one of a web.FormData
instance, a web.url.URLSearchParams
or null.
passwordCredential.additionalData = formData formData = passwordCredential.additionalData passwordCredential.additionalData = urlSearchParams ulrSearchParams = passwordCredential.additionalData
See also: https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/additionalData
Property. [Deprecated] [Experimental] The additionalData property of the `web.credential.PasswordCredential` takes one of a `web.FormData` instance, a `web.url.URLSearchParams` or null. `passwordCredential.additionalData = formData formData = passwordCredential.additionalData passwordCredential.additionalData = urlSearchParams ulrSearchParams = passwordCredential.additionalData` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/additionalData`
(set-id-name! this val)
Property.
[Deprecated] [Experimental]
The idName property of the web.credential.PasswordCredential
returns a web.USVString
, representing the name that will be
for the ID field
var idName = PasswordCredential.idName PasswordCredential.idName = \"userID\"
See also: https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/idName
Property. [Deprecated] [Experimental] The idName property of the `web.credential.PasswordCredential` returns a `web.USVString`, representing the name that will be for the ID field `var idName = PasswordCredential.idName PasswordCredential.idName = \"userID\"` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/idName`
(set-password-name! this val)
Property.
[Deprecated] [Experimental]
The passwordName property of the web.credential.PasswordCredential
returns a web.USVString
, depicting the name used by the password
var passwordName = PasswordCredential.passwordName PasswordCredential.passwordName = \"passcode\"
See also: https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/passwordName
Property. [Deprecated] [Experimental] The passwordName property of the `web.credential.PasswordCredential` returns a `web.USVString`, depicting the name used by the password `var passwordName = PasswordCredential.passwordName PasswordCredential.passwordName = \"passcode\"` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PasswordCredential/passwordName`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close