services/FacebookOAuthService.php
protected function saveAccessToken($token) {
		$this->setState('auth_token', $token['access_token']);
		$this->setState('expires', isset($token['expires_in']) ? time() + (int)$token['expires_in'] - 60 : 0);
		$this->access_token = $token['access_token'];
	}
protected function saveAccessToken($token) {
		$this->setState('auth_token', $token['access_token']);
		$this->setState('expires', isset($token['expires_in']) ? time() + (int)$token['expires_in'] - 60 : 0);
		$this->access_token = $token['access_token'];
	}
protected function saveAccessToken ( $ token ) { $ this -> setState ( 'auth_token' , $ token [ 'access_token' ] ) ; $ this -> setState ( 'expires' , isset ( $ token [ 'expires_in' ] ) ? time ( ) + ( int ) $ token [ 'expires_in' ] - 60 : 0 ) ; $ this -> access_token = $ token [ 'access_token' ] ; }
Save access token to the session.

@param array $token access token array.
Save access token to the session .