Developer Preview — This project is in active development. APIs may change. Provide feedback
Skip to content

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

Function: setStoredSession()

setStoredSession(session): void

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

Writes a session to the JSON file, creating the directory if needed.

Parameters

session

StatefulSession

Returns

void

Released under the Apache-2.0 License.