Central authorization of action for Rest API

How can i use SRBAC or central authorization in my REST API.
Thanks.

You started the post in Yii2 Category and ask to use a Yii 1.1 extension?

Wrong Category or trying to use a yii 1.1 Extension in Yii2 ?

Ok SRBAC is Yii1.1 extension. Is there extension in Yii2 that i would use in REST API

Don’t know of an extension.

But it’s easy to implement in Yii2 with “Behaviors”

https://www.yiiframework.com/doc/guide/2.0/en/rest-authentication