-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: enhancementA general enhancementA general enhancement
Milestone
Description
Reusing OneTimeTokenAuthenticationToken
for both authenticated and unauthenticated instances leads to a lack of cohesion since the fields used do not overlap.
Separating them into OneTimeTokenAuthentication
(authenticated) and OneTimeTokenAuthenticationToken
(unauthenticated) simplifies OneTimeTokenAuthenticationToken
as it will at that point only have one constructor.
This aligns with other token-based authentications like BearerTokenAuthenticationToken
(unauthenticated) and BearerTokenAuthentication
(authenticated).
Metadata
Metadata
Assignees
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: enhancementA general enhancementA general enhancement