8000 Dev update by oliverkroener · Pull Request #26 · MohammadWaleed/keycloak-admin-client · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Dev update #26

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

Merged
merged 6 commits into from
Oct 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -475,9 +475,9 @@ Note: Ids are sent as clientScopeId or clientId and mapperId everything else is
| Get social logins associated with the user | | ❌ |
| Add a social login provider to the user | | ❌ |
| Remove a social login provider from user | | ❌ |
| GET /{realm}/users/{id}/groups | | ❌ |
| GET /{realm}/users/{id}/groups/count | | ❌ |
| PUT /{realm}/users/{id}/groups/{groupId} | | ❌ |
| GET /{realm}/users/{id}/groups | getUserGroups | ✔️ |
| GET /{realm}/users/{id}/groups/count | getUserGroupsCount | ✔️ |
| PUT /{realm}/users/{id}/groups/{groupId} | | ❌ |
| DELETE /{realm}/users/{id}/groups/{groupId} | | ❌ |
| Impersonate the user | | ❌ |
| Remove all user sessions associated with the user Also send notification to all clients that have an admin URL to invalidate the sessions for the particular user. | | ❌ |
Expand Down
2 changes: 2 additions & 0 deletions src/Admin/KeycloakClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@
* @method array createUser(array $args = array()) { @command Keycloak createUser }
* @method array getUsers(array $args = array()) { @command Keycloak getUsers }
* @method array getUser(array $args = array()) { @command Keycloak getUser }
* @method array getUserGroups(array $args = array()) { @command Keycloak getUserGroups }
* @method array getUserGroupsCount(array $args = array()) { @command Keycloak getUserGroupsCount }
* @method array updateUser(array $args = array()) { @command Keycloak updateUser }
* @method array deleteUser(array $args = array()) { @command Keycloak deleteUser }
*
Expand Down
40 changes: 40 additions & 0 deletions src/Admin/Resources/keycloak-1_0.php
Original file line number Diff line number Diff line change
Expand Up @@ -4162,6 +4162,46 @@
)
),

'getUserGroups' => array(
'uri' => 'auth/admin/realms/{realm}/users/{id}/groups',
'description' => 'Get the user groups of a specific user',
'httpMethod' => 'GET',
'parameters' => array(
'realm' => array(
'location' => 'uri',
'description' => 'The Realm name',
'type' => 'string',
'required' => true,
),
'id' => array(
'location' => 'uri',
'description' => 'User id',
'type' => 'string',
'required' => true
)
)
),

'getUserGroupsCount' => array(
'uri' => 'auth/admin/realms/{realm}/users/{id}/groups/count',
'description' => 'Get the number user groups of a specific user',
'httpMethod' => 'GET',
'parameters' => array(
'realm' => array(
'location' => 'uri',
'description' => 'The Realm name',
'type' => 'string',
'required' => true,
),
'id' => array(
'location' => 'uri',
'description' => 'User id',
'type' => 'string',
'required' => true
)
)
),

'updateUser' => array(
'uri' => 'auth/admin/realms/{realm}/users/{id}',
'description' => 'Update a user (Username must be unique)',
Expand Down
0