yii2-oauth2-server
yii2-oauth2-server copied to clipboard
How to use scopes?
For example access_token has read_users scope. How to write a check for this scope? Somethink like that:
if(Yii::$app->user->can('_read_users_ ')){
...
}