# Module: vertx-web-js/redirect_auth_handler

## vertx-web-js/redirect_auth_handler

Source:
  - redirect_auth_handler.js, line 3

### Classes

RedirectAuthHandler

### Methods

#### <static> RedirectAuthHandler.create(authProvider, loginRedirectURL, returnURLParam) → {AuthHandler}

  Create a handler

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `authProvider` | AuthProvider | the auth service to use
  `loginRedirectURL` | string | the url to redirect the user to
  `returnURLParam` | string | the name of param used to store return url information in session

  Source:
    - redirect_auth_handler.js, line 95

  ##### Returns:

  the handler
  Type
    AuthHandler