Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .field private static literal int32 Timeout = int32(0x00002710)
- .method public hidebysig static void AuthenticateUser(string username,
- string passwordOrLoginToken,
- class [System.Core]System.Action`2<class Eco.Shared.Authentication.LoginSession,string> callback) cil managed
- {
- // Code size 64 (0x40)
- .maxstack 4
- .locals init (class Eco.Shared.Authentication.UserAuthentication/'<>c__DisplayClass1_0' V_0,
- string V_1,
- string V_2)
- IL_0000: newobj instance void Eco.Shared.Authentication.UserAuthentication/'<>c__DisplayClass1_0'::.ctor()
- IL_0005: stloc.0
- IL_0006: ldloc.0
- IL_0007: ldarg.2
- IL_0008: stfld class [System.Core]System.Action`2<class Eco.Shared.Authentication.LoginSession,string> Eco.Shared.Authentication.UserAuthentication/'<>c__DisplayClass1_0'::callback
- IL_000d: ldarg.0
- IL_000e: call string [System]System.Uri::EscapeDataString(string)
- IL_0013: stloc.1
- IL_0014: ldarg.1
- IL_0015: call string [System]System.Uri::EscapeDataString(string)
- IL_001a: stloc.2
- IL_001b: ldloc.0
- IL_001c: ldstr "https://ecoauth.kortal.org/game/responsev4\?user={0"
- + "}&pass={1}"
- IL_0021: ldloc.1
- IL_0022: ldloc.2
- IL_0023: call string [mscorlib]System.String::Format(string,
- object,
- object)
- IL_0028: stfld string Eco.Shared.Authentication.UserAuthentication/'<>c__DisplayClass1_0'::loginUri
- IL_002d: ldloc.0
- IL_002e: ldftn instance void Eco.Shared.Authentication.UserAuthentication/'<>c__DisplayClass1_0'::'<AuthenticateUser>b__0'(object)
- IL_0034: newobj instance void [mscorlib]System.Threading.WaitCallback::.ctor(object,
- native int)
- IL_0039: call bool [mscorlib]System.Threading.ThreadPool::QueueUserWorkItem(class [mscorlib]System.Threading.WaitCallback)
- IL_003e: pop
- IL_003f: ret
- } // end of method UserAuthentication::AuthenticateUser
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement