ssxconnected

Home > @spruceid/ssx > SSXConnected

SSXConnected class

An intermediate SSX state: connected, but not signed-in.

Signature:

export declare class SSXConnected implements ISSXConnected 

Implements: ISSXConnected

Constructors

ConstructorModifiersDescription

Constructs a new instance of the SSXConnected class

Properties

PropertyModifiersTypeDescription

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

MethodModifiersDescription

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