Versions in this module Expand all Collapse all v1 v1.0.0 Jan 25, 2024 Changes in this version + func DecodeAccessTokenECDSACustomClaims(accessToken string, x, y, crv *string, customClaims jwt.Claims) (*jwt.Token, error) + func DecodeAccessTokenRSACustomClaims(accessToken string, e, n *string, customClaims jwt.Claims) (*jwt.Token, error) + func SignClaims(claims jwt.Claims, key interface{}, method jwt.SigningMethod) (string, error) + type Account struct + Roles []string + type Address struct + type Claims struct + Acr string + Address Address + AllowedOrigins []string + AuthTime int + Azp string + ClientHost string + ClientID string + ClientIP string + Email string + EmailVerified bool + FamilyName string + GivenName string + Name string + PreferredUsername string + RealmAccess RealmAccess + ResourceAccess ResourceAccess + Scope string + SessionState string + Typ string + type DecodedAccessTokenHeader struct + Alg string + Kid string + Typ string + func DecodeAccessTokenHeader(token string) (*DecodedAccessTokenHeader, error) + type RealmAccess struct + Roles []string + type RealmManagement struct + Roles []string + type ResourceAccess struct + Account Account + RealmManagement RealmManagement