Documentation ¶
Overview ¶
Package uaa provides UAA token utilities.
Package uaa provide functionality needed to interfact with UAA OAuth provider
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TanzuLogin = func(issuerURL string, opts ...common.LoginOption) (*common.Token, error) { issuerEndpoints := getIssuerEndpoints(issuerURL) h := common.NewTanzuLoginHandler(issuerURL, issuerEndpoints.AuthURL, issuerEndpoints.TokenURL, tanzuCLIClientID, tanzuCLIClientSecret, defaultListenAddress, defaultCallbackPath, config.UAAIdpType, nil, nil, term.IsTerminal) for _, opt := range opts { if err := opt(h); err != nil { return nil, err } } return h.DoLogin() }
Functions ¶
func GetAlternateClientID ¶ added in v1.5.1
func GetAlternateClientID() string
func GetClientSecret ¶ added in v1.5.1
func GetClientSecret() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.