Documentation
¶
Index ¶
- func AccountMFADisable(c *kli.CommandContext) error
- func AccountMFAEnable(c *kli.CommandContext) error
- func AccountMFAStatus(c *kli.CommandContext) error
- func AccountPasskeysList(c *kli.CommandContext) error
- func AccountPasskeysRemove(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 StrategiesAction(c *kli.CommandContext) 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 AccountPasskeysList ¶ added in v0.9.10
func AccountPasskeysList(c *kli.CommandContext) error
AccountPasskeysList lists the signed-in user's passkeys.
func AccountPasskeysRemove ¶ added in v0.9.10
func AccountPasskeysRemove(c *kli.CommandContext) error
AccountPasskeysRemove removes one of the user's passkeys, after a fresh proof.
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 StrategiesAction ¶ added in v0.9.10
func StrategiesAction(c *kli.CommandContext) error
StrategiesAction lists the realm's strategies and their methods; it needs no session.
func WhoamiAction ¶
func WhoamiAction(c *kli.CommandContext) error
Types ¶
This section is empty.