ssxconnected
Last updated
Last updated
Home > @spruceid/ssx > SSXConnected
An intermediate SSX state: connected, but not signed-in.
Signature:
Implements: ISSXConnected
Constructor | Modifiers | Description |
---|---|---|
Property | Modifiers | Type | Description |
---|---|---|---|
Method | Modifiers | Description |
---|---|---|
Constructs a new instance of the SSXConnected
class
Promise<void>
Promise that is initialized on construction of this class to run the "afterConnect" methods of the extensions.
AxiosInstance
(Optional) Axios instance.
ssxSession.SSXSessionBuilder
Instance of SSXSessionBuilder
SSXConfig object.
Enabled extensions.
(namespace: string) => boolean
Verifies if extension is enabled.
ethers.providers.Web3Provider
EthersJS provider.
Applies the "afterSignIn" methods of the extensions.
Applies the "afterConnect" methods and the delegated capabilities of the extensions.
Requests the user to sign in. Generates the SIWE message for this session, requests the configured Signer to sign the message, calls the "afterSignIn" methods of the extensions.
Requests the user to sign out.
Requests sign in from server and returns session.
Requests nonce from server.