com.gu.pandomainauth.action.AuthActions

AuthAction

object AuthAction extends ActionBuilder[UserRequest]

Action that ensures the user is logged in and validated.

This action is for page load type requests where it is possible to send the user for auth and for them to interact with the auth provider. For API / XHR type requests use the APIAuthAction

if the user is not authed or the auth has expired they are sent for authentication

Linear Supertypes
ActionBuilder[UserRequest], ActionFunction[Request, UserRequest], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AuthAction
  2. ActionBuilder
  3. ActionFunction
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def andThen[Q[_]](other: ActionFunction[UserRequest, Q]): ActionBuilder[Q]

    Definition Classes
    ActionBuilder → ActionFunction
  5. final def apply(block: ⇒ Result): Action[AnyContent]

    Definition Classes
    ActionBuilder
  6. final def apply(block: (UserRequest[AnyContent]) ⇒ Result): Action[AnyContent]

    Definition Classes
    ActionBuilder
  7. final def apply[A](bodyParser: BodyParser[A])(block: (UserRequest[A]) ⇒ Result): Action[A]

    Definition Classes
    ActionBuilder
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. final def async[A](bodyParser: BodyParser[A])(block: (UserRequest[A]) ⇒ Future[Result]): Action[A]

    Definition Classes
    ActionBuilder
  10. final def async(block: (UserRequest[AnyContent]) ⇒ Future[Result]): Action[AnyContent]

    Definition Classes
    ActionBuilder
  11. final def async(block: ⇒ Future[Result]): Action[AnyContent]

    Definition Classes
    ActionBuilder
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def compose(other: ActionBuilder[Request]): ActionBuilder[UserRequest]

    Definition Classes
    ActionFunction
  14. def compose[Q[_]](other: ActionFunction[Q, Request]): ActionFunction[Q, UserRequest]

    Definition Classes
    ActionFunction
  15. def composeAction[A](action: Action[A]): Action[A]

    Attributes
    protected
    Definition Classes
    ActionBuilder
  16. def composeParser[A](bodyParser: BodyParser[A]): BodyParser[A]

    Attributes
    protected
    Definition Classes
    ActionBuilder
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def executionContext: ExecutionContext

    Attributes
    protected
    Definition Classes
    ActionFunction
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. def invokeBlock[A](request: Request[A], block: (UserRequest[A]) ⇒ Future[Result]): Future[Result]

    Definition Classes
    AuthAction → ActionFunction
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ActionBuilder[UserRequest]

Inherited from ActionFunction[Request, UserRequest]

Inherited from AnyRef

Inherited from Any

Ungrouped