jwt_auth_consumer.module in JSON Web Token Authentication (JWT) 8
Same filename and directory in other branches
Contains jwt_auth_consumer.module..
File
modules/jwt_auth_consumer/jwt_auth_consumer.moduleView source
<?php
/**
* @file
* Contains jwt_auth_consumer.module..
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function jwt_auth_consumer_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the jwt_auth_consumer module.
case 'help.page.jwt_auth_consumer':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Authenticates JWTs generated by the jwt_auth_issuer module.') . '</p>';
return $output;
}
}
Functions
Name | Description |
---|---|
jwt_auth_consumer_help | Implements hook_help(). |