PHP
Latest commit 23a0b46 Jul 10, 2016 @MasonM MasonM committed with jfritschi #203 - Fix errors in source/CAS.php when run under phpdbg (#204)
This code assumed any SAPI other than "cli" is a web request, which is not the
case for phpdbg, the debugger that ships with PHP 5.6. Since phpdbg is
implemented as a SAPI module, the php_sapi_name() function will return "phpdbg".
If you haven't set up the $_SERVER superglobal beforehand, this code would
trigger "Undefined index" errors when run under phpdbg.

I opted to fix this by removing the php_sapi_name() check, as it's not
necessary. Just checking the superglobals with isset() is sufficient.

README.md

phpCAS

phpCAS is an authentication library that allows PHP applications to easily authenticate users via a Central Authentication Service (CAS) server.

Please see the phpCAS website for more information:

https://wiki.jasig.org/display/CASC/phpCAS

Build Status

LICENSE

Copyright 2007-2015, JA-SIG, Inc. This project includes software developed by Jasig. http://www.jasig.org/

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.