• Postgraphile plugin that wraps resolver execution into an authentication check, making sure that that JwtToken subject is authorized to access a GraphQL resource. It extracts the ensureOnlyAuthentication property from Postgraphile Build Options to determine if only the authentication check must be performed or authorization checks should be carried out as well. Error is thrown if request is not authorized. Applies to root and sub queries.

    Parameters

    • builder: default
    • options: Options

    Returns void | Promise<void>

Generated using TypeDoc