ssxconnected
Home > @spruceid/ssx > SSXConnected
SSXConnected class
An intermediate SSX state: connected, but not signed-in.
Signature:
Implements: ISSXConnected
Constructors
Constructs a new instance of the SSXConnected
class
Properties
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.
Methods
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.
Last updated
Was this helpful?