Versions in this module Expand all Collapse all v1 v1.3.0 Oct 25, 2019 Changes in this version + func ValidateTokenFromHeader(request *http.Request, jwks *jwk.Set, info CognitoConfig, tokenType string) error + type CognitoConfig struct + AppClient string + Region string + UserPool string v1.1.0 Oct 14, 2019 Changes in this version + func CheckHeader(request *http.Request, jwks *jwk.Set, appClient string, tokenType string) error + func GetClaims(request *http.Request, jwks *jwk.Set, appClient string, tokenType string) (map[string]interface{}, error) + func GetGroups(request *http.Request, jwks *jwk.Set, appClient string) ([]string, error) + func GetJWK(region, userPool string) (*jwk.Set, error)