Documentation
¶
Index ¶
- func CheckMFACompletion(ac *client.AlpaconClient) (bool, error)
- func GetMFALink(ac *client.AlpaconClient, serverID string, workspaceName string) (string, error)
- func GetMFALinkForSudo(ac *client.AlpaconClient, serverName string) (string, error)
- func HandleMFAError(ac *client.AlpaconClient, serverName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMFACompletion ¶ added in v1.3.0
func CheckMFACompletion(ac *client.AlpaconClient) (bool, error)
func GetMFALink ¶
func GetMFALinkForSudo ¶ added in v1.4.0
func GetMFALinkForSudo(ac *client.AlpaconClient, serverName string) (string, error)
GetMFALinkForSudo resolves the server name and returns a CLI MFA URL. Used by the sudo MFA listener where only the server name is available.
func HandleMFAError ¶
func HandleMFAError(ac *client.AlpaconClient, serverName string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.