Skip to content

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