Skip to content

Conversation

@kitsunet
Copy link
Member

Implements a "RequestTag" system, currently fully exposed on the ActionRequest but technically we have the data on the HttpRequest for later changes.

The RequestTags are arbitrary but can be used e.g. as RequestPattern matcher.

The idea is that you could use the RequestPattern with tags and then anyone wanting to be part of this AuthenticationProvider can just tag their route accordingly.
Should also help with the Frontend vs Backend problem in the FrontendLogin package.

Other uses TBD, also extensibility (aka other sources for tags). The implementation in the Router is a bit rough, I wanted to make sure there is no way to set this from the outside.
Maybe the "type" is just YAGNI and we can remove it again. Was just an idea (the RequestPattern should check it but doesn't atm).

Implements a "RequestTag" system, currently fully exposed on the
ActionRequest but technically we have the data on the HttpRequest for
later changes.

The RequestTags are arbitrary but can be used e.g. as RequestPattern
matcher.

The idea is that you could use the RequestPattern with tags and then
anyone wanting to be part of this AuthenticationProvider can just tag
their route accordingly.
Should also help  with the Frontend vs Backend problem in the
FrontendLogin package.

Other uses TBD, also extensibility (aka other sources for tags).
The implementation in the Router is a bit rough, I wanted to make sure
there is no way to set this from the outside.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

1 participant