You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/v6/security/oauth2-security.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ The configuration for OAuth2 tokens can be edited in `config/autoload/local.php`
17
17
By default, the lifetimes of the `access` and `refresh` tokens are set to one day and one month respectively.
18
18
Make sure to adjust their values in accordance to your application's needs, with lower values being generally safer.
19
19
20
+
> If your application requires it, you can revoke user OAuth tokens before their expiration by making use of the `revokeTokens` method of `UserService`.
20
21
> Read more about the available [configuration options](https://docs.mezzio.dev/mezzio-authentication-oauth2/v1/intro/#configuration).
0 commit comments