# Module: vertx-web-js/redirect_auth_handler

### 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:
  - vertx-web-js/redirect_auth_handler.js, line 95

##### Returns:

the handler

Type
  AuthHandler