public void TestAuthentication() { AuthResult = Platform.Authorize("username", "101", "password", true); Assert.NotNull(AuthResult); JToken token = JObject.Parse(AuthResult.GetBody()); var accessToken = (string)token.SelectToken("access_token"); var refreshToken = (string)token.SelectToken("refresh_token"); Assert.NotNull(accessToken); Assert.NotNull(refreshToken); }