Handler that handles login from a form on a custom login page.
Used in conjunction with the @see \io\vertx\jphp\ext\web\handler\RedirectAuthHandler.
package |
Default |
---|
__construct()
create( $arg0, $arg1 = null, $arg2 = null, $arg3 = null, $arg4 = null) : \io\vertx\jphp\ext\web\handler\FormLoginHandler
param $authProvider [AuthProvider] the auth service to use create($authProvider)
Create a handler
param $authProvider [AuthProvider] the auth service to use param $usernameParam [string] the value of the form attribute which will contain the username param $passwordParam [string] the value of the form attribute which will contain the password param $returnURLParam [string] the value of the session attribute which will contain the return url param $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 create($authProvider, $usernameParam, $passwordParam, $returnURLParam, $directLoggedInOKURL)
AuthProvider
string
string
string
string
\io\vertx\jphp\ext\web\handler\FormLoginHandler
the handler
handle( $arg0) : void
RoutingContext
setDirectLoggedInOKURL( $arg0) : $this
string
$this
a reference to this for a fluent API
setPasswordParam( $arg0) : $this
string
$this
a reference to this for a fluent API
setReturnURLParam( $arg0) : $this
string
$this
a reference to this for a fluent API
setUsernameParam( $arg0) : $this
string
$this
a reference to this for a fluent API
DEFAULT_USERNAME_PARAM
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_PASSWORD_PARAM
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|
DEFAULT_RETURN_URL_PARAM
var |
php文件只是为了写代码方便,常量的实际值请参考原java文件 |
---|