You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RegisteredClaims and MapClaims are used in the code, and ArgoClaims is wrapping RegisteredClaims. How we access the claims then is either through interface methods, property access or with jwt helper functions to convert the values of MapClaims.
The current code is confusing, error prone and not necessary.
Motivation
less serializations means faster code
code is easier to understand
less chance of error
Proposal
Use the ArgoClaims wrapper everywhere.
The text was updated successfully, but these errors were encountered:
Summary
RegisteredClaims and MapClaims are used in the code, and ArgoClaims is wrapping RegisteredClaims. How we access the claims then is either through interface methods, property access or with jwt helper functions to convert the values of MapClaims.
The current code is confusing, error prone and not necessary.
Motivation
Proposal
Use the ArgoClaims wrapper everywhere.
The text was updated successfully, but these errors were encountered: