Skip to content

Commit

Permalink
Fixed deprecated authentication grant type
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Grevet committed Nov 3, 2014
1 parent e6b9960 commit 96b291b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $api = new Dailymotion();

// Tell the SDK what kind of authentication you'd like to use.
// Because the SDK works with lazy authentication, no request is performed at this point.
$api->setGrantType(Dailymotion::GRANT_TYPE_TOKEN, $apiKey, $apiSecret);
$api->setGrantType(Dailymotion::GRANT_TYPE_AUTHORIZATION, $apiKey, $apiSecret);

try
{
Expand Down

0 comments on commit 96b291b

Please sign in to comment.