Versions in this module Expand all Collapse all v2 v2.11.4 Mar 7, 2021 v2.11.3 Mar 7, 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 SetAuthorizationToken(token string) auth.Option + func SetBasicAuth(clientid, clinetsecret string) auth.Option + 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 SetTLSConfig(tls *tls.Config) auth.Option + func SetVerifyOptions(opts claims.VerifyOptions) auth.Option + type Claims struct + Active bool + ClientID string + TokenType string + UserName string + func (c Claims) GetExpiresAt() time.Time + func (c Claims) GetID() string + func (c Claims) GetScope() []string + func (c Claims) GetUserName() string + func (c Claims) New() oauth2.ClaimsResolver + func (c Claims) Resolve() auth.Info