-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add bitrix24 service #322
Add bitrix24 service #322
Conversation
https://travis-ci.org/Lusitanian/PHPoAuthLib/jobs/41131535 |
<?php | ||
|
||
/** | ||
* Example of retrieving an authentication token of the Github service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix this text.
@ruscon please pull in the latest master to rerun the build. |
const SCOPE_LOG = 'log'; | ||
const SCOPE_SONET_GROUP = 'sonet_group'; | ||
|
||
public function __construct( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove this constructor.
done |
$parameters['scope'] = implode(' ', $this->scopes); | ||
|
||
// Build the url | ||
$url = clone $this->getAccessTokenEndpoint(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to clone the object as getAccessTokenEndpoint()
returns a new new object.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After this last change, this looks good to go 👍
thanks!! |
No description provided.