SYMBOL INDEX (199 symbols across 29 files) FILE: src/AccessToken.php class AccessToken (line 8) | class AccessToken method __construct (line 24) | public function __construct($token = null, $expiresIn = null) method __toString (line 40) | public function __toString() method hasToken (line 50) | public function hasToken() method setExpiresAt (line 60) | public function setExpiresAt(\DateTime $expiresAt = null) method getExpiresAt (line 70) | public function getExpiresAt() method setToken (line 80) | public function setToken($token) method getToken (line 90) | public function getToken() FILE: src/Authenticator.php class Authenticator (line 18) | class Authenticator implements AuthenticatorInterface method __construct (line 51) | public function __construct(RequestManagerInterface $requestManager, $... method fetchNewAccessToken (line 61) | public function fetchNewAccessToken(LinkedInUrlGeneratorInterface $url... method getAccessTokenFromCode (line 104) | protected function getAccessTokenFromCode(LinkedInUrlGeneratorInterfac... method getLoginUrl (line 148) | public function getLoginUrl(LinkedInUrlGeneratorInterface $urlGenerato... method getCode (line 188) | protected function getCode() method establishCSRFTokenState (line 225) | protected function establishCSRFTokenState() method clearStorage (line 236) | public function clearStorage() method getStorage (line 246) | protected function getStorage() method setStorage (line 258) | public function setStorage(DataStorageInterface $storage) method getRequestManager (line 268) | protected function getRequestManager() FILE: src/AuthenticatorInterface.php type AuthenticatorInterface (line 14) | interface AuthenticatorInterface method fetchNewAccessToken (line 25) | public function fetchNewAccessToken(LinkedInUrlGeneratorInterface $url... method getLoginUrl (line 35) | public function getLoginUrl(LinkedInUrlGeneratorInterface $urlGenerato... method clearStorage (line 42) | public function clearStorage(); method setStorage (line 49) | public function setStorage(DataStorageInterface $storage); FILE: src/Exception/InvalidArgumentException.php class InvalidArgumentException (line 5) | class InvalidArgumentException extends LinkedInException method __construct (line 10) | public function __construct() FILE: src/Exception/LinkedInException.php class LinkedInException (line 10) | class LinkedInException extends \Exception FILE: src/Exception/LinkedInTransferException.php class LinkedInTransferException (line 10) | class LinkedInTransferException extends LinkedInException FILE: src/Exception/LoginError.php class LoginError (line 10) | class LoginError method __construct (line 26) | public function __construct($name, $description) method getName (line 35) | public function getName() method getDescription (line 43) | public function getDescription() method __toString (line 51) | public function __toString() FILE: src/Http/CurrentUrlGeneratorInterface.php type CurrentUrlGeneratorInterface (line 10) | interface CurrentUrlGeneratorInterface method getCurrentUrl (line 17) | public function getCurrentUrl(); method setTrustForwarded (line 26) | public function setTrustForwarded($trustForwarded); FILE: src/Http/GlobalVariableGetter.php class GlobalVariableGetter (line 10) | class GlobalVariableGetter method has (line 19) | public static function has($name) method get (line 35) | public static function get($name) FILE: src/Http/LinkedInUrlGeneratorInterface.php type LinkedInUrlGeneratorInterface (line 10) | interface LinkedInUrlGeneratorInterface method getUrl (line 21) | public function getUrl($name, $path = '', $params = []); FILE: src/Http/RequestManager.php class RequestManager (line 17) | class RequestManager implements RequestManagerInterface method sendRequest (line 32) | public function sendRequest($method, $uri, array $headers = [], $body ... method setHttpClient (line 46) | public function setHttpClient(HttpClient $httpClient) method getHttpClient (line 56) | protected function getHttpClient() method setMessageFactory (line 70) | public function setMessageFactory(MessageFactory $messageFactory) method getMessageFactory (line 80) | private function getMessageFactory() FILE: src/Http/RequestManagerInterface.php type RequestManagerInterface (line 13) | interface RequestManagerInterface method sendRequest (line 28) | public function sendRequest($method, $uri, array $headers = [], $body ... method setHttpClient (line 35) | public function setHttpClient(HttpClient $httpClient); FILE: src/Http/ResponseConverter.php class ResponseConverter (line 9) | class ResponseConverter method convert (line 23) | public static function convert(ResponseInterface $response, $requestFo... method convertToArray (line 51) | public static function convertToArray(ResponseInterface $response) method convertToSimpleXml (line 63) | public static function convertToSimpleXml(ResponseInterface $response) FILE: src/Http/UrlGenerator.php class UrlGenerator (line 8) | class UrlGenerator implements UrlGeneratorInterface method getUrl (line 37) | public function getUrl($name, $path = '', $params = []) method getCurrentUrl (line 66) | public function getCurrentUrl() method dropLinkedInParams (line 97) | protected function dropLinkedInParams($query) method getHttpHost (line 129) | protected function getHttpHost() method getHttpProtocol (line 144) | protected function getHttpProtocol() method setTrustForwarded (line 172) | public function setTrustForwarded($trustForwarded) FILE: src/Http/UrlGeneratorInterface.php type UrlGeneratorInterface (line 8) | interface UrlGeneratorInterface extends LinkedInUrlGeneratorInterface, C... FILE: src/LinkedIn.php class LinkedIn (line 33) | class LinkedIn implements LinkedInInterface method __construct (line 81) | public function __construct($appId, $appSecret, $format = 'json', $res... method isAuthenticated (line 93) | public function isAuthenticated() method api (line 108) | public function api($method, $resource, array $options = []) method filterRequestOption (line 143) | protected function filterRequestOption(array &$options) method getLoginUrl (line 173) | public function getLoginUrl($options = []) method get (line 193) | public function get($resource, array $options = []) method post (line 206) | public function post($resource, array $options = []) method clearStorage (line 214) | public function clearStorage() method hasError (line 224) | public function hasError() method getError (line 232) | public function getError() method getFormat (line 244) | protected function getFormat() method setFormat (line 252) | public function setFormat($format) method getResponseDataType (line 264) | protected function getResponseDataType() method setResponseDataType (line 272) | public function setResponseDataType($responseDataType) method getLastResponse (line 282) | public function getLastResponse() method getAccessToken (line 290) | public function getAccessToken() method setAccessToken (line 305) | public function setAccessToken($accessToken) method setUrlGenerator (line 319) | public function setUrlGenerator(UrlGeneratorInterface $urlGenerator) method getUrlGenerator (line 329) | protected function getUrlGenerator() method setStorage (line 341) | public function setStorage(DataStorageInterface $storage) method setHttpClient (line 351) | public function setHttpClient(HttpClient $client) method setHttpMessageFactory (line 361) | public function setHttpMessageFactory(MessageFactory $factory) method getRequestManager (line 371) | protected function getRequestManager() method getAuthenticator (line 379) | protected function getAuthenticator() FILE: src/LinkedInInterface.php type LinkedInInterface (line 17) | interface LinkedInInterface method isAuthenticated (line 24) | public function isAuthenticated(); method api (line 45) | public function api($method, $resource, array $options = []); method getLoginUrl (line 58) | public function getLoginUrl($options = []); method get (line 68) | public function get($resource, array $options = []); method post (line 78) | public function post($resource, array $options = []); method clearStorage (line 85) | public function clearStorage(); method hasError (line 92) | public function hasError(); method getError (line 99) | public function getError(); method setFormat (line 108) | public function setFormat($format); method setResponseDataType (line 117) | public function setResponseDataType($responseDataType); method getLastResponse (line 124) | public function getLastResponse(); method getAccessToken (line 131) | public function getAccessToken(); method setAccessToken (line 141) | public function setAccessToken($accessToken); method setUrlGenerator (line 150) | public function setUrlGenerator(UrlGeneratorInterface $urlGenerator); method setStorage (line 159) | public function setStorage(DataStorageInterface $storage); method setHttpClient (line 168) | public function setHttpClient(HttpClient $client); method setHttpMessageFactory (line 177) | public function setHttpMessageFactory(MessageFactory $factory); FILE: src/Storage/BaseDataStorage.php class BaseDataStorage (line 10) | abstract class BaseDataStorage implements DataStorageInterface method clearAll (line 17) | public function clearAll() method validateKey (line 31) | protected function validateKey($key) method getStorageKeyId (line 45) | protected function getStorageKeyId($key) FILE: src/Storage/DataStorageInterface.php type DataStorageInterface (line 11) | interface DataStorageInterface method set (line 20) | public function set($key, $value); method get (line 29) | public function get($key); method clear (line 36) | public function clear($key); method clearAll (line 41) | public function clearAll(); FILE: src/Storage/IlluminateSessionStorage.php class IlluminateSessionStorage (line 12) | class IlluminateSessionStorage extends BaseDataStorage method set (line 17) | public function set($key, $value) method get (line 28) | public function get($key) method clear (line 39) | public function clear($key) FILE: src/Storage/SessionStorage.php class SessionStorage (line 10) | class SessionStorage extends BaseDataStorage method __construct (line 12) | public function __construct() method set (line 25) | public function set($key, $value) method get (line 36) | public function get($key) method clear (line 47) | public function clear($key) FILE: tests/AccessTokenTest.php class AccessTokenTest (line 8) | class AccessTokenTest extends \PHPUnit_Framework_TestCase method testToString (line 10) | public function testToString() method testConstructor (line 19) | public function testConstructor() method testSetExpiresAt (line 33) | public function testSetExpiresAt() FILE: tests/AuthenticatorTest.php class AuthenticatorTest (line 12) | class AuthenticatorTest extends \PHPUnit_Framework_TestCase method getRequestManagerMock (line 17) | private function getRequestManagerMock() method testGetLoginUrl (line 22) | public function testGetLoginUrl() method testFetchNewAccessToken (line 66) | public function testFetchNewAccessToken() method testFetchNewAccessTokenFail (line 86) | public function testFetchNewAccessTokenFail() method testFetchNewAccessTokenNoCode (line 102) | public function testFetchNewAccessTokenNoCode() method testGetAccessTokenFromCodeEmptyString (line 120) | public function testGetAccessTokenFromCodeEmptyString() method testGetAccessTokenFromCodeNull (line 134) | public function testGetAccessTokenFromCodeNull() method testGetAccessTokenFromCodeFalse (line 148) | public function testGetAccessTokenFromCodeFalse() method testGetAccessTokenFromCode (line 159) | public function testGetAccessTokenFromCode() method testGetAccessTokenFromCodeNoTokenInResponse (line 181) | public function testGetAccessTokenFromCodeNoTokenInResponse() method testGetAccessTokenFromCodeEmptyResponse (line 202) | public function testGetAccessTokenFromCodeEmptyResponse() method prepareGetAccessTokenFromCode (line 227) | protected function prepareGetAccessTokenFromCode($code, $responseData) method testEstablishCSRFTokenState (line 254) | public function testEstablishCSRFTokenState() method testGetCodeEmpty (line 274) | public function testGetCodeEmpty() method testGetCode (line 286) | public function testGetCode() method testGetCodeInvalidCode (line 310) | public function testGetCodeInvalidCode() method testGetCodeUsedCode (line 329) | public function testGetCodeUsedCode() method testStorageAccessors (line 346) | public function testStorageAccessors() FILE: tests/Exceptions/LoginErrorTest.php class LoginErrorTest (line 10) | class LoginErrorTest extends \PHPUnit_Framework_TestCase method testGetters (line 12) | public function testGetters() FILE: tests/Http/ResponseConverterTest.php class ResponseConverterTest (line 7) | class ResponseConverterTest extends \PHPUnit_Framework_TestCase method testConvert (line 9) | public function testConvert() method testConvertJsonToSimpleXml (line 41) | public function testConvertJsonToSimpleXml() method testConvertXmlToArray (line 52) | public function testConvertXmlToArray() method testConvertJsonToFoobar (line 68) | public function testConvertJsonToFoobar() method testConvertToSimpleXml (line 76) | public function testConvertToSimpleXml() method testConvertToSimpleXmlError (line 95) | public function testConvertToSimpleXmlError() FILE: tests/Http/UrlGeneratorTest.php class UrlGeneratorTest (line 10) | class UrlGeneratorTest extends \PHPUnit_Framework_TestCase method testDropLinkedInParams (line 12) | public function testDropLinkedInParams() method testGetUrl (line 55) | public function testGetUrl() method testGetUrlWithParams (line 78) | public function testGetUrlWithParams() method testGetCurrentURL (line 89) | public function testGetCurrentURL() method testGetCurrentURLPort80 (line 123) | public function testGetCurrentURLPort80() method testGetCurrentURLPort8080 (line 141) | public function testGetCurrentURLPort8080() method testHttpHost (line 159) | public function testHttpHost() method testHttpProtocolApache (line 168) | public function testHttpProtocolApache() method testHttpProtocolNginx (line 175) | public function testHttpProtocolNginx() method testHttpHostForwarded (line 182) | public function testHttpHostForwarded() method testHttpProtocolForwarded (line 192) | public function testHttpProtocolForwarded() method testHttpProtocolForwardedSecure (line 201) | public function testHttpProtocolForwardedSecure() method tearDown (line 211) | protected function tearDown() class DummyUrlGenerator (line 222) | class DummyUrlGenerator extends UrlGenerator method getHttpHost (line 224) | public function getHttpHost() method getHttpProtocol (line 229) | public function getHttpProtocol() method dropLinkedInParams (line 234) | public function dropLinkedInParams($query) FILE: tests/LinkedInTest.php class LinkedInTest (line 10) | class LinkedInTest extends \PHPUnit_Framework_TestCase method testApi (line 15) | public function testApi() method testIsAuthenticated (line 56) | public function testIsAuthenticated() method testAccessTokenAccessors (line 76) | public function testAccessTokenAccessors() method testGeneratorAccessors (line 91) | public function testGeneratorAccessors() method testHasError (line 105) | public function testHasError() method testGetError (line 116) | public function testGetError() method testGetErrorWithMissingDescription (line 132) | public function testGetErrorWithMissingDescription() method testFormatAccessors (line 145) | public function testFormatAccessors() method testLoginUrl (line 159) | public function testLoginUrl() method testLoginUrlWithParameter (line 179) | public function testLoginUrlWithParameter() FILE: tests/Storage/IlluminateSessionStorageTest.php class IlluminateSessionStorageTest (line 12) | class IlluminateSessionStorageTest extends \PHPUnit_Framework_TestCase method setUp (line 21) | public function setUp() method testSet (line 26) | public function testSet() method testSetFail (line 36) | public function testSetFail() method testGet (line 41) | public function testGet() method testClear (line 53) | public function testClear() method testClearFail (line 62) | public function testClearFail() FILE: tests/Storage/SessionStorageTest.php class SessionStorageTest (line 12) | class SessionStorageTest extends \PHPUnit_Framework_TestCase method setUp (line 21) | public function setUp() method testSet (line 26) | public function testSet() method testSetFail (line 35) | public function testSetFail() method testGet (line 40) | public function testGet() method testClear (line 52) | public function testClear() method testClearFail (line 62) | public function testClearFail() method testClearAll (line 67) | public function testClearAll()