public async Task <bool> IsValidToken(string userId, string accessToken) { var got = await AccessTokenProvider.Query(accessToken); if (got == null) { return(false); } return(userId == got); }
public async Task <bool> IsValidToken(string userId, string accessToken) { var got = await AccessTokenProvider.Query(accessToken); if (got == null) { return(false); } return(userId == got); }