Versions in this module Expand all Collapse all v1 v1.5.0 Mar 31, 2026 Changes in this version + func PerformOIDCLogin(ctx context.Context, config *OIDCLoginConfig, ...) (*oauth2.Token, error) + type EnterpriseHandler struct + func NewEnterpriseHandler(config *EnterpriseHandlerConfig) (*EnterpriseHandler, error) + func (h *EnterpriseHandler) Authorize(ctx context.Context, req *http.Request, resp *http.Response) error + func (h *EnterpriseHandler) TokenSource(ctx context.Context) (oauth2.TokenSource, error) + type EnterpriseHandlerConfig struct + HTTPClient *http.Client + IDTokenFetcher IDTokenFetcher + IdPCredentials *oauthex.ClientCredentials + IdPIssuerURL string + MCPAuthServerURL string + MCPCredentials *oauthex.ClientCredentials + MCPResourceURI string + MCPScopes []string + type IDTokenFetcher func(ctx context.Context) (*oauth2.Token, error) + type OIDCLoginConfig struct + Credentials *oauthex.ClientCredentials + HTTPClient *http.Client + IssuerURL string + LoginHint string + RedirectURL string + Scopes []string v1.5.0-pre.1 Mar 31, 2026