Class: Cql::Auth::Authenticator

Inherits:
Object
  • Object
show all
Defined in:
lib/cql/auth.rb

Overview

Note:

Authenticators created by auth providers don't need to be subclasses of this class, but need to implement the same methods. This class exists only for documentation purposes.

An authenticator handles the authentication challenge/response cycles of a single connection. It can be stateful, but it must not for any reason block. If any of the method calls block, the whole connection process will be blocked.