private IAuthorizationState Authenticate(NativeApplicationClient client) { IAuthorizationState state = new AuthorizationState(new string[] { }) { RefreshToken = this.refreshToken }; // IMPORTANT - does not work without: client.ClientCredentialApplicator = ClientCredentialApplicator.PostParameter(this.clientSecret); client.RefreshAuthorization(state); return(state); }