keycloak-spi
|
公開メンバ関数 | |
URL | getTemplate (String name) throws IOException |
InputStream | getResourceAsStream (String path) throws IOException |
void | close () |
A theme resource provider can be used to load additional templates and resources. An example use of this would be a custom authenticator that requires an additional template and a JavaScript file.
The theme is searched for templates and resources first. Theme resource providers are only searched if the template or resource is not found. This allows overriding templates and resources from theme resource providers in the theme.
|
inherited |
InputStream org.keycloak.theme.ThemeResourceProvider.getResourceAsStream | ( | String | path | ) | throws IOException |
Load the resource for the specific path
path | the resource path |
IOException |
URL org.keycloak.theme.ThemeResourceProvider.getTemplate | ( | String | name | ) | throws IOException |
Load the template for the specific name
name | the template name |
IOException |