ssi
That’s to empower individuals on the self-sovereign path.
browser.ssi is a powerful API (in Chrome, it would be named chrome.ssi), bridging tasks related to credentials, such as signing/decrypting, between the internal module and user land. It also provides the state of settings while prioritizing privacy and security, allowing users to choose whether to make them open.
Required Permissions
['ssi']
Types
Credential
A credential object picked selectively from nsICredentialInfo
and nsICredentialMetaInfo
in the SSI store service.
SearchCriteria
Criteria to search credentials. If you want a full search, explicitly set primary to false.
DialogInfo
Option parameters to build Auth dialog.
Functions
searchCredentials
Return the requested credentials without secrets such like secret key and private setting. During the execution process, an internal authorization check is performed similar to browser.ssi.askConsent
.
askConsent
Ask the user whether to give a permission to the requsting web app. Depending on the internal state, a dialog will be presented to the user, and the content of that dialog can be optionally customized.
askConsentChild
Ask the user whether to give a permission to the requsting web app.
This documentation is derived from ssi.json in gecko-dev-for-ssi.