Merge pull request #136 from tpavlek/add_bnet_accountId
Updated AccessToken to support Battle.net accountId return values1.0
commit
d966614804
|
@ -52,6 +52,9 @@ class AccessToken
|
|||
// 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.
|
||||
|
|
Loading…
Reference in New Issue