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

feat: add TokenRefreshHandler #1126

Conversation

paullatzelsperger
Copy link
Contributor

@paullatzelsperger paullatzelsperger commented Mar 14, 2024

WHAT

This PR adds the TokenRefreshHandler component, that takes a token-ID and refreshes the corresponding access/refresh token pair.
The TokenRefreshHandler uses the EndpointDataReferenceStore as backing storage for EDRs.

WHY

Being able to refresh tokens on the consumer side.

FURTHER NOTES

  • in most cases the token-ID is identical to the transfer process ID
  • refactored the package structure of the tokenrefresh-spi module

Closes #1112

@paullatzelsperger paullatzelsperger added Feature critical All issues that will definitely be in the milestone they are planned for labels Mar 14, 2024
@paullatzelsperger paullatzelsperger self-assigned this Mar 14, 2024
@paullatzelsperger paullatzelsperger marked this pull request as draft March 14, 2024 08:21
@paullatzelsperger paullatzelsperger force-pushed the feat/1112_token_refresh_handler branch 2 times, most recently from f38a870 to 5b0c793 Compare March 14, 2024 10:44
@paullatzelsperger paullatzelsperger marked this pull request as ready for review March 14, 2024 11:46
@paullatzelsperger paullatzelsperger force-pushed the feat/1112_token_refresh_handler branch 2 times, most recently from 1ebc7db to c458179 Compare March 14, 2024 15:03
@paullatzelsperger paullatzelsperger force-pushed the feat/1112_token_refresh_handler branch from c458179 to 17c3f23 Compare March 14, 2024 15:06
Copy link

sonarqubecloud bot commented Mar 14, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.9% Duplication on New Code

See analysis details on SonarCloud

@paullatzelsperger paullatzelsperger merged commit 5978673 into eclipse-tractusx:main Mar 15, 2024
25 checks passed
@paullatzelsperger paullatzelsperger deleted the feat/1112_token_refresh_handler branch March 15, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical All issues that will definitely be in the milestone they are planned for Feature
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

Implement TokenRefreshHandler (consumer)
2 participants