Move getAccessToken logic to the connection
[potlatch2.git] / net / systemeD / halcyon / connection / Connection.as
index a2bbc68b3a35d75e580e37523d8db4225f8713b4..22696c9c13509b860a14df9086d0d60f7d4370fb 100755 (executable)
@@ -6,6 +6,7 @@ package net.systemeD.halcyon.connection {
     import flash.events.Event;
        import net.systemeD.halcyon.Globals;
        import net.systemeD.halcyon.connection.actions.*;
+    import org.iotashan.oauth.*;
 
        public class Connection extends EventDispatcher {
 
@@ -366,6 +367,7 @@ package net.systemeD.halcyon.connection {
            public function uploadChanges():void {}
         public function fetchUserTraces(refresh:Boolean=false):void {}
         public function fetchTrace(id:Number, callback:Function):void {}
+        public function getAccessToken(data:Object):OAuthToken { return null; } //todo make private and remove import org.ioshtan etc
     }
 
 }