public function ValidateUser()
{
if ($this->GetOAuth2Info() === null) {
throw new ValidationException('OAuth2Info', null, 'OAuth 2.0 configuration is required.');
}
parent::ValidateOAuth2Info();
if ($this->GetApplicationName() === null || trim($this->GetApplicationName()) === '' || strpos($this->GetApplicationName(), self::DEFAULT_APPLICATION_NAME) !== false) {
throw new ValidationException('applicationName', null, sprintf("The property applicationName is required and cannot be " . "null, the empty string, or the default [%s]", self::DEFAULT_APPLICATION_NAME));
}
}