com.mohiva.play.silhouette

api

package api

The collection of traits and utility classes that form the stable API of Silhouette.

The main API is exposed as controller actions by the com.mohiva.play.silhouette.api.Silhouette trait.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. api
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class AuthenticatedEvent[I <: Identity](identity: I, request: RequestHeader, lang: Lang) extends SilhouetteEvent with Product with Serializable

    An event which will be published if a request passes authentication.

  2. trait Authenticator extends AnyRef

    An authenticator tracks an authenticated user.

  3. trait Authorization[I <: Identity] extends AnyRef

    A trait to define Authorization objects that let you hook an authorization implementation in secured endpoints.

  4. trait Environment[I <: Identity, T <: Authenticator] extends AnyRef

    The environment needed to instantiate a Silhouette controller.

  5. class EventBus extends ActorEventBus with SubchannelClassification

    An event bus implementation which uses a class based lookup classification.

  6. trait Identity extends AnyRef

    This trait represents an authenticated user.

  7. trait Logger extends AnyRef

    Implement this to get a named logger in scope.

  8. case class LoginEvent[I <: Identity](identity: I, request: RequestHeader, lang: Lang) extends SilhouetteEvent with Product with Serializable

    An event which will be published after an identity logged in.

  9. case class LoginInfo(providerID: String, providerKey: String) extends Product with Serializable

    Represents a linked login for an identity (i.

  10. case class LogoutEvent[I <: Identity](identity: I, request: RequestHeader, lang: Lang) extends SilhouetteEvent with Product with Serializable

    An event which will be published after an identity logged out.

  11. case class NotAuthenticatedEvent(request: RequestHeader, lang: Lang) extends SilhouetteEvent with Product with Serializable

    An event which will be published if a request did not pass authentication.

  12. case class NotAuthorizedEvent[I <: Identity](identity: I, request: RequestHeader, lang: Lang) extends SilhouetteEvent with Product with Serializable

    An event which will be published if a request did not pass authorization.

  13. trait Provider extends AnyRef

    A marker interface for all providers.

  14. trait RequestProvider extends Provider

    A provider which can be hooked into a request.

  15. trait SecuredSettings extends AnyRef

    Can be mixed into the GlobalSettings object to define a global behaviour for unauthorized and forbidden endpoints.

  16. case class SignUpEvent[I <: Identity](identity: I, request: RequestHeader, lang: Lang) extends SilhouetteEvent with Product with Serializable

    An event which will be published after an identity signed up.

  17. trait Silhouette[I <: Identity, A <: Authenticator] extends Controller with Logger

    Provides the mechanisms that can be used to protect endpoints and retrieve the current user if available.

  18. trait SilhouetteEvent extends AnyRef

    The base event.

  19. trait StorableAuthenticator extends Authenticator

    An authenticator which can be stored in a backing store.

  20. trait Token extends AnyRef

    A token used for reset password and sign up operations.

Value Members

  1. object Authenticator

    The companion object.

  2. object Authorization

    The companion object.

  3. object Environment

    The companion object.

  4. object EventBus

    A global event bus instance.

  5. object LoginInfo extends Serializable

    The companion object of the login info.

  6. package exceptions

    Provides exceptions used by the API.

  7. package services

    Provides services used by the API to call external or internal services.

  8. package util

    Provides utilities used by the API.

Inherited from AnyRef

Inherited from Any

Ungrouped