ping-identity
    Preparing search index...

    Type Alias SessionStorage

    SessionStorage: BaseStorageConfig & JourneyInstance

    Storage configuration type for Journey session data.

    Opaque handle returned by configureSessionStorage.

    Used by native-backed modules to resolve a previously registered session storage configuration.

    Session storage typically stores temporary authentication state and session data during Journey flows.

    Includes a kind discriminator and compile-time brand so callers cannot accidentally pass a plain config object where a registered handle is required.

    • BaseStorageConfig for configuration input options
    • configureSessionStorage to register and resolve a configuration

    Basic usage:

    import { configureSessionStorage } from '@ping-identity/rn-storage';

    const sessionStorage: SessionStorage = configureSessionStorage({
    android: {
    keyAlias: 'session_key',
    fileName: 'session_data'
    }
    });

    // Use with Journey SDK
    // initJourney({ sessionStorage, ... });