Commit c8da5372 by Alexander Makarov

Fixes #3211

parent 8b4dbff5
...@@ -8,7 +8,7 @@ Authentication is the act of verifying who a user is, and is the basis of the lo ...@@ -8,7 +8,7 @@ Authentication is the act of verifying who a user is, and is the basis of the lo
In Yii, this entire process is performed semi-automatically, leaving the developer to merely implement [[yii\web\IdentityInterface]], the most important class in the authentication system. Typically, implementation of `IdentityInterface` is accomplished using the `User` model. In Yii, this entire process is performed semi-automatically, leaving the developer to merely implement [[yii\web\IdentityInterface]], the most important class in the authentication system. Typically, implementation of `IdentityInterface` is accomplished using the `User` model.
You can find a fully featured example of authentication in the You can find a fully featured example of authentication in the
[advanced application template](installation.md). Below, only the interface methods are listed: [advanced application template](tutorial-advanced-app.md). Below, only the interface methods are listed:
```php ```php
class User extends ActiveRecord implements IdentityInterface class User extends ActiveRecord implements IdentityInterface
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment