Skip to content

Commit

Permalink
Merge aa2cab0 into 47d9447
Browse files Browse the repository at this point in the history
  • Loading branch information
tpavlek committed Sep 12, 2014
2 parents 47d9447 + aa2cab0 commit 2763252
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Token/AccessToken.php
Expand Up @@ -52,6 +52,9 @@ public function __construct(array $options = null)
// Mailru uses x_mailru_vid instead of uid
isset($options['x_mailru_vid']) and $this->uid = $options['x_mailru_vid'];

//Battle.net uses accountId instead of uid
isset($options['accountId']) and $this->uid = $options['accountId'];

// We need to know when the token expires. Show preference to
// 'expires_in' since it is defined in RFC6749 Section 5.1.
// Defer to 'expires' if it is provided instead.
Expand Down

0 comments on commit 2763252

Please sign in to comment.