MonoCloud Authentication SDK
    Preparing search index...

    In-memory implementation of IStorage.

    Useful for testing or for sessions that should not persist across page reloads.

    Implements

    Index

    Constructors

    Methods

    • Retrieves the value associated with the given key.

      Parameters

      • key: string

        The unique identifier for the stored item.

      Returns Promise<string | null>

      The stored value as a string, or null if the key does not exist.

    • Removes the item associated with the specified key from storage.

      Parameters

      • key: string

        The unique identifier of the item to remove.

      Returns Promise<void>

    • Stores a key-value pair in the storage.

      Parameters

      • key: string

        The unique identifier for the item.

      • value: string

        The string value to store.

      Returns Promise<void>