issxconnected

Home > @spruceid/ssx > ISSXConnected

ISSXConnected interface

Interface to an intermediate SSX state: connected, but not signed-in.

Signature:

export declare interface ISSXConnected 

Properties

PropertyModifiersTypeDescription

Promise<void>

Promise that is initialized on construction to run the "afterConnect" methods of extensions.

(session: SSXClientSession) => Promise<void>

Method to apply the "afterSignIn" methods of the extensions.

AxiosInstance

(Optional) Axios instance.

() => Promise<void>

Method to apply the "afterConnect" methods and the delegated capabilities of the extensions.

ssxSession.SSXSessionBuilder

Instance of SSXSessionBuilder.

SSXConfig object.

List of enabled extensions.

(namespace: string) => boolean

Method to verify if extension is enabled.

ethers.providers.Web3Provider

Web3 provider.

() => Promise<SSXClientSession>

Method to request the user to sign in.

(session: SSXClientSession) => Promise<void>

Method to request the user to sign out.

(session: SSXClientSession) => Promise<any>

Method to request sign in from server and return session.

(params: Record<string, any>) => Promise<string>

Method to request nonce from server.

Last updated