Property | Type | Description | |
---|---|---|---|
$_config | Configuration array | ||
$_sessionKey | Session key |
Method | Description | |
---|---|---|
authenticate ( ) : Zend_Auth_Result | Authenticate user by mail.ru OAuth 2.0 | |
getSign ( array $requestParams, $accessToken ) : string | Return mail.ru sign | |
requestUserParams ( $accessToken ) : array | Request user params on mail.ru using REST API http://api.mail.ru/docs/reference/rest/users-getinfo/ FIXME: Working only after auth process, because don't consider expire time |
public authenticate ( ) : Zend_Auth_Result | ||
return | Zend_Auth_Result |
public requestUserParams ( $accessToken ) : array | ||
return | array | User params |