shib_auth.module in Shibboleth Authentication 8.4
Same filename and directory in other branches
Contains shib_auth.module.
File
shib_auth.moduleView source
<?php
/**
 * @file
 * Contains shib_auth.module.
 */
use Drupal\Core\Routing\RouteMatchInterface;
/**
 * Implements hook_help().
 */
function shib_auth_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    // Main module help for the shib_auth module.
    case 'help.page.shib_auth':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Provides user authentication with Shibboleth (both v1.3 and v2.0) as well as some authorisation features (automatic role assignment based on Shibboleth attributes).') . '</p>';
      return $output;
    default:
  }
}
/**
 * Implements hook_theme().
 */
function shib_auth_theme() {
  $theme = [];
  return $theme;
}Functions
| Name   | Description | 
|---|---|
| shib_auth_help | Implements hook_help(). | 
| shib_auth_theme | Implements hook_theme(). | 
