org.keycloak.scripting

## Interface ScriptingProvider

- All Superinterfaces:
    Provider
  All Known Implementing Classes:
    DefaultScriptingProvider

      public interface ScriptingProvider
      extends Provider

  A `Provider` than provides Scripting capabilities.
  Author:
    Thomas Darimont

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `InvocableScript` | `prepareScript(ScriptModel script)` Returns an `InvocableScript` based on the given `ScriptModel` with an `ScriptBindingsConfigurer.EMPTY` `ScriptBindingsConfigurer`.
    `InvocableScript` | `prepareScript(ScriptModel script, ScriptBindingsConfigurer bindingsConfigurer)` Returns an `InvocableScript` based on the given `ScriptModel`.

    - ### Methods inherited from interface org.keycloak.provider.Provider

      `close`

- - ### Method Detail

    - #### prepareScript

          InvocableScript prepareScript(ScriptModel script,
                                        ScriptBindingsConfigurer bindingsConfigurer)

      Returns an `InvocableScript` based on the given `ScriptModel`.

      The `InvocableScript` wraps a dedicated `ScriptEngine` that was populated with the provided `ScriptBindingsConfigurer`

      Parameters:
        `script` - the script to wrap
        `bindingsConfigurer` - populates the `Bindings`
      Returns:

    - #### prepareScript

          InvocableScript prepareScript(ScriptModel script)

      Returns an `InvocableScript` based on the given `ScriptModel` with an `ScriptBindingsConfigurer.EMPTY` `ScriptBindingsConfigurer`.
      Parameters:
        `script` -
      Returns:
      See Also:
        `prepareScript(ScriptModel, ScriptBindingsConfigurer)`

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