GO-2022-0350: Code injection in Stripe CLI on windows in github.com/stripe/stripe-cli
package
Version:
v0.2.1
Opens a new window with list of versions in this module.
Published: Jul 15, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
InteractiveLogin lets the user set configuration on the command line
Login function is used to obtain credentials via stripe dashboard.
PollForKey polls Stripe at the specified interval until either the API key is available or we've reached the max attempts.
type Links struct {
BrowserURL string `json:"browser_url"`
PollURL string `json:"poll_url"`
VerificationCode string `json:"verification_code"`
}
Links provides the URLs for the CLI to continue the login flow
Source Files
¶
Click to show internal directories.
Click to hide internal directories.