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

Add Config object, drop factory methods #570

Merged
merged 5 commits into from
Jul 24, 2023

Conversation

Slamdunk
Copy link
Member

@Slamdunk Slamdunk commented May 3, 2023

With this PR I'm all-in about this: #564 (comment)

BC break

  • Write implementation
  • Update docs (after at least one review)
  • Rebase onto 9.0.x or master or whatever, tell me please

private Clock $clock;
private SetCookie $cookie;
/** @var positive-int */
private int $idleTimeout = 43200;
Copy link
Member Author

@Slamdunk Slamdunk May 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a 12h default idle timeout, where 8.x requested to be expicitely set.
Seems to me a good compromise in order to have a cleaner Config API, that now needs only a JWT\Configuration to be instantiated.

@Slamdunk
Copy link
Member Author

Ping @Ocramius , this PR is intended to be the base for a proper refactor of #564

@Slamdunk Slamdunk changed the base branch from 8.17.x to 9.0.x July 24, 2023 10:24
@Slamdunk Slamdunk merged commit 8eb29d2 into psr7-sessions:9.0.x Jul 24, 2023
@Slamdunk Slamdunk deleted the config branch July 24, 2023 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant