• Given a provider, return the middleware function corresponding to the handler

    Parameters

    • provider: string

      String representing the provider passed into the request

    • device: string

      String representing the device that auth is being performed on

    Returns RequestHandler

    RequestHandler middleware, that's pre-configured for the provider

Generated using TypeDoc