Skip to content

Commit

Permalink
minor #71 Fixed wrong event name to league.oauth2_server.event.scope_…
Browse files Browse the repository at this point in the history
…resolve (yoshz)

This PR was merged into the 0.1-dev branch.

Discussion
----------

Fixed wrong event name to league.oauth2_server.event.scope_resolve

The event name for `league.oauth2_server.event.scope_resolve` is wrongly documented.

Commits
-------

10f017d Fixed wrong event name to league.oauth2_server.event.scope_resolve
  • Loading branch information
chalasr committed Dec 28, 2021
2 parents 44982ad + 10f017d commit 18e72c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/token-scopes.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ security:
## Controlling token scopes
It's possible to alter issued access token's scopes by subscribing to the `league.oauth2_server.scope_resolve` event.
It's possible to alter issued access token's scopes by subscribing to the `league.oauth2_server.event.scope_resolve` event.

### Example

Expand Down Expand Up @@ -66,5 +66,5 @@ final class ScopeResolveListener
```yaml
App\EventListener\ScopeResolveListener:
tags:
- { name: kernel.event_listener, event: league.oauth2_server.scope_resolve, method: onScopeResolve }
- { name: kernel.event_listener, event: league.oauth2_server.event.scope_resolve, method: onScopeResolve }
```

0 comments on commit 18e72c0

Please sign in to comment.