PHP code example of asaladino / cas_authentication
1. Go to this page and download the library: Download asaladino/cas_authentication 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/ */
asaladino / cas_authentication example snippets
class UsersController extends AppController {
public $components = [
'Auth' => [
'authenticate' => [
'CasAuthentication.Cas' => [
'hostname' => 'cas.server.com',
'uri' => '/cas/',
'debug' => LOGS . 'log-file.log',
'disbled' => false
]
]
]
];
}