PHP Class Strava\API\Factory

Author: Bas van Dorst
Afficher le fichier Open project: basvandorst/stravaphp

Méthodes publiques

Méthode Description
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

Method Details

getAPIClient() public méthode

Return a new instance of the API Client
public getAPIClient ( string $token ) : Client
$token string
Résultat Client

getOAuthClient() public méthode

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
Résultat OAuth