Versions in this module Expand all Collapse all v2 v2.11.6 Dec 15, 2021 v2.11.5 Dec 10, 2021 Changes in this version + func GetAuthenticateFunc(addr string, opts ...auth.Option) token.AuthenticateFunc + func New(addr string, c auth.Cache, opts ...auth.Option) auth.Strategy + func SetClaimResolver(c oauth2.ClaimsResolver) auth.Option + func SetClientTransport(rt http.RoundTripper) auth.Option + func SetErrorResolver(e oauth2.ErrorResolver) auth.Option + func SetHTTPClient(c *http.Client) auth.Option + func SetHTTPMethod(method string) auth.Option + func SetTLSConfig(tls *tls.Config) auth.Option + func SetVerifyOptions(opts claims.VerifyOptions) auth.Option + type AddressClaim struct + Country string + Formatted string + Locality string + PostalCode string + Region string + StreetAddress string + type Claims struct + Address AddressClaim + Birthdate string + Email string + EmailVerified bool + FamilyName string + Gender string + GivenName string + Locale string + MiddleName string + Name string + NickName string + PhoneNumber string + PhoneNumberVerified bool + Picture string + PreferredUsername string + Profile string + Subject string + UpdatedAT *claims.Time + Website string + ZoneInfo string + func (c Claims) GetID() string + func (c Claims) GetUserName() string + func (c Claims) New() oauth2.ClaimsResolver + func (c Claims) Resolve() auth.Info + func (c Claims) Verify(opts claims.VerifyOptions) (err error)