-
Notifications
You must be signed in to change notification settings - Fork 73
Methods API
Authenticates the user based on the current request.
@return bool
cas()->authenticate()
Returns the current config.
@return array
cas()->getConfig()
Retrieve authenticated credentials
@return string
cas()->user()
cas()->getCurrentUser()
Retrieve a specific attribute by key name
@param $key @return mixed
cas()->getAttribute($key)
Initiates a logout
@return void
cas()->logout()
Get the attributes for for the currently connected user. This method can only be called after authenticate() or an error wil be thrown.
@return mixed
cas()->getAttributes()
Checks to see is user is authenticated. Overridden when masquerading.
@return bool
cas()->isAuthenticated()
Checks to see if the user is authenticated locally or has a global CAS session. Overridden when masquerading.
@return bool
cas()->checkAuthentication()
Pass calls directly to phpCAS using cas()->someMethod($your_parameters)
for maximum app flexibility. You will need to look through their massive list of documentation for all the methods they use.
@param $method @param $params @return mixed
cas()->otherMethodName($params)