PHP code example of yalesites-org / yale_cas

1. Go to this page and download the library: Download yalesites-org/yale_cas library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

yalesites-org / yale_cas example snippets


/**
 * Implements hook_yale_cas_app_parameter_alter().
 */
function MYMODULE_yale_cas_app_parameter_alter(&$app_value, $event) {
  // Override the 'app' parameter.
  $app_value = 'my_custom_app';
}