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

Add function to get names of all supported TrustClaims #18

Open
fitzthum opened this issue Sep 25, 2024 · 0 comments
Open

Add function to get names of all supported TrustClaims #18

fitzthum opened this issue Sep 25, 2024 · 0 comments

Comments

@fitzthum
Copy link

It's a little awkward to work with the trust claim names. It would be handy if the crate had an interface to list all of the supported trust claims. This allows the consumer of the crate to iterate through the claims without having to keep their own list, which could get out of sync.

Also, it seems like it might be good to track these with an enum. You can use strum to convert that into strings and back.

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

No branches or pull requests

1 participant