Documentation
¶
Index ¶
- Constants
- func List(ctx context.Context, clients *shared.ClientFactory) ([]types.SlackAuth, error)
- func Login(ctx context.Context, apiClient api.APIInterface, authClient auth.AuthInterface, ...) (auth types.SlackAuth, credentialsPath string, err error)
- func LoginNoPrompt(ctx context.Context, clients *shared.ClientFactory, ticketArg string, ...) (auth types.SlackAuth, credentialsPath string, err error)
- func LoginWithClients(ctx context.Context, clients *shared.ClientFactory, userToken string, ...) (auth types.SlackAuth, credentialsPath string, err error)
Constants ¶
View Source
const InvalidNoPromptFlags = "Invalid arguments, both --ticket and --challenge flag values are required"
Variables ¶
This section is empty.
Functions ¶
func Login ¶
func Login(ctx context.Context, apiClient api.APIInterface, authClient auth.AuthInterface, config *config.Config, io iostreams.IOStreamer, userToken string, noRotation bool) (auth types.SlackAuth, credentialsPath string, err error)
Login takes the user through the Slack CLI login process
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.