Interface IdentityProvidersResource
public interface IdentityProvidersResource
- Author:
- pedroigor
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
create
(IdentityProviderRepresentation identityProvider) find
(String search, Boolean briefRepresentation, Integer firstResult, Integer maxResults, Boolean realmOnly) Get the paginated list of identity providers, filtered according to the specified parameters.findAll()
jakarta.ws.rs.core.Response
getIdentityProviders
(String providerId) importFrom
(Object data) importFrom
(Map<String, Object> data)
-
Method Details
-
get
-
findAll
@GET @Path("instances") @Produces("application/json") List<IdentityProviderRepresentation> findAll() -
find
-
find
@GET @Path("instances") @Produces("application/json") List<IdentityProviderRepresentation> find(@QueryParam("search") String search, @QueryParam("briefRepresentation") Boolean briefRepresentation, @QueryParam("first") Integer firstResult, @QueryParam("max") Integer maxResults, @QueryParam("realmOnly") Boolean realmOnly) Get the paginated list of identity providers, filtered according to the specified parameters.- Parameters:
search
- Filter to search specific providers by name. Search can be prefixed (name*), contains (*name*) or exact (\"name\"). Default prefixed.briefRepresentation
- Boolean which defines whether brief representations are returned (default: false). If true, only basic data like ID, alias, providerId and enabled status will be returned in the resultfirstResult
- Pagination offsetmaxResults
- Maximum results size (defaults to 100)realmOnly
- Boolean which defines if only realm-level IDPs (not associated with orgs) should be returned (default: false). Parameter available since Keycloak server 26. Will be ignored on older Keycloak versions with the default value false- Returns:
- The list of providers.
-
create
@POST @Path("instances") @Consumes("application/json") jakarta.ws.rs.core.Response create(IdentityProviderRepresentation identityProvider) -
getIdentityProviders
@GET @Path("/providers/{provider_id}") @Produces("application/json") jakarta.ws.rs.core.Response getIdentityProviders(@PathParam("provider_id") String providerId) -
importFrom
-
importFrom
-