Iskra API Reference
    Preparing search index...

    Interface KeyStore

    Where API keys live: staticKeys(), hashedKeys() over a table, or your own.

    interface KeyStore {
        find(
            key: string,
        ):
            | ApiKeyRecord
            | Promise<ApiKeyRecord | null | undefined>
            | null
            | undefined;
    }
    Index
    • Parameters

      • key: string

      Returns ApiKeyRecord | Promise<ApiKeyRecord | null | undefined> | null | undefined