• Perform authentication step. Use this information to redirect to provider, perform auth, and then redirect user back to main website if successful or unsuccessful. In the case of a failure, throw an error.

    Parameters

    • strategies: string | string[]

      List (or string) of valid authentication strategies for this route

    • options: AuthenticateOptions

      Set of options to be associated with these strategies

    Returns RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

    Passport middleware that is used to perform authentication

Generated using TypeDoc