ApiSessionFunctions
Function: createStaySignedIn()
function createStaySignedIn(
storage,
rpId,
prefix?
): StaySignedInStore;Defined in: packages/core/src/session/stay-signed-in.ts:110
prefix namespaces the keys, so two apps on one origin do not share a sign-in
Parameters
| Parameter | Type | Default value |
|---|---|---|
storage | KeyValueStore | null | undefined |
rpId | string | undefined |
prefix? | string | 'minca' |