PHP Класс Strava\API\Factory

Автор: Bas van Dorst
Показать файл Открыть проект

Открытые методы

Метод Описание
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