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.
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. 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.
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.
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. 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.
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. 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.
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. 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.
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. 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.
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. 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.
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. 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-icon-url! this val)
Property.
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. 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`
(set-id-name! this val)
Property.
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. 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-name! this val)
Property.
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. 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`
(set-password! this val)
Property.
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. 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`
(set-password-name! this val)
Property.
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. 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