PHP 클래스 Piwik\Plugins\Login\Auth

상속: implements Piwik\Auth
파일 보기 프로젝트 열기: piwik/piwik 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$hashedPassword
$login
$token_auth

공개 메소드들

메소드 설명
__construct ( )
authenticate ( ) : Piwik\AuthResult Authenticates user
getLogin ( ) : string Returns the login of the user being authenticated.
getName ( ) : string Authentication module's name, e.g., "Login"
getTokenAuthSecret ( ) : string Returns the secret used to calculate a user's token auth.
setLogin ( string $login ) Accessor to set login name
setPassword ( string $password ) Sets the password to authenticate with.
setPasswordHash ( string $passwordHash ) Sets the password hash to use when authentication.
setTokenAuth ( string $token_auth ) Accessor to set authentication token

비공개 메소드들

메소드 설명
authenticateWithPassword ( $login, $passwordHash )
authenticateWithToken ( $token )
authenticateWithTokenOrHashToken ( $token, $login )
authenticationSuccess ( array $user )

메소드 상세

__construct() 공개 메소드

public __construct ( )

authenticate() 공개 메소드

Authenticates user
public authenticate ( ) : Piwik\AuthResult
리턴 Piwik\AuthResult

getLogin() 공개 메소드

Returns the login of the user being authenticated.
public getLogin ( ) : string
리턴 string

getName() 공개 메소드

Authentication module's name, e.g., "Login"
public getName ( ) : string
리턴 string

getTokenAuthSecret() 공개 메소드

Returns the secret used to calculate a user's token auth.
public getTokenAuthSecret ( ) : string
리턴 string

setLogin() 공개 메소드

Accessor to set login name
public setLogin ( string $login )
$login string user login

setPassword() 공개 메소드

Sets the password to authenticate with.
public setPassword ( string $password )
$password string

setPasswordHash() 공개 메소드

Sets the password hash to use when authentication.
public setPasswordHash ( string $passwordHash )
$passwordHash string The password hash.

setTokenAuth() 공개 메소드

Accessor to set authentication token
public setTokenAuth ( string $token_auth )
$token_auth string authentication token

프로퍼티 상세

$hashedPassword 보호되어 있는 프로퍼티

protected $hashedPassword

$login 보호되어 있는 프로퍼티

protected $login

$token_auth 보호되어 있는 프로퍼티

protected $token_auth