Skip to content

Commit

Permalink
Compatible with apereo/phpCAS 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
wpeisert authored and subfission committed Nov 4, 2022
1 parent ca41a3d commit 2718096
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"require": {
"php": ">=7.2.0",
"illuminate/support": "^6.0|^7.0|^8.0|^9.0",
"apereo/phpcas": "^1.3"
"apereo/phpcas": "^1.6"
},
"require-dev": {
"phpunit/phpunit": "^8.0|^9.0",
Expand Down
1 change: 1 addition & 0 deletions src/Subfission/Cas/CasManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ protected function configureCas($method = 'client')
$this->config['cas_hostname'],
(int) $this->config['cas_port'],
$this->config['cas_uri'],
$this->config['cas_client_service'],
$this->config['cas_control_session']
);

Expand Down
9 changes: 9 additions & 0 deletions src/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,15 @@
*/
'cas_uri' => env('CAS_URI', '/cas'),

/*
|--------------------------------------------------------------------------
| Client service: host, port, protocol.
|--------------------------------------------------------------------------
| Example: 'http://localhost', 'https://example.com:8888'
*/
'cas_client_service' => env('CAS_CLIENT_SERVICE', 'http://localhost'),


/*
|--------------------------------------------------------------------------
| CAS Validation
Expand Down

0 comments on commit 2718096

Please sign in to comment.