diff --git a/src/Xavrsl/Cas/Sso.php b/src/Xavrsl/Cas/Sso.php index 870cd61..e1e1ce1 100644 --- a/src/Xavrsl/Cas/Sso.php +++ b/src/Xavrsl/Cas/Sso.php @@ -132,7 +132,7 @@ public function authenticate() } /** - * Checks to see is user is authenticated + * Checks to see if user is authenticated * * @return bool */ @@ -140,6 +140,16 @@ public function isAuthenticated() { return phpCAS::isAuthenticated(); } + + /** + * Checks to see if user is authenticated using CAS protocol "gateway" feature + * + * @return bool + */ + public function checkAuthentication() + { + return phpCAS::checkAuthentication(); + } /**