Beispiel #1
0
 public AuthenticationHandler(AuthenticationOptions options)
 {
     this._options = options;
 }
 public QQAuthenticationHandler(AuthenticationOptions options) : base(options)
 {
     this._httpClient = new HttpClient();
 }
 public WeiboAuthenticationHandler(AuthenticationOptions options)
     : base(options)
 {
     this._httpClient = new HttpClient();
     this._httpClient.DefaultRequestHeaders.Add("user-agent", "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)");
 }