From de5537c087fc392ab3b9b678979edc4ee9da1595 Mon Sep 17 00:00:00 2001 From: peyobr Date: Wed, 18 Mar 2015 21:24:29 +0100 Subject: [PATCH 1/2] Update Sso.php Implements CAS protocol "gateway" feature. --- src/Xavrsl/Cas/Sso.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Xavrsl/Cas/Sso.php b/src/Xavrsl/Cas/Sso.php index 870cd61..c918f91 100644 --- a/src/Xavrsl/Cas/Sso.php +++ b/src/Xavrsl/Cas/Sso.php @@ -140,6 +140,16 @@ public function isAuthenticated() { return phpCAS::isAuthenticated(); } + + /** + * Checks to see is user is authenticated using CAS protocol "gateway" feature + * + * @return bool + */ + public function checkAuthentication() + { + return phpCAS::checkAuthentication(); + } /** From ce4d84a562e299dfa590b2d601aa32e7abf78793 Mon Sep 17 00:00:00 2001 From: peyobr Date: Wed, 18 Mar 2015 21:26:59 +0100 Subject: [PATCH 2/2] Update Sso.php Minor typo fix --- src/Xavrsl/Cas/Sso.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Xavrsl/Cas/Sso.php b/src/Xavrsl/Cas/Sso.php index c918f91..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 */ @@ -142,7 +142,7 @@ public function isAuthenticated() } /** - * Checks to see is user is authenticated using CAS protocol "gateway" feature + * Checks to see if user is authenticated using CAS protocol "gateway" feature * * @return bool */