Versions in this module Expand all Collapse all v1 v1.0.0 Jul 24, 2018 Changes in this version + const EmailClaim + const NameClaim + const PreferredUsernameClaim + const SubjectClaim + func NewProvider(providerName string, transport http.RoundTripper, config Config) (external.Provider, error) + type Config struct + AuthorizeURL string + ClientID string + ClientSecret string + EmailClaims []string + ExtraAuthorizeParameters map[string]string + IDClaims []string + IDTokenValidator TokenValidator + NameClaims []string + PreferredUsernameClaims []string + Scopes []string + TokenURL string + UserInfoURL string + type TokenValidator func(map[string]interface{}) error