private void ValidateClientAuthAccessRequestState()
{
if (AccessTokenUrl.IsNullOrBlank())
{
throw new ArgumentException("You must specify an access token URL");
}
if (ConsumerKey.IsNullOrBlank())
{
throw new ArgumentException("You must specify a consumer key");
}
if (ConsumerSecret.IsNullOrBlank())
{
throw new ArgumentException("You must specify a consumer secret");
}
if (ClientUsername.IsNullOrBlank() || ClientPassword.IsNullOrBlank())
{
throw new ArgumentException("You must specify user credentials");
}
}