Hi, You mean to say that, when CAS server authenticate any user it store it's ST at client side.
If yes then where it stored it? I want to say that, from where this ST is available for the 'phpCAS::forceAuthentication()' api? On Friday, 12 December 2014 00:17:22 UTC+5:30, Waldbieser, Carl wrote: > > > phpCAS::forceAuthentication() is going to validate the ST presented to the > page or redirect the user's browser to CAS to authenticate. > When the ST is validated, the user ID is returned as part of the > validation process. You can access it via `phpCAS::getUser()`. > > Thanks, > Carl Waldbieser > ITS Systems Programmer > Lafayette College > > ----- Original Message ----- > From: "Swapnil Admulwar" <swapnil...@gmail.com <javascript:>> > To: cas...@lists.jasig.org <javascript:> > Sent: Thursday, December 11, 2014 11:57:59 AM > Subject: [cas-dev] How 'isAuthenticated' api works internally? > > Hi, > I know if we call "static phpCAS::isAuthenticated ()" it will return me > 'True' > if user is authenticated otherwise 'False'. > But how this api knows that which user need to be authenticated? > also how it do the authentication. > > Please Can any one tell me which API should I call > before calling 'isAuthenticated' api? > > So any help would be greatly appreciated. > Thanks!!! > > -- > You are currently subscribed to cas...@lists.jasig.org <javascript:> as: > wald...@lafayette.edu <javascript:> > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-dev > > -- > You are currently subscribed to cas...@lists.jasig.org <javascript:> as: > jasig-cas-dev+...@googlegroups.com <javascript:> > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-dev > -- You are currently subscribed to cas-dev@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev