Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdLogin ¶
func NewCmdToken ¶
Types ¶
type Factory ¶
type Factory struct {
Browser browser.Opener
Reader ioreader.Reader
TokenCacheRepo tokencache.Repo
Logger logger.LogWriter
Clock clock.Clock
}
func NewFactory ¶
func NewFactory() *Factory
type LoginOpts ¶
type LoginOpts struct {
ConfigFile string
LoginUser string
IssuerURL string
ClientID string
ClientSecret string
ExtraScopes []string
UsePKCE bool
ForceRefresh bool
GrantType string
ListenAddress []string
AuthenticationTimeoutSec int
SkipOpenBrowser bool
BrowserCommand string
OpenURLAfterAuth string
RedirectURLHostname string
RedirectURLAuthCodeKeyboard string
AuthRequestExtraParams map[string]string
Username string
Password string
}
Click to show internal directories.
Click to hide internal directories.