Advertisement
Guest User

Untitled

a guest
Jun 17th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1.  
  2. .field private static literal int32 Timeout = int32(0x00002710)
  3. .method public hidebysig static void AuthenticateUser(string username,
  4. string passwordOrLoginToken,
  5. class [System.Core]System.Action`2<class Eco.Shared.Authentication.LoginSession,string> callback) cil managed
  6. {
  7. // Code size 64 (0x40)
  8. .maxstack 4
  9. .locals init (class Eco.Shared.Authentication.UserAuthentication/'<>c__DisplayClass1_0' V_0,
  10. string V_1,
  11. string V_2)
  12. IL_0000: newobj instance void Eco.Shared.Authentication.UserAuthentication/'<>c__DisplayClass1_0'::.ctor()
  13. IL_0005: stloc.0
  14. IL_0006: ldloc.0
  15. IL_0007: ldarg.2
  16. IL_0008: stfld class [System.Core]System.Action`2<class Eco.Shared.Authentication.LoginSession,string> Eco.Shared.Authentication.UserAuthentication/'<>c__DisplayClass1_0'::callback
  17. IL_000d: ldarg.0
  18. IL_000e: call string [System]System.Uri::EscapeDataString(string)
  19. IL_0013: stloc.1
  20. IL_0014: ldarg.1
  21. IL_0015: call string [System]System.Uri::EscapeDataString(string)
  22. IL_001a: stloc.2
  23. IL_001b: ldloc.0
  24. IL_001c: ldstr "https://ecoauth.kortal.org/game/responsev4\?user={0"
  25. + "}&pass={1}"
  26. IL_0021: ldloc.1
  27. IL_0022: ldloc.2
  28. IL_0023: call string [mscorlib]System.String::Format(string,
  29. object,
  30. object)
  31. IL_0028: stfld string Eco.Shared.Authentication.UserAuthentication/'<>c__DisplayClass1_0'::loginUri
  32. IL_002d: ldloc.0
  33. IL_002e: ldftn instance void Eco.Shared.Authentication.UserAuthentication/'<>c__DisplayClass1_0'::'<AuthenticateUser>b__0'(object)
  34. IL_0034: newobj instance void [mscorlib]System.Threading.WaitCallback::.ctor(object,
  35. native int)
  36. IL_0039: call bool [mscorlib]System.Threading.ThreadPool::QueueUserWorkItem(class [mscorlib]System.Threading.WaitCallback)
  37. IL_003e: pop
  38. IL_003f: ret
  39. } // end of method UserAuthentication::AuthenticateUser
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement