Versions in this module Expand all Collapse all v2 v2.2.1 Mar 4, 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 (s *CallbackServer) GetToken(ctx context.Context) (*oauth2.Token, error) Other modules containing this package gitlab.com/gitlab-org/api/client-go