Liking cljdoc? Tell your friends :D

chromex.ext.login-screen-storage

clj

Use the chrome.loginScreenStorage API to store persistent data from the login screen or inject data into the session.

Use the chrome.loginScreenStorage API to store persistent data
from the login screen or inject data into the session.

  * available since Chrome 78
  * https://developer.chrome.com/extensions/loginScreenStorage
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

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

retrieve-credentialsclj/smacro

(retrieve-credentials)

Retrieves credentials that were previosly stored using 'storeCredentials'. The caller's extension ID should be the same as the extension id passed to the 'storeCredentials'.

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 [data] where:

|data| - https://developer.chrome.com/extensions/loginScreenStorage#property-callback-data.

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.

https://developer.chrome.com/extensions/loginScreenStorage#method-retrieveCredentials.

Retrieves credentials that were previosly stored using 'storeCredentials'. The caller's extension ID should be the same as
the extension id passed to the 'storeCredentials'.

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 [data] where:

  |data| - https://developer.chrome.com/extensions/loginScreenStorage#property-callback-data.

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.

https://developer.chrome.com/extensions/loginScreenStorage#method-retrieveCredentials.
sourceraw docstring

retrieve-credentials*cljs

(retrieve-credentials* config)
source

retrieve-persistent-dataclj/smacro

(retrieve-persistent-data owner-id)

Retrieves persistent data that was previously stored using 'storePersistentData' for the caller's extension ID.

|owner-id| - ID of the extension that saved the data that the caller is trying to retrieve.

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 [data] where:

|data| - https://developer.chrome.com/extensions/loginScreenStorage#property-callback-data.

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.

https://developer.chrome.com/extensions/loginScreenStorage#method-retrievePersistentData.

Retrieves persistent data that was previously stored using 'storePersistentData' for the caller's extension ID.

  |owner-id| - ID of the extension that saved the data that the caller is trying to retrieve.

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 [data] where:

  |data| - https://developer.chrome.com/extensions/loginScreenStorage#property-callback-data.

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.

https://developer.chrome.com/extensions/loginScreenStorage#method-retrievePersistentData.
sourceraw docstring

retrieve-persistent-data*cljs

(retrieve-persistent-data* config owner-id)
source

store-credentialsclj/smacro

(store-credentials extension-id credentials)

Stores credentials for later access from the user session. This method will fail if called while a user session is active.

|extension-id| - ID of the in-session extension that should have access to these credentials. Credentials stored using this method are deleted on session exit. |credentials| - The credentials to store.

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.

https://developer.chrome.com/extensions/loginScreenStorage#method-storeCredentials.

Stores credentials for later access from the user session. This method will fail if called while a user session is active.

  |extension-id| - ID of the in-session extension that should have access to these credentials. Credentials stored using
                   this method are deleted on session exit.
  |credentials| - The credentials to store.

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.

https://developer.chrome.com/extensions/loginScreenStorage#method-storeCredentials.
sourceraw docstring

store-credentials*cljs

(store-credentials* config extension-id credentials)
source

store-persistent-dataclj/smacro

(store-persistent-data extension-ids data)

Stores persistent data from the login screen. This data can be accessed later using 'retrievePersistentData' by any extension from the specified extension ids. This method will fail if called while a user session is active.

|extension-ids| - IDs of the extensions that should have access to the stored data. |data| - The data to store.

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.

https://developer.chrome.com/extensions/loginScreenStorage#method-storePersistentData.

Stores persistent data from the login screen. This data can be accessed later using 'retrievePersistentData' by any
extension from the specified extension ids. This method will fail if called while a user session is active.

  |extension-ids| - IDs of the extensions that should have access to the stored data.
  |data| - The data to store.

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.

https://developer.chrome.com/extensions/loginScreenStorage#method-storePersistentData.
sourceraw docstring

store-persistent-data*cljs

(store-persistent-data* config extension-ids data)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.login-screen-storage namespace.

Taps all valid non-deprecated events in chromex.ext.login-screen-storage namespace.
sourceraw docstring

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

× close