Exemplo n.º 1
0
 public WeChatAuthenticatedContext(IOwinContext context, string openId, JObject user, string accessToken) : base(context)
 {
     this.User        = user;
     this.AccessToken = accessToken;
     this.Id          = openId;
     this.Name        = WeChatAuthenticatedContext.PropertyValueIfExists("nickname", user);
 }
Exemplo n.º 2
0
 public Task Authenticated(WeChatAuthenticatedContext context)
 {
     return(this.onAuthenticated(context));
 }