public virtual global::System.Object createOAuth(){ //XMLVM_BEGIN_WRAPPER[com.codename1.facebook.FaceBookAccess: com.codename1.io.Oauth2 createOAuth()] global::org.xmlvm._nElement _r0; global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r1_o = null; global::org.xmlvm._nElement _r2; global::System.Object _r2_o = null; global::org.xmlvm._nElement _r3; global::System.Object _r3_o = null; global::org.xmlvm._nElement _r4; global::System.Object _r4_o = null; global::org.xmlvm._nElement _r5; global::System.Object _r5_o = null; global::org.xmlvm._nElement _r6; global::System.Object _r6_o = null; global::org.xmlvm._nElement _r7; global::System.Object _r7_o = null; global::org.xmlvm._nElement _r8; global::System.Object _r8_o = null; global::org.xmlvm._nElement _r9; global::System.Object _r9_o = null; global::org.xmlvm._nElement _r10; global::System.Object _r10_o = null; global::org.xmlvm._nElement _r11; global::System.Object _r11_o = null; global::org.xmlvm._nExceptionAdapter _ex = null; _r11_o = this; // Value=display _r5_o = new global::java.lang.String(); ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 121))})); // Value=SE _r3_o = new global::java.lang.String(); ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)83)), unchecked((char) unchecked((uint) 69))})); // Value= _r4_o = new global::java.lang.String(); ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {})); _r0_o = global::com.codename1.facebook.FaceBookAccess._fpermissions; if (_r0_o == null) goto label62; _r0_o = global::com.codename1.facebook.FaceBookAccess._fpermissions; _r0.i = ((global::org.xmlvm._nIArray) _r0_o).Length; if (_r0.i <= 0) goto label62; _r8.i = 0; label16:; _r0_o = global::com.codename1.facebook.FaceBookAccess._fpermissions; _r0.i = ((global::org.xmlvm._nIArray) _r0_o).Length; if (_r8.i >= _r0.i) goto label51; _r0_o = global::com.codename1.facebook.FaceBookAccess._fpermissions; _r10_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o)[_r8.i]; _r0_o = new global::java.lang.StringBuilder(); ((global::java.lang.StringBuilder) _r0_o).@this(); _r0_o = ((global::java.lang.StringBuilder) _r0_o).append((global::java.lang.String) _r4_o); _r0_o = ((global::java.lang.StringBuilder) _r0_o).append((global::java.lang.String) _r10_o); // Value=, _r1_o = new global::java.lang.String(); ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)44))})); _r0_o = ((global::java.lang.StringBuilder) _r0_o).append((global::java.lang.String) _r1_o); _r4_o = ((global::java.lang.StringBuilder) _r0_o).toString(); _r8.i = _r8.i + 1; goto label16; label51:; _r0.i = 0; _r1.i = ((global::java.lang.String) _r4_o).length(); _r2.i = 1; _r1.i = _r1.i - _r2.i; _r4_o = ((global::java.lang.String) _r4_o).substring((int) _r0.i, (int) _r1.i); label62:; _r7_o = new global::java.util.Hashtable(); ((global::java.util.Hashtable) _r7_o).@this(); _r0_o = global::com.codename1.ui.Display.getInstance(); _r9_o = ((global::com.codename1.ui.Display) _r0_o).getPlatformName(); _r0_o = global::com.codename1.ui.Display.getInstance(); // Value=OS _r1_o = new global::java.lang.String(); ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)79)), unchecked((char) unchecked((uint) 83))})); // Value=SE _r2_o = new global::java.lang.String(); ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)83)), unchecked((char) unchecked((uint) 69))})); _r0_o = ((global::com.codename1.ui.Display) _r0_o).getProperty((global::java.lang.String) _r1_o, (global::java.lang.String) _r3_o); // Value=SE _r1_o = new global::java.lang.String(); ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)83)), unchecked((char) unchecked((uint) 69))})); _r0.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r3_o) ? 1 : 0; if (_r0.i != 0) goto label111; // Value=rim _r0_o = new global::java.lang.String(); ((global::java.lang.String)_r0_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)114)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 109))})); _r0.i = ((global::java.lang.String) _r9_o).equals((global::java.lang.Object) _r0_o) ? 1 : 0; if (_r0.i != 0) goto label111; // Value=me _r0_o = new global::java.lang.String(); ((global::java.lang.String)_r0_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)109)), unchecked((char) unchecked((uint) 101))})); _r0.i = ((global::java.lang.String) _r9_o).equals((global::java.lang.Object) _r0_o) ? 1 : 0; if (_r0.i == 0) goto label134; label111:; // Value=display _r0_o = new global::java.lang.String(); ((global::java.lang.String)_r0_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 121))})); // Value=popup _r0_o = new global::java.lang.String(); ((global::java.lang.String)_r0_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 112))})); ((global::java.util.Hashtable) _r7_o).put((global::java.lang.Object) _r5_o, (global::java.lang.Object) _r0_o); label118:; _r0_o = new global::com.codename1.io.Oauth2(); // Value=https://www.facebook.com/dialog/oauth _r1_o = new global::java.lang.String(); ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 119)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 104))})); _r2_o = global::com.codename1.facebook.FaceBookAccess._fclientId; _r3_o = global::com.codename1.facebook.FaceBookAccess._fredirectURI; // Value=https://graph.facebook.com/oauth/access_token _r5_o = new global::java.lang.String(); ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110))})); _r6_o = global::com.codename1.facebook.FaceBookAccess._fclientSecret; ((global::com.codename1.io.Oauth2) _r0_o).@this((global::java.lang.String) _r1_o, (global::java.lang.String) _r2_o, (global::java.lang.String) _r3_o, (global::java.lang.String) _r4_o, (global::java.lang.String) _r5_o, (global::java.lang.String) _r6_o, (global::java.util.Hashtable) _r7_o); return (global::com.codename1.io.Oauth2) _r0_o; label134:; // Value=display _r0_o = new global::java.lang.String(); ((global::java.lang.String)_r0_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 121))})); // Value=touch _r0_o = new global::java.lang.String(); ((global::java.lang.String)_r0_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)116)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 104))})); ((global::java.util.Hashtable) _r7_o).put((global::java.lang.Object) _r5_o, (global::java.lang.Object) _r0_o); goto label118; //XMLVM_END_WRAPPER[com.codename1.facebook.FaceBookAccess: com.codename1.io.Oauth2 createOAuth()] }
public override global::System.Object createOauth2(){ //XMLVM_BEGIN_WRAPPER[com.codename1.social.GoogleConnect: com.codename1.io.Oauth2 createOauth2()] global::org.xmlvm._nElement _r0; global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r1_o = null; global::org.xmlvm._nElement _r2; global::System.Object _r2_o = null; global::org.xmlvm._nElement _r3; global::System.Object _r3_o = null; global::org.xmlvm._nElement _r4; global::System.Object _r4_o = null; global::org.xmlvm._nElement _r5; global::System.Object _r5_o = null; global::org.xmlvm._nElement _r6; global::System.Object _r6_o = null; global::org.xmlvm._nElement _r7; global::System.Object _r7_o = null; global::org.xmlvm._nElement _r8; global::System.Object _r8_o = null; global::org.xmlvm._nExceptionAdapter _ex = null; _r8_o = this; _r7_o = new global::java.util.Hashtable(); ((global::java.util.Hashtable) _r7_o).@this(); // Value=approval_prompt _r1_o = new global::java.lang.String(); ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 116))})); // Value=force _r2_o = new global::java.lang.String(); ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)102)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 101))})); ((global::java.util.Hashtable) _r7_o).put((global::java.lang.Object) _r1_o, (global::java.lang.Object) _r2_o); // Value=access_type _r1_o = new global::java.lang.String(); ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 101))})); // Value=offline _r2_o = new global::java.lang.String(); ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)111)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101))})); ((global::java.util.Hashtable) _r7_o).put((global::java.lang.Object) _r1_o, (global::java.lang.Object) _r2_o); _r0_o = new global::com.codename1.io.Oauth2(); _r1_o = ((global::com.codename1.social.GoogleConnect) _r8_o)._foauth2URL; _r2_o = ((global::com.codename1.social.GoogleConnect) _r8_o)._fclientId; _r3_o = ((global::com.codename1.social.GoogleConnect) _r8_o)._fredirectURI; _r4_o = ((global::com.codename1.social.GoogleConnect) _r8_o)._fscope; _r5_o = global::com.codename1.social.GoogleConnect._ftokenURL; _r6_o = ((global::com.codename1.social.GoogleConnect) _r8_o)._fclientSecret; ((global::com.codename1.io.Oauth2) _r0_o).@this((global::java.lang.String) _r1_o, (global::java.lang.String) _r2_o, (global::java.lang.String) _r3_o, (global::java.lang.String) _r4_o, (global::java.lang.String) _r5_o, (global::java.lang.String) _r6_o, (global::java.util.Hashtable) _r7_o); return (global::com.codename1.io.Oauth2) _r0_o; //XMLVM_END_WRAPPER[com.codename1.social.GoogleConnect: com.codename1.io.Oauth2 createOauth2()] }
public virtual global::System.Object createOauth2(){ //XMLVM_BEGIN_WRAPPER[com.codename1.social.Login: com.codename1.io.Oauth2 createOauth2()] global::System.Object _r0_o = null; global::System.Object _r1_o = null; global::System.Object _r2_o = null; global::System.Object _r3_o = null; global::System.Object _r4_o = null; global::System.Object _r5_o = null; _r5_o = this; _r0_o = new global::com.codename1.io.Oauth2(); _r1_o = ((global::com.codename1.social.Login) _r5_o)._foauth2URL; _r2_o = ((global::com.codename1.social.Login) _r5_o)._fclientId; _r3_o = ((global::com.codename1.social.Login) _r5_o)._fredirectURI; _r4_o = ((global::com.codename1.social.Login) _r5_o)._fscope; ((global::com.codename1.io.Oauth2) _r0_o).@this((global::java.lang.String) _r1_o, (global::java.lang.String) _r2_o, (global::java.lang.String) _r3_o, (global::java.lang.String) _r4_o); return (global::com.codename1.io.Oauth2) _r0_o; //XMLVM_END_WRAPPER[com.codename1.social.Login: com.codename1.io.Oauth2 createOauth2()] }