Versions in this module Expand all Collapse all v3 v3.0.0 Sep 7, 2026 Changes in this version + func AuthorizationFlow(ctx context.Context, baseURL, clientID, redirectURL string, scopes []string, ...) (*oauth2.Token, error) + func NewOAuth2Config(baseURL, clientID, redirectURL string, scopes []string) *oauth2.Config + type BrowserFunc func(url string) error + type CallbackServer struct + func NewCallbackServer(config *oauth2.Config, addr string, browser BrowserFunc) *CallbackServer + func NewLocalCallbackServer(config *oauth2.Config, browser BrowserFunc) *CallbackServer + func (s *CallbackServer) GetToken(ctx context.Context) (*oauth2.Token, error) Other modules containing this package gitlab.com/gitlab-org/api/client-go gitlab.com/gitlab-org/api/client-go/v2