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