auth

package
v0.0.0-...-7610aa1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAuth

func CheckAuth(cfg config.Config) bool

func DisableAuthCheck

func DisableAuthCheck(cmd *cobra.Command)

func IsAuthEnabled

func IsAuthEnabled(cmd *cobra.Command) bool

func NewAuthCmd

func NewAuthCmd(f *factory.Factory) *cobra.Command

Types

type AuthOptions

type AuthOptions struct {
	Config     func() (config.Config, error)
	JiraClient func() (*jira.Client, error)
	Prompter   prompt.Prompter
}

Jump to

Keyboard shortcuts

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