<?php

namespace Drupal\rest_api_authentication;

/**
 * Provide the constant variables to the module.
 */
class MiniorangeApiAuthConstants {
  const BASE_URL = 'https://login.xecurify.com';
  const SITE_URL = 'https://plugins.miniorange.com';
  const PHP_CURL = 'http://php.net/manual/en/curl.installation.php';
  const DRUPAL_SITE = 'https://www.drupal.org';
  const CREATE_ACCOUNT = 'https://www.miniorange.com/businessfreetrial';
  const AUTH_METHOD = 'AUTH-METHOD';
  const SETUP_GUIDE_LINK = 'https://www.drupal.org/docs/contributed-modules/api-authentication';

  const HEADLESS_SSO_GUIDE_LINK = 'https://plugins.miniorange.com/configure-drupal-headless-sso-oauth';
  const FEATURE_GUIDE_LINK = 'https://www.drupal.org/docs/contributed-modules/api-authentication/feature-guides-0';
  const OAUTH_CLIENT_MODULE_LINK = 'https://www.drupal.org/project/miniorange_oauth_client';
  const SAML_SP_MODULE_LINK = 'https://www.drupal.org/project/miniorange_saml';

  /**
   * Fallback miniOrange notification credentials used when no customer account
   * is registered. Centralised here so they can be rotated in one place.
   * Sites that have their own miniOrange account should configure those values
   * in rest_api_authentication.settings instead.
   */
  const FALLBACK_CUSTOMER_KEY = '16555';
  const FALLBACK_API_KEY = 'fFd2XcvTGDemZvbw1bcUesNJWEqKbbUq';

}
