auth

package
v0.0.0-...-158bfa7 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatAuthLabel

func FormatAuthLabel(auth types.SlackAuth) string

FormatAuthLabel returns a formatted auth label for user selection during logout

func NewCommand

func NewCommand(clients *shared.ClientFactory) *cobra.Command

func NewListCommand

func NewListCommand(clients *shared.ClientFactory) *cobra.Command

NewListCommand creates the Cobra command for listing authorized accounts

func NewLoginCommand

func NewLoginCommand(clients *shared.ClientFactory) *cobra.Command

func NewLogoutCommand

func NewLogoutCommand(clients *shared.ClientFactory) *cobra.Command

func NewRevokeCommand

func NewRevokeCommand(clients *shared.ClientFactory) *cobra.Command

func NewTokenCommand

func NewTokenCommand(clients *shared.ClientFactory) *cobra.Command

NewTokenCommand prepares the process to perform authentication for a service token via the existing flow used by the login command

func RunLoginCommand

func RunLoginCommand(clients *shared.ClientFactory, cmd *cobra.Command) (types.SlackAuth, error)

RunLoginCommand prompts the user to select a team or login to a new team

Types

This section is empty.

Jump to

Keyboard shortcuts

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