return a user object:
php
return Yii::$app->adminuser;
return a class string will create a new object from this class string:
php
return \admin\components\User::className();
return false will disabled the authentication proccess for this rest controller
php
return false;