|
|
@ -757,20 +757,6 @@ class User extends Component |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Returns auth manager associated with the user component. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* By default this is the `authManager` application component. |
|
|
|
|
|
|
|
* You may override this method to return a different auth manager instance if needed. |
|
|
|
|
|
|
|
* @return \yii\rbac\ManagerInterface |
|
|
|
|
|
|
|
* @since 2.0.6 |
|
|
|
|
|
|
|
* @deprecated since version 2.0.9, to be removed in 2.1. Use [[getAccessChecker()]] instead. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
protected function getAuthManager() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return Yii::$app->getAuthManager(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* Returns the access checker used for checking access. |
|
|
|
* Returns the access checker used for checking access. |
|
|
|
* |
|
|
|
* |
|
|
|
* By default this is the `authManager` application component. |
|
|
|
* By default this is the `authManager` application component. |
|
|
|