FetchTokenWithRedirect will either load a stored token or generate a new one it appends the full url as the redirect URL to the access cli request if opening the browser
(appURL *url.URL, appInfo *AppInfo, autoClose bool, isFedramp bool, log *zerolog.Logger)
| 267 | // FetchTokenWithRedirect will either load a stored token or generate a new one |
| 268 | // it appends the full url as the redirect URL to the access cli request if opening the browser |
| 269 | func FetchTokenWithRedirect(appURL *url.URL, appInfo *AppInfo, autoClose bool, isFedramp bool, log *zerolog.Logger) (string, error) { |
| 270 | return getToken(appURL, appInfo, false, autoClose, isFedramp, log) |
| 271 | } |
| 272 | |
| 273 | // FetchToken will either load a stored token or generate a new one |
| 274 | // it appends the host of the appURL as the redirect URL to the access cli request if opening the browser |
no test coverage detected