from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
from PLC.KeyTypes import KeyType, KeyTypes
-from PLC.Auth import PasswordAuth
+from PLC.Auth import Auth
class AddKeyType(Method):
"""
roles = ['admin']
accepts = [
- PasswordAuth(),
+ Auth(),
KeyType.fields['key_type']
]