ops-talent/oauthserverbundle

oauthserver modification

Installs: 1 024

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-master 2018-04-25 08:41 UTC

This package is not auto-updated.

Last update: 2021-10-21 12:33:54 UTC


README

Add this to service.yml

services:
    app.oauth.storage:
        class: Opstalent\OAuthServerBundle\Storage\OAuthStorage
        parent: fos_oauth_server.storage.default
    app.oauth.server:
        class: Opstalent\OAuthServerBundle\OAuth\OAuth2
        arguments: ['@app.oauth.storage', '%fos_oauth_server.server.options%']
    fos_oauth_server.controller.token:
        class: Opstalent\OAuthServerBundle\Controller\TokenController
        arguments: ['@app.oauth.server']