Skip to content

Commit

Permalink
Merge pull request #14 from kylehqcom/bugfix-update-scope-seperator
Browse files Browse the repository at this point in the history
Alter default scope separator for Xero connect requests
  • Loading branch information
calcinai authored Apr 26, 2021
2 parents e5feb87 + 7712a3a commit 5773c09
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Provider/Xero.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,17 @@ protected function getDefaultScopes()
return ['openid email profile'];
}

/**
* Returns the string that should be used to separate scopes when building
* the URL for requesting an access token.
*
* @return string Scope separator, defaults to ' '
*/
protected function getScopeSeparator()
{
return ' ';
}

/**
* Generates a resource owner object from a successful resource owner
* details request.
Expand Down

0 comments on commit 5773c09

Please sign in to comment.