PHP 클래스 Xavrsl\Cas\Sso

저자: Xavier Roussel
파일 보기 프로젝트 열기: xavrsl/cas

공개 메소드들

메소드 설명
__construct ( $config )
authenticate ( ) Authenticates the user based on the current request.
checkAuthenticate ( ) Authenticates the user based on the current request without redirect to login page.
getAttributes ( ) : array | null getAttributes' simple wrapper
getCurrentUser ( ) : array | null Returns information about the currently logged in user.
isAuthenticated ( ) : boolean Checks to see is user is authenticated
logout ( $params = [] ) : none This method is used to logout from CAS
user ( ) : array | null getCurrentUser Alias

비공개 메소드들

메소드 설명
configureCasClient ( ) Configure CAS Client
configureDebug ( ) Configure CAS debug
configureProxyChain ( ) Configure Cas Proxy Chain
configureSslValidation ( ) Configure SSL Validation
initializeCas ( ) : none Make PHPCAS Initialization
isPretending ( ) isPretending

메소드 상세

__construct() 공개 메소드

public __construct ( $config )
$config

authenticate() 공개 메소드

If authentication fails, an exception must be thrown.
public authenticate ( )

checkAuthenticate() 공개 메소드

If authentication fails, an exception must be thrown.
public checkAuthenticate ( )

getAttributes() 공개 메소드

getAttributes' simple wrapper
public getAttributes ( ) : array | null
리턴 array | null

getCurrentUser() 공개 메소드

If nobody is currently logged in, this method should return null.
public getCurrentUser ( ) : array | null
리턴 array | null

isAuthenticated() 공개 메소드

Checks to see is user is authenticated
public isAuthenticated ( ) : boolean
리턴 boolean

logout() 공개 메소드

This method is used to logout from CAS
public logout ( $params = [] ) : none
리턴 none

user() 공개 메소드

getCurrentUser Alias
public user ( ) : array | null
리턴 array | null