## Uses of Interface
org.keycloak.models.ScriptModel

- Packages that use ScriptModel
  Package | Description
  --- | ---
  org.keycloak.authorization.policy.provider.js |
  org.keycloak.scripting |

- - ### Uses of ScriptModel in org.keycloak.authorization.policy.provider.js

    Methods in org.keycloak.authorization.policy.provider.js that return ScriptModel
    Modifier and Type | Method and Description
    --- | ---
    `protected ScriptModel` | JSPolicyProviderFactory.`getScriptModel(Policy policy, RealmModel realm, ScriptingProvider scripting)`
    `protected ScriptModel` | DeployedScriptPolicyFactory.`getScriptModel(Policy policy, RealmModel realm, ScriptingProvider scripting)`

  - ### Uses of ScriptModel in org.keycloak.scripting

    Classes in org.keycloak.scripting that implement ScriptModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Script` A `ScriptModel` which holds some meta-data.

    Methods in org.keycloak.scripting that return ScriptModel
    Modifier and Type | Method and Description
    --- | ---
    `ScriptModel` | ScriptingProvider.`createScript(String realmId, String mimeType, String scriptName, String scriptCode, String scriptDescription)` Creates a new `ScriptModel` instance.
    `ScriptModel` | DefaultScriptingProvider.`createScript(String realmId, String mimeType, String scriptName, String scriptCode, String scriptDescription)`
    `ScriptModel` | EvaluatableScriptAdapter.`getScriptModel()`

    Methods in org.keycloak.scripting with parameters of type ScriptModel
    Modifier and Type | Method and Description
    --- | ---
    `EvaluatableScriptAdapter` | ScriptingProvider.`prepareEvaluatableScript(ScriptModel scriptModel)` Returns an `EvaluatableScriptAdapter` based on the given `ScriptModel`.
    `org.keycloak.scripting.AbstractEvaluatableScriptAdapter` | DefaultScriptingProvider.`prepareEvaluatableScript(ScriptModel scriptModel)` Wraps the provided `ScriptModel` in a `Invocable` instance with bindings configured through the `ScriptBindingsConfigurer`.
    `InvocableScriptAdapter` | ScriptingProvider.`prepareInvocableScript(ScriptModel scriptModel, ScriptBindingsConfigurer bindingsConfigurer)` Returns an `InvocableScriptAdapter` based on the given `ScriptModel`.
    `InvocableScriptAdapter` | DefaultScriptingProvider.`prepareInvocableScript(ScriptModel scriptModel, ScriptBindingsConfigurer bindingsConfigurer)` Wraps the provided `ScriptModel` in a `Invocable` instance with bindings configured through the `ScriptBindingsConfigurer`.

    Constructors in org.keycloak.scripting with parameters of type ScriptModel
    Constructor and Description
    `InvocableScriptAdapter(ScriptModel scriptModel, ScriptEngine scriptEngine)` Creates a new `InvocableScriptAdapter` instance.
    `ScriptCompilationException(ScriptModel script, Exception ex)`
    `ScriptExecutionException(ScriptModel script, Exception ex)`

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