perform API auth before configured User class may require login
perform API auth before configured User class may require login

This allows usage of AccessControl filter in API

yiisoft/yii2-framework,yiisoft/yii2-framework