PHP 인터페이스 Happyr\LinkedIn\AuthenticatorInterface

저자: Tobias Nyholm ([email protected])
파일 보기 프로젝트 열기: happyr/linkedin-api-client

공개 메소드들

메소드 설명
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 )

메소드 상세

clearStorage() 공개 메소드

Clear the storage.
public clearStorage ( )

fetchNewAccessToken() 공개 메소드

Tries to get a new access token from data storage or code. If it fails, it will return null.
public fetchNewAccessToken ( Happyr\LinkedIn\Http\LinkedInUrlGeneratorInterface $urlGenerator ) : Happyr\LinkedIn\AccessToken | null
$urlGenerator Happyr\LinkedIn\Http\LinkedInUrlGeneratorInterface
리턴 Happyr\LinkedIn\AccessToken | null A valid user access token, or null if one could not be fetched.

getLoginUrl() 공개 메소드

Generate a login url.
public getLoginUrl ( Happyr\LinkedIn\Http\LinkedInUrlGeneratorInterface $urlGenerator, array $options = [] ) : string
$urlGenerator Happyr\LinkedIn\Http\LinkedInUrlGeneratorInterface
$options array
리턴 string

setStorage() 공개 메소드

public setStorage ( Happyr\LinkedIn\Storage\DataStorageInterface $storage )
$storage Happyr\LinkedIn\Storage\DataStorageInterface