You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Prime31
|
|
|
|
|
|
{
|
|
|
|
|
|
// Token: 0x0200000B RID: 11
|
|
|
|
|
|
public class OAuthResponse
|
|
|
|
|
|
{
|
|
|
|
|
|
// Token: 0x17000005 RID: 5
|
|
|
|
|
|
// (get) Token: 0x06000039 RID: 57 RVA: 0x00003D0C File Offset: 0x00001F0C
|
|
|
|
|
|
// (set) Token: 0x0600003A RID: 58 RVA: 0x00003D26 File Offset: 0x00001F26
|
|
|
|
|
|
public string responseText { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
// Token: 0x17000006 RID: 6
|
|
|
|
|
|
public string this[string ix]
|
|
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
return this._params[ix];
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Token: 0x0600003C RID: 60 RVA: 0x00003D54 File Offset: 0x00001F54
|
|
|
|
|
|
public OAuthResponse(string alltext)
|
|
|
|
|
|
{
|
|
|
|
|
|
this.responseText = alltext;
|
|
|
|
|
|
this._params = new Dictionary<string, string>();
|
|
|
|
|
|
string[] array = alltext.Split(new char[]
|
|
|
|
|
|
{
|
|
|
|
|
|
'&'
|
|
|
|
|
|
});
|
|
|
|
|
|
foreach (string text in array)
|
|
|
|
|
|
{
|
|
|
|
|
|
string[] array3 = text.Split(new char[]
|
|
|
|
|
|
{
|
|
|
|
|
|
'='
|
|
|
|
|
|
});
|
|
|
|
|
|
this._params.Add(array3[0], array3[1]);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Token: 0x04000014 RID: 20
|
|
|
|
|
|
private Dictionary<string, string> _params;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|