public class IdentityProvidersResource extends Object
| Constructor and Description |
|---|
IdentityProvidersResource(RealmModel realm,
KeycloakSession session,
RealmAuth auth,
AdminEventBuilder adminEvent) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
create(javax.ws.rs.core.UriInfo uriInfo,
IdentityProviderRepresentation representation)
Create a new identity provider
|
IdentityProviderResource |
getIdentityProvider(String alias) |
List<IdentityProviderRepresentation> |
getIdentityProviders()
Get identity providers
|
javax.ws.rs.core.Response |
getIdentityProviders(String providerId)
Get identity providers
|
Map<String,String> |
importFrom(javax.ws.rs.core.UriInfo uriInfo,
Map<String,Object> data)
Import identity provider from JSON body
|
Map<String,String> |
importFrom(javax.ws.rs.core.UriInfo uriInfo,
org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput input)
Import identity provider from uploaded JSON file
|
public IdentityProvidersResource(RealmModel realm, KeycloakSession session, RealmAuth auth, AdminEventBuilder adminEvent)
public javax.ws.rs.core.Response getIdentityProviders(String providerId)
providerId - Provider idpublic Map<String,String> importFrom(@Context javax.ws.rs.core.UriInfo uriInfo, org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput input) throws IOException
uriInfo - input - IOExceptionpublic Map<String,String> importFrom(@Context javax.ws.rs.core.UriInfo uriInfo, Map<String,Object> data) throws IOException
uriInfo - data - JSON bodyIOExceptionpublic List<IdentityProviderRepresentation> getIdentityProviders()
public javax.ws.rs.core.Response create(@Context
javax.ws.rs.core.UriInfo uriInfo,
IdentityProviderRepresentation representation)
uriInfo - representation - JSON bodypublic IdentityProviderResource getIdentityProvider(String alias)
Copyright © 2016 JBoss by Red Hat. All rights reserved.