filters\auth\AuthInterface authenticate()

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.

doc_Yii
2016-10-30 17:02:25
Comments
Leave a Comment

Please login to continue.