Package org.keycloak.services.resources
Class PublicRealmResource
java.lang.Object
org.keycloak.services.resources.PublicRealmResource
Resource class for public realm information
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.jboss.logging.Loggerprotected final RealmModelprotected final HttpRequestprotected final HttpResponseprotected final KeycloakSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponseCORS preflightorg.keycloak.representations.idm.PublishedRealmRepresentationgetRealm()Public information about the realm.static org.keycloak.representations.idm.PublishedRealmRepresentationrealmRep(KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo)
-
Field Details
-
logger
protected static final org.jboss.logging.Logger logger -
request
-
response
-
session
-
realm
-
-
Constructor Details
-
PublicRealmResource
-
-
Method Details
-
accountPreflight
@Path("/") @OPTIONS public jakarta.ws.rs.core.Response accountPreflight()CORS preflight- Returns:
-
getRealm
@GET @Produces("application/json") public org.keycloak.representations.idm.PublishedRealmRepresentation getRealm()Public information about the realm.- Returns:
-
realmRep
public static org.keycloak.representations.idm.PublishedRealmRepresentation realmRep(KeycloakSession session, RealmModel realm, jakarta.ws.rs.core.UriInfo uriInfo)
-