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