Interface requireSameCollectionContextAuth

Hierarchy

  • requireSameCollectionContextAuth
  • RequireSameCollectionContextAuth middleware requires a request to have a valid record Authorization header and the auth record's collection to match the one from the route path parameter (default to "collection" if collectionParam is empty).

    Parameters

    • collectionPathParam: string

    Returns hook.Handler<RequestEvent>

Generated using TypeDoc