Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
web
User
getAuthManager
yii\web\User::getAuthManager PHP Method
User Class Documentation
Datei anzeigen
Open project: yiisoft/yii2
getAuthManager()
protected
method
By default this is the
authManager
application component. You may override this method to return a different auth manager instance if needed.
Deprecation:
since version 2.0.9, to be removed in 2.1. Use [[getAccessChecker()]] instead.
Since:
2.0.6
protected
getAuthManager
( ) :
yii\rbac\ManagerInterface
return
yii\rbac\ManagerInterface
protected function getAuthManager() { return Yii::$app->getAuthManager(); }
User
afterLogin
afterLogout
beforeLogin
beforeLogout
can
checkRedirectAcceptable
getAccessChecker
getAuthManager
getId
getIdentity
getIdentityAndDurationFromCookie
getIsGuest
getReturnUrl
init
login
loginByAccessToken
loginByCookie
loginRequired
logout
removeIdentityCookie
renewAuthStatus
renewIdentityCookie
sendIdentityCookie
setIdentity
setReturnUrl
switchIdentity