Modules

Classes

Methods

create_authenticator

(authentication_class, host)

Create a new authenticator object. This method will be called once per connection that requires authentication. The auth provider can create different authenticators for different authentication classes, or return nil if it does not support the authentication class.

Note
This method must absolutely not block.
Parameters:
Name Type Details
authentication_class String the authentication class used by the server.
host Host the node to whom we’re authenticating.
Returns:
Type Details
(Auth::Authenticator or nil) an object with an interface matching Authenticator or nil if the authentication class is not supported.