As an ironoxide user
I want to know if the JWT I have conforms to the ironoxide web-service's spec
so that I can catch errors in the structure and validity of my JWT before sending it to the server.
AC:
Jwt type exists and is used instead of &str
Jwt construction validates that all required fields exist
construction validates a supported algorithm is being used
variants exist for both IronCore and Auth0 JWTs -- should be extensible for other JWT types that might be supported in the future
As an ironoxide user I want to know if the JWT I have conforms to the ironoxide web-service's spec so that I can catch errors in the structure and validity of my JWT before sending it to the server.
AC:
Jwt
type exists and is used instead of&str
Jwt
construction validates that all required fields exist