Classes
Methods
(static) FormLoginHandler.create(authProvider, usernameParam, passwordParam, returnURLParam, directLoggedInOKURL) → {FormLoginHandler}
Create a handler
Parameters:
Name | Type | Description |
---|---|---|
authProvider |
AuthProvider | the auth service to use |
usernameParam |
string | the value of the form attribute which will contain the username |
passwordParam |
string | the value of the form attribute which will contain the password |
returnURLParam |
string | the value of the session attribute which will contain the return url |
directLoggedInOKURL |
string | a url to redirect to if the user logs in directly at the url of the form login handler without being redirected here first |
Returns:
the handler
- Type
- FormLoginHandler