volttroncentral.authenticate module

A simple authorization for authenticating users with known credentials.

@author: Craig Allwardt

class volttroncentral.authenticate.Authenticate(user_map)[source]

Bases: object

authenticate(username, password)[source]

Authenticate that the user is known to the system.

Return groups of the user if the user is known otherwise returns None. :param username: :param password: :return: list(groups) or None