org.keycloak.theme

## Class DefaultThemeSelectorProvider

- java.lang.Object
- - org.keycloak.theme.DefaultThemeSelectorProvider

- All Implemented Interfaces:
    Provider, ThemeSelectorProvider

      public class DefaultThemeSelectorProvider
      extends Object
      implements ThemeSelectorProvider

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `LOGIN_THEME_KEY`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultThemeSelectorProvider(KeycloakSession session)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `String` | `getThemeName(Theme.Type type)` Return the theme name to use for the specified type

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### LOGIN_THEME_KEY

          public static final String LOGIN_THEME_KEY

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### DefaultThemeSelectorProvider

          public DefaultThemeSelectorProvider(KeycloakSession session)

  - ### Method Detail

    - #### getThemeName

          public String getThemeName(Theme.Type type)

      Description copied from interface: `ThemeSelectorProvider`
      Return the theme name to use for the specified type
      Specified by:
        `getThemeName` in interface `ThemeSelectorProvider`
      Returns:

    - #### close

          public void close()

      Specified by:
        `close` in interface `Provider`

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