vertx / io.vertx.reactivex.ext.web.handler / FormLoginHandler / create

# create

`open static fun create(authProvider: AuthProvider): FormLoginHandler`

Create a handler

### Parameters

`authProvider` - the auth service to use

Return
the handler

`open static fun create(authProvider: AuthProvider, usernameParam: String, passwordParam: String, returnURLParam: String, directLoggedInOKURL: String): FormLoginHandler`

Create a handler

### Parameters

`authProvider` - the auth service to use

`usernameParam` - the value of the form attribute which will contain the username

`passwordParam` - the value of the form attribute which will contain the password

`returnURLParam` - the value of the session attribute which will contain the return url

`directLoggedInOKURL` - a url to redirect to if the user logs in directly at the url of the form login handler without being redirected here first

Return
the handler