예제 #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);
 }
예제 #2
0
 public Task Authenticated(WeChatAuthenticatedContext context)
 {
     return(this.onAuthenticated(context));
 }