ExFTP.Auth.WebhookAuthConfig (ExFTP v1.0.2)
View SourceA module describing the authenticator_config value for ExFTP.Auth.WebhookAuth
👀 See Also
📖 Resources
Summary
Types
A hash algorithm to use on the password supplied by the client.
The authenticator_config value for ExFTP.Auth.WebhookAuth
Functions
Builds a ExFTP.Auth.WebhookAuthConfig.t/0
from a map
Types
@type password_hash_type() :: :crypto.hash_algorithm()
A hash algorithm to use on the password supplied by the client.
Used by ExFTP.Auth.WebhookAuth.login/2
👀 See Also
@type t() :: %ExFTP.Auth.WebhookAuthConfig{ authenticated_method: ExFTP.Auth.Common.authenticated_method(), authenticated_ttl_ms: ExFTP.Auth.Common.authenticated_ttl_ms(), authenticated_url: ExFTP.Auth.Common.authenticated_url() | nil, login_method: ExFTP.Auth.Common.login_method(), login_url: ExFTP.Auth.Common.login_url(), password_hash_type: password_hash_type() }
The authenticator_config value for ExFTP.Auth.WebhookAuth
🏷️ Required Keys
- login_url ::
ExFTP.Auth.Common.login_url/0
🏷️ Optional Keys
- login_method ::
ExFTP.Auth.Common.login_method/0
- password_hash_type ::
password_hash_type/0
- authenticated_url ::
ExFTP.Auth.Common.authenticated_url/0
- authenticated_method ::
ExFTP.Auth.Common.authenticated_url/0
- authenticated_ttl_ms ::
ExFTP.Auth.Common.authenticated_ttl_ms/0
Functions
Builds a ExFTP.Auth.WebhookAuthConfig.t/0
from a map
🏷️ Params
- m :: A map to build into a
ExFTP.Auth.WebhookAuthConfig.t/0