mkraemer / garmin-connect-sso
v1.0.1
2015-03-23 18:09 UTC
Requires
This package is not auto-updated.
Last update: 2024-12-21 18:29:59 UTC
README
This GarminConnect SSO Client facilitates the login process for the GarminConnect SSO service.
When invoked, it returns a GuzzleHttp\Cookie\CookieJar which includes all cookies necessary to make authenticated calls against the GarminConnect API.
Usage
See examples/login.php
$username = '...'; $password = '...'; $client = new GuzzleHttp\Client(); $garminSSO = new MKraemer\GarminConnect\SSO\SSO( $client, $username, $password ); $cookieJar = $garminSSO(); //use this cookieJar for authenticated guzzle requests var_dump($cookieJar);