Versions in this module Expand all Collapse all v0 v0.0.1 Feb 2, 2018 Changes in this version + type ClaimSet struct + Aud string + Azp string + Email string + EmailVerified bool + Exp int64 + Iat int64 + Iss string + Scope string + Sub string + Typ string + type IDToken struct + func NewIDToken(jwt string) (*IDToken, error) + func (t *IDToken) CheckTime() bool + func (t *IDToken) GetClaimSet() ClaimSet + func (t *IDToken) GetHeader() string + func (t *IDToken) GetJWT() string + func (t *IDToken) GetPayload() string + type Retriever struct + func NewRetriever(clientID string) *Retriever + func (r *Retriever) GetIDToken(ctx context.Context) (*IDToken, error) + func (r *Retriever) GetNewIDToken(ctx context.Context) (*IDToken, error) + type Verifier struct + func NewVerifier() *Verifier + func (v *Verifier) ResetCerts() + func (v *Verifier) VerifyIDToken(ctx context.Context, jwt string, audience string) error