-
Notifications
You must be signed in to change notification settings - Fork 212
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 missing User endpoints for Management API #341
Conversation
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.
Some request changes I mention need to be concerned.
I also found that this PHP package still requires |
@@ -106,6 +106,7 @@ protected function checkInvalidPermissions(array $permissions) | |||
} | |||
|
|||
foreach ($permissions as $permission) { | |||
|
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.
typo?
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.
It's iterating through an array, the $permission
is the current array element.
@peter279k - Correct, we still support PHP 5.5 currently so |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Changes
Add methods for missing Users endpoints on the Management API:
\Auth0\SDK\API\Management\Users::getRoles()
\Auth0\SDK\API\Management\Users::removeRoles()
\Auth0\SDK\API\Management\Users::addRoles()
\Auth0\SDK\API\Management\Users::getEnrollments()
\Auth0\SDK\API\Management\Users::getPermissions()
\Auth0\SDK\API\Management\Users::removePermissions()
\Auth0\SDK\API\Management\Users::addPermissions()
\Auth0\SDK\API\Management\Users::getLogs()
\Auth0\SDK\API\Management\Users::generateRecoveryCode()
\Auth0\SDK\API\Management\Users::invalidateBrowsers()
References
Management API Users docs
Testing
Checklist