Documentation
¶
Index ¶
- func AccountMFADisable(c *kli.CommandContext) error
- func AccountMFAEnable(c *kli.CommandContext) error
- func AccountMFAStatus(c *kli.CommandContext) error
- func AccountRecoveryCodes(c *kli.CommandContext) error
- func LoginAction(c *kli.CommandContext) error
- func LogoutAction(c *kli.CommandContext) error
- func PlainRemote(u string) bool
- func QRBlocks(text string) (string, error)
- func WhoamiAction(c *kli.CommandContext) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountMFADisable ¶
func AccountMFADisable(c *kli.CommandContext) error
accountMFADisable turns the second factor off.
func AccountMFAEnable ¶
func AccountMFAEnable(c *kli.CommandContext) error
accountMFAEnable sets an authenticator app up for the signed-in user.
func AccountMFAStatus ¶
func AccountMFAStatus(c *kli.CommandContext) error
accountMFAStatus shows whether the user has a second factor.
func AccountRecoveryCodes ¶
func AccountRecoveryCodes(c *kli.CommandContext) error
accountRecoveryCodes replaces the recovery codes.
func LoginAction ¶
func LoginAction(c *kli.CommandContext) error
func LogoutAction ¶
func LogoutAction(c *kli.CommandContext) error
func PlainRemote ¶
plainRemote reports whether u is plain HTTP to a host other than the loopback, localhost or an unqualified name (a container on a private network, such as http://backd:8080).
func QRBlocks ¶
qrBlocks draws text as a QR code of half-block characters, two rows of modules per line, with a quiet zone. Light modules (and the quiet zone) are blocks and dark ones are blank, which is a dark code on a light ground in the usual light-on-dark terminal; readers also take it inverted.
func WhoamiAction ¶
func WhoamiAction(c *kli.CommandContext) error
Types ¶
This section is empty.