PHP 클래스 Strava\API\Factory

저자: Bas van Dorst
파일 보기 프로젝트 열기: basvandorst/stravaphp

공개 메소드들

메소드 설명
getAPIClient ( string $token ) : Client Return a new instance of the API Client
getOAuthClient ( string $client_id, string $client_secret, string $redirect_uri ) : OAuth Return a new instance of the OAuth Client

메소드 상세

getAPIClient() 공개 메소드

Return a new instance of the API Client
public getAPIClient ( string $token ) : Client
$token string
리턴 Client

getOAuthClient() 공개 메소드

Return a new instance of the OAuth Client
public getOAuthClient ( string $client_id, string $client_secret, string $redirect_uri ) : OAuth
$client_id string
$client_secret string
$redirect_uri string
리턴 OAuth