프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$config | array | Default configurations |
메소드 | 설명 | |
---|---|---|
authenticate ( ) : boolean | authenticate the user using the defined methods in $config | |
authorize ( ) : boolean | authorize the user using the defined methods in $config | |
isLoggedIn ( ) : boolean | Is user is already logged in via session or cookie? | |
startup ( ) | Auth startup All authentication and authorization checking are done in this method | |
unauthenticated ( ) | Handles unauthenticated access attempt. | |
unauthorized ( ) | Handles unauthorized access attempt. |
메소드 | 설명 | |
---|---|---|
_ControllerAuthorize ( array $config ) : boolean | Is user authorized for the requested Controller & Action method? | |
_UserAuthenticate ( array $config ) : boolean | Is user authenticated? It checks for: - concurrent session - user credentials in session & cookies - cookies theft and manipulations - session Hijacking and fixation. | |
check ( array $config, string $type ) : boolean | check for authentication or authorization | |
concurentSession ( ) | ||
loggedIn ( ) : boolean | Checks if user is logged in or not. |
public authenticate ( ) : boolean | ||
리턴 | boolean |
public isLoggedIn ( ) : boolean | ||
리턴 | boolean |
public startup ( ) |