Versions in this module Expand all Collapse all v10 v10.0.1 Nov 17, 2021 Changes in this version + func DecodeAccessToken(accessToken string, e, n *string) (*jwt.Token, *jwt.MapClaims, error) + func DecodeAccessTokenCustomClaims(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 v10.0.0-rc.1 Nov 17, 2021 Other modules containing this package github.com/Nerzal/gocloak github.com/Nerzal/gocloak/v11 github.com/Nerzal/gocloak/v12 github.com/Nerzal/gocloak/v13 github.com/Nerzal/gocloak/v3 github.com/Nerzal/gocloak/v4 github.com/Nerzal/gocloak/v5 github.com/Nerzal/gocloak/v6 github.com/Nerzal/gocloak/v7 github.com/Nerzal/gocloak/v8 github.com/Nerzal/gocloak/v9