PHP 클래스 SimpleSAML_AuthMemCookie, simplesamlphp

It handles the configuration, and implements the logout handler.
사용 중단: This class has been deprecated and will be removed in SSP 2.0. Use the memcookie module instead.
저자: Olav Morken, UNINETT AS.
파일 보기 프로젝트 열기: simplesamlphp/simplesamlphp 1 사용 예제들

공개 메소드들

메소드 설명
getAuthSource ( ) : string Retrieve the authentication source that should be used to authenticate the user.
getCookieName ( ) : string This function retrieves the name of the cookie from the configuration.
getGroupsAttr ( ) : string This function retrieves the name of the attribute which contains the groups from the configuration.
getInstance ( ) : SimpleSAML_AuthMemCookie This function is used to retrieve the singleton instance of this class.
getMemcache ( ) : Memcache This function creates and initializes a Memcache object from our configuration.
getUsernameAttr ( ) : string This function retrieves the name of the attribute which contains the username from the configuration.
logoutHandler ( ) This function implements the logout handler. It deletes the information from Memcache.

비공개 메소드들

메소드 설명
__construct ( ) This function implements the constructor for this class. It loads the Auth MemCookie configuration.
doLogout ( ) This function logs the user out by deleting the session information from memcache.

메소드 상세

getAuthSource() 공개 메소드

Retrieve the authentication source that should be used to authenticate the user.
public getAuthSource ( ) : string
리턴 string The login type which should be used for Auth MemCookie.

getCookieName() 공개 메소드

This function retrieves the name of the cookie from the configuration.
public getCookieName ( ) : string
리턴 string The name of the cookie.

getGroupsAttr() 공개 메소드

This function retrieves the name of the attribute which contains the groups from the configuration.
public getGroupsAttr ( ) : string
리턴 string The name of the attribute which contains the groups.

getInstance() 공개 정적인 메소드

This function is used to retrieve the singleton instance of this class.
public static getInstance ( ) : SimpleSAML_AuthMemCookie
리턴 SimpleSAML_AuthMemCookie The singleton instance of this class.

getMemcache() 공개 메소드

This function creates and initializes a Memcache object from our configuration.
public getMemcache ( ) : Memcache
리턴 Memcache A Memcache object initialized from our configuration.

getUsernameAttr() 공개 메소드

This function retrieves the name of the attribute which contains the username from the configuration.
public getUsernameAttr ( ) : string
리턴 string The name of the attribute which contains the username.

logoutHandler() 공개 정적인 메소드

This function implements the logout handler. It deletes the information from Memcache.
public static logoutHandler ( )