Use the chrome.passwordsPrivate API to add or remove password data from the settings UI.
Use the chrome.passwordsPrivate API to add or remove password data from the settings UI. * available since Chrome master
(cancel-export-passwords)
Stops exporting passwords and cleans up any passwords, which were already written to the filesystem.
Stops exporting passwords and cleans up any passwords, which were already written to the filesystem.
(change-saved-password id new-username)
(change-saved-password id new-username new-password)
Changes the username and password corresponding to |id|.
|id| - The id for the password entry being updated. |new-username| - The new username. |new-password| - The new password.
Changes the username and password corresponding to |id|. |id| - The id for the password entry being updated. |new-username| - The new username. |new-password| - The new password.
(export-passwords)
Triggers the Password Manager password export functionality. Completion Will be signaled by the onPasswordsFileExportProgress event. |callback| will be called when the request is started or rejected. If rejected chrome.runtime.lastError will be set to 'in-progress' or 'reauth-failed'.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [].
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Triggers the Password Manager password export functionality. Completion Will be signaled by the onPasswordsFileExportProgress event. |callback| will be called when the request is started or rejected. If rejected chrome.runtime.lastError will be set to 'in-progress' or 'reauth-failed'. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is []. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(get-password-exception-list)
Returns the list of password exceptions.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [exceptions] where:
|exceptions| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Returns the list of password exceptions. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [exceptions] where: |exceptions| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(get-saved-password-list)
Returns the list of saved passwords.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [entries] where:
|entries| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Returns the list of saved passwords. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [entries] where: |entries| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(import-passwords)
Triggers the Password Manager password import functionality.
Triggers the Password Manager password import functionality.
(on-password-exceptions-list-changed* config channel & args)
(on-passwords-file-export-progress* config channel & args)
(record-passwords-page-access-in-settings)
Function that logs that the Passwords page was accessed from the Chrome Settings WebUI.
Function that logs that the Passwords page was accessed from the Chrome Settings WebUI.
(record-passwords-page-access-in-settings* config)
(remove-password-exception id)
Removes the saved password exception corresponding to |exceptionUrl|. If no exception with this URL exists, this function is a no-op.
|id| - The id for the exception url entry being removed.
Removes the saved password exception corresponding to |exceptionUrl|. If no exception with this URL exists, this function is a no-op. |id| - The id for the exception url entry being removed.
(remove-saved-password id)
Removes the saved password corresponding to |id|. If no saved password for this pair exists, this function is a no-op.
|id| - The id for the password entry being removed.
Removes the saved password corresponding to |id|. If no saved password for this pair exists, this function is a no-op. |id| - The id for the password entry being removed.
(request-export-progress-status)
Requests the export progress status. This is the same as the last value seen on the onPasswordsFileExportProgress event. This function is useful for checking if an export has already been initiated from an older tab, where we might have missed the original event.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [status] where:
|status| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Requests the export progress status. This is the same as the last value seen on the onPasswordsFileExportProgress event. This function is useful for checking if an export has already been initiated from an older tab, where we might have missed the original event. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [status] where: |status| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(request-plaintext-password id)
Returns the plaintext password corresponding to |id|. Note that on some operating systems, this call may result in an OS-level reauthentication. Once the password has been fetched, it will be returned via |callback|.
|id| - The id for the password entry being being retrieved.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [password] where:
|password| - ?
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Returns the plaintext password corresponding to |id|. Note that on some operating systems, this call may result in an OS-level reauthentication. Once the password has been fetched, it will be returned via |callback|. |id| - The id for the password entry being being retrieved. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [password] where: |password| - ? In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.app.passwords-private namespace.
Taps all valid non-deprecated events in chromex.app.passwords-private namespace.
(tap-on-password-exceptions-list-changed-events channel & args)
Fired when the password exceptions list has changed, meaning that an entry has been added or removed.
Events will be put on the |channel| with signature [::on-password-exceptions-list-changed [exceptions]] where:
|exceptions| - The updated list of password exceptions.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when the password exceptions list has changed, meaning that an entry has been added or removed. Events will be put on the |channel| with signature [::on-password-exceptions-list-changed [exceptions]] where: |exceptions| - The updated list of password exceptions. Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(tap-on-passwords-file-export-progress-events channel & args)
Fired when the status of the export has changed.
Events will be put on the |channel| with signature [::on-passwords-file-export-progress [status]] where:
|status| - The progress status and an optional UI message.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when the status of the export has changed. Events will be put on the |channel| with signature [::on-passwords-file-export-progress [status]] where: |status| - The progress status and an optional UI message. Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(tap-on-saved-passwords-list-changed-events channel & args)
Fired when the saved passwords list has changed, meaning that an entry has been added or removed.
Events will be put on the |channel| with signature [::on-saved-passwords-list-changed [entries]] where:
|entries| - The updated list of password entries.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when the saved passwords list has changed, meaning that an entry has been added or removed. Events will be put on the |channel| with signature [::on-saved-passwords-list-changed [entries]] where: |entries| - The updated list of password entries. Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
(undo-remove-saved-password-or-exception)
Undoes the last removal of a saved password or exception.
Undoes the last removal of a saved password or exception.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close