borisguery/oauth2-server-bundle

0.1 2016-04-04 10:17 UTC

This package is not auto-updated.

Last update: 2022-07-01 08:19:18 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

OAuth2 Server Bundle for Symfony

Install

Via Composer

$ composer require borisguery/oauth2-server-bundle

Configuration

bgy_o_auth2_server:
    authorization_server:
        storage: 
            access_token: oauth2.storage.access_token
            client: oauth2.storage.client
            refresh_token: oauth2.storage.refresh_token
        token_generator: ~
        always_generate_a_refresh_token: true
        always_require_a_client: true
        access_token_ttl: 3600
        refresh_token_ttl: 3600
        grant_types:
            - oauth2.authorization_server.grant_types.password
            - oauth2.authorization_server.grant_types.refresh_token

Usage


Testing

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email guery.b@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.