Liking cljdoc? Tell your friends :D

chromex.app.passwords-private

clj

Use the chrome.passwordsPrivate API to add or remove password data from the settings UI.

  • available since Chrome master
Use the chrome.passwordsPrivate API to add or remove password
data from the settings UI.

  * available since Chrome master
raw docstring

api-tableclj

source

cancel-export-passwordsclj/smacro

(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.
sourceraw docstring

cancel-export-passwords*cljs

(cancel-export-passwords* config)
source

export-passwordsclj/smacro

(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.
sourceraw docstring

export-passwords*cljs

(export-passwords* config)
source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

get-password-exception-listclj/smacro

(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.
sourceraw docstring

get-password-exception-list*cljs

(get-password-exception-list* config)
source

get-saved-password-listclj/smacro

(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.
sourceraw docstring

get-saved-password-list*cljs

(get-saved-password-list* config)
source

import-passwordsclj/smacro

(import-passwords)

Triggers the Password Manager password import functionality.

Triggers the Password Manager password import functionality.
sourceraw docstring

import-passwords*cljs

(import-passwords* config)
source

on-password-exceptions-list-changed*cljs

(on-password-exceptions-list-changed* config channel & args)
source

on-passwords-file-export-progress*cljs

(on-passwords-file-export-progress* config channel & args)
source

on-plaintext-password-retrieved*cljs

(on-plaintext-password-retrieved* config channel & args)
source

on-saved-passwords-list-changed*cljs

(on-saved-passwords-list-changed* config channel & args)
source

remove-password-exceptionclj/smacro

(remove-password-exception index)

Removes the saved password exception corresponding to |exceptionUrl|. If no exception with this URL exists, this function is a no-op.

|index| - The index 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.

  |index| - The index for the exception url entry being removed.
sourceraw docstring

remove-password-exception*cljs

(remove-password-exception* config index)
source

remove-saved-passwordclj/smacro

(remove-saved-password index)

Removes the saved password corresponding to |loginPair|. If no saved password for this pair exists, this function is a no-op.

|index| - The index for the password entry being removed.

Removes the saved password corresponding to |loginPair|. If no saved password for this pair exists, this function is a
no-op.

  |index| - The index for the password entry being removed.
sourceraw docstring

remove-saved-password*cljs

(remove-saved-password* config index)
source

request-export-progress-statusclj/smacro

(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.
sourceraw docstring

request-export-progress-status*cljs

(request-export-progress-status* config)
source

request-plaintext-passwordclj/smacro

(request-plaintext-password index)

Returns the plaintext password corresponding to |index|. 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 the onPlaintextPasswordRetrieved event. TODO(hcarmona): Investigate using a callback for consistency.

|index| - The index for the password entry being being retrieved.

Returns the plaintext password corresponding to |index|. 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 the onPlaintextPasswordRetrieved
event. TODO(hcarmona): Investigate using a callback for consistency.

  |index| - The index for the password entry being being retrieved.
sourceraw docstring

request-plaintext-password*cljs

(request-plaintext-password* config index)
source

tap-all-eventsclj/smacro

(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.
sourceraw docstring

tap-on-password-exceptions-list-changed-eventsclj/smacro

(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.
sourceraw docstring

tap-on-passwords-file-export-progress-eventsclj/smacro

(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.
sourceraw docstring

tap-on-plaintext-password-retrieved-eventsclj/smacro

(tap-on-plaintext-password-retrieved-events channel & args)

Fired when a plaintext password has been fetched in response to a call to chrome.passwordsPrivate.requestPlaintextPassword().

Events will be put on the |channel| with signature [::on-plaintext-password-retrieved [dict]] where:

|dict| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Fired when a plaintext password has been fetched in response to a call to
chrome.passwordsPrivate.requestPlaintextPassword().

Events will be put on the |channel| with signature [::on-plaintext-password-retrieved [dict]] where:

  |dict| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-saved-passwords-list-changed-eventsclj/smacro

(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.
sourceraw docstring

undo-remove-saved-password-or-exceptionclj/smacro

(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.
sourceraw docstring

undo-remove-saved-password-or-exception*cljs

(undo-remove-saved-password-or-exception* config)
source

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

× close