-
Notifications
You must be signed in to change notification settings - Fork 117
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
Make Claim.value public #67
Comments
Agree, we use JWT to transport the users authorizations. This is an array, with the value being a complex type (role, entity) |
This seems fair, I'm thinking /// original claim value
public var rawValue: Any? {
return self.value
} |
@cocojoe Feels right! raw implying that you're on your own if you're using it. |
@cocojoe any ETA on when we can get this merged? |
Sorry forgot about this, merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now Claim.value is not public. There is no direct way to pull out something like a Dictionary type directly. The simplest way would be to use .value and cast it, but it's not visible.
The text was updated successfully, but these errors were encountered: