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

[12.x] Allow token "expires in" to be defined as date interval #1733

Conversation

jacobmllr95
Copy link
Contributor

@jacobmllr95 jacobmllr95 commented Mar 21, 2024

Currently it's only possible to define custom token "expires in" lifetimes as dates, while they are internally already accessed as date intervals.

This PR allows them to be stored as date intervals which may be the preferred and more readable way for some developers.

@driesvints driesvints changed the title feat: allow token "expires in" to be defined as date interval [12.x] Allow token "expires in" to be defined as date interval Mar 21, 2024
@taylorotwell taylorotwell merged commit 21099f1 into laravel:12.x Mar 21, 2024
12 checks passed
@jacobmllr95 jacobmllr95 deleted the feat-allow-date-interval-for-token-expires-in-methods branch March 21, 2024 19:38
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