Skip to main content

Module auth_helper

Module auth_helper 

Source
Expand description

Authentication helper.

Authentication data may not be present in the configuration file, not provided during the calling operation or simply not known in advance. When authentication requires a TOTP or other temporary token - may be during the re-authentication or session renewal - the is no other way rather than the client to provide a callback that the authentication routine may invoke to request for such additional authentication data. This module defines such interface.

Structs§

ExternalCmd
External command AuthHelper.
Noop
A NonInteractive mode AuthHelper.

Enums§

AuthHelperError
Authentication helper errors

Traits§

AuthHelper
Authentication helper trait for providing certain functionality, such as interactive querying the user for the username, password, token and similar.