antyrace/oauth2-server

Oauth2 server modification

0.1.0 2015-10-22 23:43 UTC

This package is not auto-updated.

Last update: 2024-05-01 15:18:21 UTC


README

Some modifications in oauth2 server

Installation

In your config/oauth2.php in 'grant_types' array change

    '\League\OAuth2\Server\Grant\PasswordGrant'
    '\AntyRace\OAuth2\Server\Grant\PasswordGrant'
    '\League\OAuth2\Server\Grant\RefreshTokenGrant'
    '\AntyRace\OAuth2\Server\Grant\RefreshTokenGrant'
    'token_type' => 'League\OAuth2\Server\TokenType\Bearer'
    'token_type' => 'AntyRace\OAuth2\Server\TokenType\Bearer'