Created
May 11, 2021 00:22
-
-
Save atultw/da74641366d6e7b81d2a087e5edf8392 to your computer and use it in GitHub Desktop.
golang struct type for auth0 jwt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Auth0Token struct { | |
Iss string `json:"iss"` | |
Sub string `json:"sub"` | |
Aud string `json:"aud"` | |
Exp int `json:"exp"` | |
Iat int `json:"iat"` | |
Name string `json:"name"` | |
GivenName string `json:"given_name"` | |
FamilyName string `json:"family_name"` | |
Gender string `json:"gender"` | |
Birthdate string `json:"birthdate"` | |
Email string `json:"email"` | |
Picture string `json:"picture"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment