from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
from PLC.NetworkMethods import NetworkMethod, NetworkMethods
-from PLC.Auth import PasswordAuth
+from PLC.Auth import Auth
class AddNetworkMethod(Method):
"""
roles = ['admin']
accepts = [
- PasswordAuth(),
+ Auth(),
NetworkMethod.fields['method']
]