Docs
chromia.com

Function

authHandlerForOperation

  • authHandlerForOperation(
        opName: string,
    ): QueryObject<AuthHandler | null, { op_name: string }>

    Fetches the auth handler for the specified operation, or null if there is no auth handler associated with this operation.

    Parameters

    • opName: string

      the name of the operation

    Returns QueryObject<AuthHandler | null, { op_name: string }>