@inrupt/solid-client-authn-node / ISessionOptions
Interface: ISessionOptions#
Properties#
clientAuthentication#
• clientAuthentication: default
An instance of the library core. Typically obtained using getClientAuthenticationWithDependencies
.
Defined in#
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#
keepAlive#
• keepAlive: boolean
A boolean flag indicating whether a session should be constantly kept alive in the background.
Defined in#
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#
sessionInfo#
• sessionInfo: ISessionInfo
Details about the current session
Defined in#
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