org.keycloak.models

## Interface KeycloakContext

- All Known Implementing Classes:
    DefaultKeycloakContext

      public interface KeycloakContext

  Author:
    Stian Thorgersen

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `URI` | `getAuthServerUrl()`
    `ClientModel` | `getClient()`
    `ClientConnection` | `getConnection()`
    `<T> T` | `getContextObject(Class<T> clazz)`
    `String` | `getContextPath()`
    `RealmModel` | `getRealm()`
    `RealmImporter` | `getRealmManager()`
    `javax.ws.rs.core.HttpHeaders` | `getRequestHeaders()`
    `javax.ws.rs.core.UriInfo` | `getUri()`
    `Locale` | `resolveLocale(UserModel user)`
    `void` | `setClient(ClientModel client)`
    `void` | `setConnection(ClientConnection connection)`
    `void` | `setRealm(RealmModel realm)`

- - ### Method Detail

    - #### getAuthServerUrl

          URI getAuthServerUrl()

    - #### getContextPath

          String getContextPath()

    - #### getUri

          javax.ws.rs.core.UriInfo getUri()

    - #### getRequestHeaders

          javax.ws.rs.core.HttpHeaders getRequestHeaders()

    - #### getContextObject

          <T> T getContextObject(Class<T> clazz)

    - #### getRealm

          RealmModel getRealm()

    - #### setRealm

          void setRealm(RealmModel realm)

    - #### getClient

          ClientModel getClient()

    - #### setClient

          void setClient(ClientModel client)

    - #### getConnection

          ClientConnection getConnection()

    - #### setConnection

          void setConnection(ClientConnection connection)

    - #### getRealmManager

          RealmImporter getRealmManager()

    - #### resolveLocale

          Locale resolveLocale(UserModel user)

Copyright © 2016 JBoss by Red Hat. All rights reserved.