Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for client_credentials grant type #103

Open
wants to merge 2 commits into
base: 4.0
Choose a base branch
from

Conversation

aukraiser
Copy link

Added void return type to tests methods setUp and tearDown to
match Orchestra\Testbench\TestCase::setUp() and
Orchestra\Testbench\TestCase::tearDown().

Changed the handle method in the AddCustomProvider middleware to
override the invalidProvider call result when no provider is given
in the case of a client_credentials authentication request.

Added new tests in the AddCustomProviderTest class to test the new
cases.

Modified existing tests in the AddCustomProviderTest class to define use
of the Request class has method.

Added void return type to tests methods `setUp` and `tearDown` to
match `Orchestra\Testbench\TestCase::setUp()` and
`Orchestra\Testbench\TestCase::tearDown()`.

Changed the `handle` method in the `AddCustomProvider` middleware to
override the `invalidProvider` call result when no provider is given
in the case of a `client_credentials` authentication request.

Added new tests in the `AddCustomProviderTest` class to test the new
cases.

Modified existing tests in the `AddCustomProviderTest` class to define use
of the `Request` class `has` method.
@aukraiser aukraiser changed the title Changes Added support for client_credentials grant type Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants