Versions in this module Expand all Collapse all v1 v1.0.0 Oct 26, 2022 Changes in this version + var ClockSkew = time.Minute * 5 + var ErrExpirationTimeTooFarInFuture = errors.New("Expiration time too far in future") + var ErrInvalidToken = errors.New("Invalid token") + var ErrNoExpirationTimeInToken = errors.New("No expiration time in token") + var ErrNoIssueTimeInToken = errors.New("No issue time in token") + var ErrPublicKeyNotFound = errors.New("No public key found for given kid") + var ErrTokenUsedTooEarly = errors.New("Token used too early") + var ErrTokenUsedTooLate = errors.New("Token used too late") + var ErrWrongSignature = errors.New("Wrong token signature") + var Issuers = []string + var MaxTokenLifetime = time.Second * 86400 + func VerifySignedJWTWithCerts(token string, certs *Certs, allowedAuds []string, issuers []string, ...) error + type Certs struct + Expiry time.Time + Keys map[string]*rsa.PublicKey + type ClaimSet struct + Email string + EmailVerified bool + FamilyName string + GivenName string + Locale string + Name string + Picture string + func Decode(token string) (*ClaimSet, error) + type Verifier struct + func (v *Verifier) VerifyIDToken(idToken string, audience []string) error