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