auth

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrExchangeRejected = errors.New("onboarding token exchange rejected")

ErrExchangeRejected marks a 401 from the exchange endpoint (token used or expired), so callers may fall back to a saved login.

Functions

func ExchangeToken added in v1.6.2

func ExchangeToken(f *cmdutil.Factory, serverURL, token string) (string, error)

ExchangeToken trades a short-lived onboarding token for a TeamCity access token and stores it like `auth login`.

func NewCmd

func NewCmd(f *cmdutil.Factory) *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址