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

[7.0] Add middleware CheckClientCredentialsForAnyScope #855

Conversation

vitorbari
Copy link
Contributor

The current implementation has the middlewares CheckScopes and CheckForAnyScope what gives us flexibility to check if the current request has all or one of the desired scopes.
This PR adds a new middleware that brings similar flexibility when dealing with client credentials grant type.

@driesvints driesvints changed the title Add middleware CheckClientCredentialsForAnyScope [7.0] Add middleware CheckClientCredentialsForAnyScope Oct 25, 2018
@taylorotwell taylorotwell merged commit 0f8668f into laravel:7.0 Oct 25, 2018
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