Versions in this module Expand all Collapse all v1 v1.0.0 Apr 25, 2019 Changes in this version + type AuthUrlOption struct + Key string + Value string + type Config struct + ClientID string + ClientSecret string + Issuer string + RedirectURL string + Scopes []string + type IdToken struct + AtHash string + Aud []string + AuthTime int + Exp int64 + Iat int + Iss string + Jti string + Nonce string + Rat int + Sub string + type IntrospectToken struct + Active bool + Aud []string + ClientID string + Exp int64 + Ext map[string]interface{} + Iat int + Iss string + Nbf int + Scope string + Sub string + TokenType string + Username string + type JwtVerifier struct + func NewJwtVerifier(config Config, options ...interface{}) *JwtVerifier + func (j *JwtVerifier) CreateAuthUrl(state string, options ...AuthUrlOption) string + func (j *JwtVerifier) CreateLogoutUrl(url string) string + func (j *JwtVerifier) Exchange(ctx context.Context, code string) (*Token, error) + func (j *JwtVerifier) GetUserInfo(ctx context.Context, token string) (*UserInfo, error) + func (j *JwtVerifier) Introspect(ctx context.Context, token string) (*IntrospectToken, error) + func (j *JwtVerifier) Revoke(ctx context.Context, token string) error + func (j *JwtVerifier) SetStorage(a storage.Adapter) + func (j *JwtVerifier) ValidateIdToken(ctx context.Context, token string) (*IdToken, error) + type RetrieveError struct + Body []byte + Response *http.Response + func (r *RetrieveError) Error() string + type Token struct + type UserInfo struct + Email string + EmailVerified bool + Name string + PhoneNumber string + PhoneVerified bool + Picture string + UserID string