Skip to content
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

Merged
merged 6 commits into from
Sep 11, 2015
Merged

Conversation

ruscon
Copy link
Contributor

@ruscon ruscon commented Nov 16, 2014

No description provided.

@ruscon
Copy link
Contributor Author

ruscon commented Nov 16, 2014

https://travis-ci.org/Lusitanian/PHPoAuthLib/jobs/41131535
Failed on testRetrieveResponseWithForcedSsl3
And don't run my test /=

<?php

/**
* Example of retrieving an authentication token of the Github service
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix this text.

@elliotchance
Copy link
Collaborator

@ruscon please pull in the latest master to rerun the build.

const SCOPE_LOG = 'log';
const SCOPE_SONET_GROUP = 'sonet_group';

public function __construct(
Copy link
Collaborator

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.

@ruscon
Copy link
Contributor Author

ruscon commented Sep 9, 2015

done

$parameters['scope'] = implode(' ', $this->scopes);

// Build the url
$url = clone $this->getAccessTokenEndpoint();
Copy link
Collaborator

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.

Copy link
Collaborator

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 👍

daviddesberg pushed a commit that referenced this pull request Sep 11, 2015
@daviddesberg daviddesberg merged commit 26fdd6b into daviddesberg:master Sep 11, 2015
@daviddesberg
Copy link
Owner

thanks!!

@elliotchance
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants