grid.auth.user_auth

Module Contents

class grid.auth.user_auth.UserAuthentication(username, password)

Bases: grid.auth.authentication.BaseAuthentication

FILENAME = auth.user
USERNAME_FIELD = username
PASSWORD_FIELD = password
static parse(path)

Static method used to create new user authentication instances parsing a json file.

Parameters:path (str) – json file path.
Returns:List of user authentication objects.
Return type:List
json(self)

Convert user instances into a JSON/Dictionary structure.