You are here

jwt_auth_issuer.module in JSON Web Token Authentication (JWT) 8

Same filename and directory in other branches
  1. 8.0 modules/jwt_auth_issuer/jwt_auth_issuer.module

File

modules/jwt_auth_issuer/jwt_auth_issuer.module
View source
<?php

/**
 * @file
 * Contains jwt_auth_issuer.module..
 */
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function jwt_auth_issuer_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the jwt_auth_issuer module.
    case 'help.page.jwt_auth_issuer':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Provides an endpoint which will issue JWTs.') . '</p>';
      return $output;
  }
}

Functions

Namesort descending Description
jwt_auth_issuer_help Implements hook_help().