texthtml / oauth2-provider

OAuth2 for Symfony Security Component
GNU Affero General Public License v3.0
5 stars 2 forks source link

generate scope util if storage supports it #8

Open mathroc opened 8 years ago

mathroc commented 8 years ago
$container['oauth2_server.scope_util'] = function () {
    return $this['oauth2_server.storage.scope'] ? new \OAuth2\Scope($this['oauth2_server.storage.scope']) : null;
};

depends on #7