Iskra API Reference
    Preparing search index...

    Function bearer

    • A bearer token checked by verify, which returns the actor or null for a token it does not accept (a 401 invalid_token).

      Type Parameters

      Parameters

      • verify: (
            token: string,
            c: Context,
        ) => A | Promise<A | null | undefined> | null | undefined

      Returns Gate<A>