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
(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.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close