public class UserStorageProviderResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AdminEventBuilder |
adminEvent |
protected RealmAuth |
auth |
protected org.keycloak.common.ClientConnection |
clientConnection |
protected javax.ws.rs.core.HttpHeaders |
headers |
protected RealmModel |
realm |
protected KeycloakSession |
session |
protected javax.ws.rs.core.UriInfo |
uriInfo |
| Constructor and Description |
|---|
UserStorageProviderResource(RealmModel realm,
RealmAuth auth,
AdminEventBuilder adminEvent) |
| Modifier and Type | Method and Description |
|---|---|
SynchronizationResult |
syncUsers(String id,
String action)
Trigger sync of users
|
protected RealmModel realm
protected RealmAuth auth
protected AdminEventBuilder adminEvent
@Context protected org.keycloak.common.ClientConnection clientConnection
@Context protected javax.ws.rs.core.UriInfo uriInfo
@Context protected KeycloakSession session
@Context protected javax.ws.rs.core.HttpHeaders headers
public UserStorageProviderResource(RealmModel realm, RealmAuth auth, AdminEventBuilder adminEvent)
@POST
@Path(value="{id}/sync")
@Produces(value="application/json")
public SynchronizationResult syncUsers(@PathParam(value="id")
String id,
@QueryParam(value="action")
String action)
Copyright © 2016 JBoss by Red Hat. All rights reserved.