authenticate() public abstract method
Authenticates the current user.
public abstract yii\web\IdentityInterface authenticate ( $user, $request, $response ) | ||
---|---|---|
$user | yii\web\User | |
$request | yii\web\Request | |
$response | yii\web\Response | |
return | yii\web\IdentityInterface |
The authenticated user identity. If authentication information is not provided, null will be returned. |
throws | yii\web\UnauthorizedHttpException |
if authentication information is provided but is invalid. |
Please login to continue.