Versions in this module Expand all Collapse all v0 v0.0.2 Dec 2, 2022 Changes in this version type Claims + func ForceJWTtoJWXClaims(jwtMC jwt.MapClaims) (claims Claims, err error) v0.0.1 Dec 1, 2022 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