This patch adds two methods to the authn-go client: ClaimsFrom and its derivative, ClaimsFromWithAudience. These methods return the verified claims for the given ID token, if and only if the token is a valid JWT passing all verification requirements.
This patch adds two methods to the authn-go client: ClaimsFrom and its derivative, ClaimsFromWithAudience. These methods return the verified claims for the given ID token, if and only if the token is a valid JWT passing all verification requirements.
Closes https://github.com/keratin/authn-go/issues/17.