Skip to content

@salesforce/b2c-tooling-sdk / auth / getStoredSession

Function: getStoredSession() ​

getStoredSession(): StatefulSession | null

Defined in: packages/b2c-tooling-sdk/src/auth/stateful-store.ts:79

Reads the current stateful session from the JSON file. Returns null if no session file exists or the file is invalid.

Returns ​

StatefulSession | null

Released under the Apache-2.0 License.