Sshd.PasswordAuthenticator behaviour (esshd v0.3.0) View Source

This module helps to implement password-based authentication.

Link to this section Summary

Callbacks

Returns a boolean which determines if the username user with password password is authorized to connect to the SSH server.

Link to this section Types

Specs

password() :: charlist()

Specs

username() :: charlist()

Link to this section Callbacks

Link to this callback

authenticate(username, password)

View Source

Specs

authenticate(username(), password()) :: boolean()

Returns a boolean which determines if the username user with password password is authorized to connect to the SSH server.