2 from PLC.Method import Method
3 from PLC.Parameter import Parameter, Mixed
4 from PLC.Auth import Auth, BootAuth
6 class AuthCheck(Method):
8 Returns 1 if the user or node authenticated successfully, faults
12 roles = ['admin', 'pi', 'user', 'tech', 'node']
14 returns = Parameter(int, '1 if successful')