@inrupt/solid-client-authn-node / ISessionOptions

Interface: ISessionOptions#

Properties#

clientAuthentication#

clientAuthentication: default

An instance of the library core. Typically obtained using getClientAuthenticationWithDependencies.

Defined in#

packages/node/src/Session.ts:73


insecureStorage#

insecureStorage: IStorage

A storage where non-sensitive information may be stored, potentially longer-lived than the secure storage. This is deprecated in the NodeJS environment, since there is no issue getting a storage both private and persistent. If both insecureStorage and its intended replacement storage are set, insecureStorage will be ignored.

Deprecated

Defined in#

packages/node/src/Session.ts:58


keepAlive#

keepAlive: boolean

A boolean flag indicating whether a session should be constantly kept alive in the background.

Defined in#

packages/node/src/Session.ts:77


secureStorage#

secureStorage: IStorage

A private storage, unreachable to other scripts on the page. Typically in-memory. This is deprecated in the NodeJS environment, since there is no issue getting a storage both private and persistent. If both secureStorage and its intended replacement storage are set, secureStorage will be ignored.

Deprecated

Defined in#

packages/node/src/Session.ts:49


sessionInfo#

sessionInfo: ISessionInfo

Details about the current session

Defined in#

packages/node/src/Session.ts:69


storage#

storage: IStorage

A private storage where sensitive information may be stored, such as refresh tokens. The storage option aims at eventually replacing the legacy secureStorage and insecureStorage, which

Since

X.Y.Z

Defined in#

packages/node/src/Session.ts:65