You are here

public static function Utilities::spConfigGuide in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8

2 calls to Utilities::spConfigGuide()
MiniorangeIDPSetup::buildForm in src/Form/MiniorangeIDPSetup.php
Form constructor.
MiniorangeSPInformation::buildForm in src/Form/MiniorangeSPInformation.php
Form constructor.

File

src/Utilities.php, line 55

Class

Utilities
This file is part of miniOrange SAML plugin.

Namespace

Drupal\miniorange_saml

Code

public static function spConfigGuide(array &$form, FormStateInterface $form_state) {
  $form['miniorange_idp_guide_link'] = array(
    '#markup' => '<div class="mo_saml_table_layout mo_saml_sp_container_2" id="mo_guide_vt">',
  );
  $form['miniorange_idp_guide_link1'] = array(
    '#markup' => '<div>To see detailed documentation of how to configure Drupal SAML SP with any Identity Provider</div></br>',
  );
  $mo_Azure_AD = Markup::create('<strong><a href="https://plugins.miniorange.com/drupal-single-sign-sso-using-azure-ad-idp/" class="mo_guide_text-color" target="_blank">Azure AD</a></strong>');
  $mo_ADFS = Markup::create('<strong><a href="https://plugins.miniorange.com/drupal-single-sign-sso-using-adfs-idp" class="mo_guide_text-color" target="_blank">ADFS</a></strong>');
  $mo_Okta = Markup::create('<strong><a class="mo_guide_text-color" href="https://plugins.miniorange.com/drupal-single-sign-sso-using-okta-idp/" target="_blank">Okta</a></strong>');
  $mo_Google_Apps = Markup::create('<strong><a href="https://plugins.miniorange.com/drupal-single-sign-sso-using-google-apps-idp/" class="mo_guide_text-color" target="_blank">Google Apps</a></strong>');
  $mo_Salesforce = Markup::create('<strong><a href="https://plugins.miniorange.com/drupal-single-sign-sso-using-salesforce-idp/" class="mo_guide_text-color" target="_blank">Salesforce</a></strong>');
  $mo_miniOrange = Markup::create('<strong><a class="mo_guide_text-color" href="https://plugins.miniorange.com/drupal-single-sign-sso-using-miniorange-idp/" target="_blank">miniOrange</a></strong>');
  $mo_PingOne = Markup::create('<strong><a class="mo_guide_text-color" href="https://plugins.miniorange.com/guide-for-drupal-single-sign-on-using-pingone-as-identity-provider" target="_blank">PingOne</a></strong>');
  $mo_OneLogin = Markup::create('<strong><a href="https://plugins.miniorange.com/drupal-single-sign-sso-using-onelogin-idp/" class="mo_guide_text-color" target="_blank">Onelogin</a></strong>');
  $mo_Bitium = Markup::create('<strong><a href="https://plugins.miniorange.com/drupal-single-sign-sso-using-bitium-idp" class="mo_guide_text-color" target="_blank">Bitium</a></strong>');
  $mo_centrify = Markup::create('<strong><a href="https://plugins.miniorange.com/drupal-single-sign-sso-using-centrify-idp/" class="mo_guide_text-color" target="_blank">Centrify</a></strong>');
  $mo_Oracle = Markup::create('<strong><a href="https://plugins.miniorange.com/guide-to-configure-oracle-access-manager-as-idp-and-drupal-as-sp" class="mo_guide_text-color" target="_blank">Oracle</a></strong>');
  $mo_JBoss_KeyCloak = Markup::create('<strong><a href="https://plugins.miniorange.com/drupal-single-sign-on-sso-using-jboss-keycloak-as-idp" class="mo_guide_text-color" target="_blank">Jboss Keycloak</a></strong>');
  $mo_ping = Markup::create('<strong><a href="https://plugins.miniorange.com/guide-for-pingfederate-as-idp-with-drupal" class="mo_guide_text-color" target="_blank">Ping Federate</a></strong>');
  $mo_openam = Markup::create('<strong><a href="https://plugins.miniorange.com/guide-for-openam-as-idp-with-drupal" class="mo_guide_text-color" target="_blank">OpenAM</a></strong>');
  $mo_authnevil = Markup::create('<strong><a href="https://plugins.miniorange.com/drupal-single-sign-on-sso-using-authanvil-as-idp" class="mo_guide_text-color" target="_blank">AuthAnvil</a></strong>');
  $mo_auth0 = Markup::create('<strong><a href="https://plugins.miniorange.com/guide-for-auth0-as-idp-with-drupal" class="mo_guide_text-color" target="_blank">auth0</a></strong>');
  $mo_rsa = Markup::create('<strong><a href="https://plugins.miniorange.com/guide-for-drupal-single-sign-on-sso-using-rsa-securid-as-idp" class="mo_guide_text-color" target="_blank">RSA SecurID</a></strong>');
  $mo_Document_landing_page = Markup::create('<strong><a href="https://plugins.miniorange.com/configure-drupal-saml-single-sign-on" class="mo_guide_text-color" target="_blank">Other IDP</a></strong>');
  $mo_table_content = array(
    array(
      $mo_Azure_AD,
      $mo_ADFS,
    ),
    array(
      $mo_Okta,
      $mo_Google_Apps,
    ),
    array(
      $mo_Salesforce,
      $mo_OneLogin,
    ),
    array(
      $mo_Oracle,
      $mo_JBoss_KeyCloak,
    ),
    array(
      $mo_centrify,
      $mo_PingOne,
    ),
    array(
      $mo_ping,
      $mo_openam,
    ),
    array(
      $mo_authnevil,
      $mo_auth0,
    ),
    array(
      $mo_miniOrange,
      $mo_rsa,
    ),
    array(
      $mo_Document_landing_page,
    ),
  );
  $header = array(
    array(
      'data' => t('Identity Provider Setup Guides'),
      'colspan' => 2,
    ),
  );
  $form['modules'] = array(
    '#type' => 'table',
    '#header' => $header,
    '#rows' => $mo_table_content,
    '#responsive' => TRUE,
    '#sticky' => TRUE,
  );
  self::faq($form, $form_state);
  $form['miniorange_sp_guide_link_end'] = array(
    '#markup' => '</div>',
  );
}