You are here

function hook_mailhandler_authenticate_info in Mailhandler 6

Define additional authentication methods for Mailhandler.

This hook is invoked from sshkey_save() before the SSH key is saved to the database.

Return value

An array of authentication methods. Each method has a key corresponding to its method shortname being registered. The method is an associative array that may contain the following key-value pairs:

  • 'title': Required. The untranslated title of the method.
  • 'description': The untranslated description of the method.
  • 'callback': The function to call to perform the authentication.

When the callback is located in a external file that requires to be loaded the authentication method can use the following keys that are used to load the file using module_load_include().

  • 'module': The module name handling the callback.
  • 'extension': The file extension.
  • 'basename': The file name.

See also

mailhandler_authenticate_default

1 function implements hook_mailhandler_authenticate_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

mailhandler_mailhandler_authenticate_info in ./mailhandler.module
Implementation of hook_mailhandler_authenticate_info()
1 invocation of hook_mailhandler_authenticate_info()
mailhandler_mailhandler_authenticate in ./mailhandler.retrieve.inc
Defines and executes message authentication methods

File

./mailhandler.api.php, line 88
Hooks provided by the Mailhandler module.

Code

function hook_mailhandler_authenticate_info() {
}