Skip to content
Snippets Groups Projects

Issue #3507450: Introduce access policy + cache context for oauth2 scopes

Files
17
@@ -108,4 +108,13 @@ class Oauth2Scope extends PluginBase implements Oauth2ScopePluginInterface, Cont
@@ -108,4 +108,13 @@ class Oauth2Scope extends PluginBase implements Oauth2ScopePluginInterface, Cont
);
);
}
}
 
/**
 
* {@inheritdoc}
 
*/
 
public function getPermissions(): array {
 
$granularity = $this->getGranularity();
 
assert($granularity instanceof ScopeGranularityInterface);
 
return $granularity->getPermissions();
 
}
 
}
}
Loading