Method | Description | |
---|---|---|
__construct ( |
||
authorize ( string $code ) : boolean | Usually called by the previous callback to authorize the client. | |
getAccessToken ( ) : string | Only used for test purpose. | |
getDescription ( ) | ||
getName ( ) | ||
getRequestToken ( string $redirectUri ) : string | false | Return the oauth url to authenticate the client. | |
getUrl ( ) | ||
import ( $offset ) | ||
parseEntry ( array $importedEntry ) | ||
setClient ( |
Set the Guzzle client. |
Method | Description | |
---|---|---|
setEntryAsRead ( array $importedEntry ) |
public __construct ( |
||
$em | ||
$contentProxy |
public getAccessToken ( ) : string | ||
return | string |
public getRequestToken ( string $redirectUri ) : string | false | ||
$redirectUri | string | Redirect url in case of error |
return | string | false | request_token for callback method |
public setClient ( |
||
$client |
protected setEntryAsRead ( array $importedEntry ) | ||
$importedEntry | array |