导航

phpCAS library

Posted on   eastson  阅读(462)  评论(0编辑  收藏  举报

The phpCAS library provides a simple API for authenticating users against a CAS server. phpCAS is configured using the static API methods such asphpCAS::client() and phpCAS::setCasServerCACert(). After phpCAS has been configured, a call to phpCAS::forceAuthentication() executes the login process if the current user is not already authenticated, redirecting out to the CAS server's login page. After phpCAS::forceAuthentication()has been called, the current user's id is accessible via phpCAS::getUser().


努力加载评论中...
点击右上角即可分享
微信分享提示