public QzoneResourceSession(IHttpSupplier httpSupplier, AccessToken accessToken, RefrechToken refrechToken = null, SessionLifetime lifetime = null)
 {
     HttpSupplier = httpSupplier;
     AccessToken  = accessToken;
     RefrechToken = refrechToken;
     Lifetime     = lifetime;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="httpSupplier"></param>
 /// <param name="setting">渲染内容配置</param>
 /// <param name="render"></param>
 public AlAuthenticationSession(IHttpSupplier httpSupplier, AlRequestAuthSetting setting, IRenderable <AlRequestAuthSetting> render)
     : this(httpSupplier, render)
 {
     this.Render.Setting = setting;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="httpSupplier">Http请求服务</param>
 /// <param name="context">渲染源内容</param>
 /// <param name="render">渲染器</param>
 public AlAuthenticationSession(IHttpSupplier httpSupplier, Stream context, IRenderable <AlRequestAuthSetting> render)
     : this(httpSupplier, render)
 {
     this.Render.Context = context;
 }
 public AlAuthenticationSession(IHttpSupplier httpSupplier, IRenderable <AlRequestAuthSetting> render)
 {
     this.HttpSupplier = httpSupplier;
     this.Render       = render;
 }
Beispiel #5
0
 public QzoneAuthenticationSession(IHttpSupplier httpSupplier)
 {
     this.HttpSupplier = httpSupplier;
 }
Beispiel #6
0
 public WxAuthenticationSession(IHttpSupplier httpSupplier)
 {
     HttpSupplier = httpSupplier;
 }