luya\rest\UserBehaviorInterface::userAuthClass PHP Method

userAuthClass() public method

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;
public userAuthClass ( ) : boolean | string | object
return boolean | string | object user object, class name, false to disabled the authentication.
    public function userAuthClass();
UserBehaviorInterface