I am getting back a JWT Token and I am using the System.IdentityModel.Tokens.Jwt
to decode it so I can do validation on the token. I am able to strip the claims up to this point:
"{\"Account Manager\":\"true\",\"Administrator\":\"true\",\"Agent\":\"true\"}"
What I want is a List<string>
that looks like this:
"Account Manager"
"Administrator"
"Agent"
What is the best way to handle this?