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

feature(accessTokenManagement): make the project AotCompatible #139

Merged

Conversation

jbzellerEudo
Copy link

AccessTokenManagement is just using a couple serialization api that aren't trim and aot compatible which can be handled by source generation.

Technically the Dictionary<string, object> require string to be added to the list but since ClientCredentialsToken already has string children I did not include it to save code. Only the long from the date time conversion is required for tests to pass.

What issue does this PR address?
Make Duende.AccessTokenManagement Aot Compatible

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
AccessTokenManagement is just using a couple serialization api that aren't trim and aot compatible which can be handled by source generation.

Technically the Dictionary<string, object> require string to be added to the list but since ClientCredentialsToken already has string children I did not include it to save code. Only the long from the date time conversion is required for tests to pass.
@jbzellerEudo jbzellerEudo requested a review from a team as a code owner March 14, 2025 09:04
@Erwinvandervalk Erwinvandervalk self-assigned this Mar 14, 2025
@Erwinvandervalk Erwinvandervalk added the state/needs-triage Needs triaging by the maintainers label Mar 14, 2025
@Erwinvandervalk Erwinvandervalk merged commit 0d97103 into DuendeSoftware:main Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state/needs-triage Needs triaging by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants