Skip to content

Conversation

@simonbs
Copy link
Contributor

@simonbs simonbs commented Nov 7, 2023

This PR restructures our authentication logic in preparation for supporting guest users. At a high level the following changes were made:

  • Moved authentication code into subfolders to provide a better overview.
  • Reading and refreshing tokens is now performed through AccessTokenService instead of separate types.
  • With the introduction of AccessTokenService follows LockingAccessTokenService and OnlyStaleRefreshingAccessTokenService. Both are decorators over IAccessTokenService.
  • SessionDataRepository has been removed as it is largely unnecessary.

@simonbs simonbs self-assigned this Nov 7, 2023
@simonbs simonbs merged commit 4652757 into develop Nov 7, 2023
@simonbs simonbs deleted the enhancement/access-token-service branch November 7, 2023 10:52
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.

1 participant