(most) all functions now take SessionAuth in addition to PasswordAuth
[plcapi.git] / PLC / Methods / SliceCreate.py
index 11a700c..27b4611 100644 (file)
@@ -1,7 +1,7 @@
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
-from PLC.Auth import PasswordAuth
+from PLC.Auth import Auth
 from PLC.Slices import Slice, Slices
 from PLC.Methods.AddSlice import AddSlice
 
@@ -13,7 +13,7 @@ class SliceCreate(AddSlice):
     status = "deprecated"
     
     accepts = [
-        PasswordAuth(),
+        Auth(),
         Slice.fields['name'],
         AddSlice.accepts[1]
         ]