Méthode | Description | |
---|---|---|
clearStorage ( ) | Clear the storage. | |
fetchNewAccessToken ( Happyr\LinkedIn\Http\LinkedInUrlGeneratorInterface $urlGenerator ) : Happyr\LinkedIn\AccessToken | null | Tries to get a new access token from data storage or code. If it fails, it will return null. | |
getLoginUrl ( Happyr\LinkedIn\Http\LinkedInUrlGeneratorInterface $urlGenerator, array $options = [] ) : string | Generate a login url. | |
setStorage ( Happyr\LinkedIn\Storage\DataStorageInterface $storage ) |
public fetchNewAccessToken ( Happyr\LinkedIn\Http\LinkedInUrlGeneratorInterface $urlGenerator ) : Happyr\LinkedIn\AccessToken | null | ||
$urlGenerator | Happyr\LinkedIn\Http\LinkedInUrlGeneratorInterface | |
Résultat | Happyr\LinkedIn\AccessToken | null | A valid user access token, or null if one could not be fetched. |
public getLoginUrl ( Happyr\LinkedIn\Http\LinkedInUrlGeneratorInterface $urlGenerator, array $options = [] ) : string | ||
$urlGenerator | Happyr\LinkedIn\Http\LinkedInUrlGeneratorInterface | |
$options | array | |
Résultat | string |
public setStorage ( Happyr\LinkedIn\Storage\DataStorageInterface $storage ) | ||
$storage | Happyr\LinkedIn\Storage\DataStorageInterface |