SecuredErrorHandlerModule

play.silhouette.api.actions.SecuredErrorHandlerModule
class SecuredErrorHandlerModule extends Module

Play module to provide the secured error handler component.

We provide an extra module so that it can be easily replaced with a custom implementation without to declare bindings for the other secured action module.

Attributes

Graph
Supertypes
class Module
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def bindings(environment: Environment, configuration: Configuration): Seq[Binding[_]]

Get the bindings provided by this module.

Get the bindings provided by this module.

Implementations are strongly encouraged to do nothing in this method other than provide bindings. Startup should be handled in the constructors and/or providers bound in the returned bindings. Dependencies on other modules or components should be expressed through constructor arguments.

The configuration and environment a provided for the purpose of producing dynamic bindings, for example, if what gets bound depends on some configuration, this may be read to control that.

Value parameters

configuration

The configuration

environment

The environment

Attributes

Returns

A sequence of bindings

Inherited methods

final def bind[T : ClassTag]: BindingKey[T]

Create a binding key for the given class.

Create a binding key for the given class.

Attributes

Inherited from:
Module

Deprecated and Inherited methods

final def bind[T](clazz: Class[T]): BindingKey[T]

Create a binding key for the given class.

Create a binding key for the given class.

Attributes

Deprecated
true
Inherited from:
Module
final def seq(bindings: Binding[_]*): Seq[Binding[_]]

Create a seq.

Create a seq.

For Java compatibility.

Attributes

Deprecated
true
Inherited from:
Module