Package coilmq :: Package auth :: Class Authenticator
[frames] | no frames]

Class Authenticator

object --+
         |
        Authenticator

Abstract base class for authenticators.

Instance Methods
bool
authenticate(self, login, passcode)
Authenticate the login and passcode.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  __metaclass__ = abc.ABCMeta
Properties

Inherited from object: __class__

Method Details

authenticate(self, login, passcode)

 

Authenticate the login and passcode.

Returns: bool
Whether user is authenticated.
Decorators:
  • @abc.abstractmethod