Packages

t

com.gu.pandomainauth.action.AuthActions

AbstractApiAuthAction

trait AbstractApiAuthAction extends ActionBuilder[UserRequest, AnyContent]

Abstraction for API auth actions allowing to mix in custom results for each of the different error scenarios.

Linear Supertypes
ActionBuilder[UserRequest, AnyContent], ActionFunction[Request, UserRequest], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractApiAuthAction
  2. ActionBuilder
  3. ActionFunction
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val expiredResult: Result
  2. abstract val invalidCookieResult: Result
  3. abstract val notAuthenticatedResult: Result
  4. abstract val notAuthorizedResult: Result

Concrete 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, AnyContent]
    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]): ActionBuilder[UserRequest, 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
    @native() @throws( ... )
  13. def compose[B](other: ActionBuilder[Request, B]): ActionBuilder[UserRequest, B]
    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
    AbstractApiAuthAction → 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
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def invokeBlock[A](request: Request[A], block: (UserRequest[A]) ⇒ Future[Result]): Future[Result]
    Definition Classes
    AbstractApiAuthAction → 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
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def parser: BodyParser[AnyContent]
    Definition Classes
    AbstractApiAuthAction → ActionBuilder
  29. def responseWithSystemCookie(response: Future[Result], authedUser: AuthenticatedUser): Future[Result]
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from ActionBuilder[UserRequest, AnyContent]

Inherited from ActionFunction[Request, UserRequest]

Inherited from AnyRef

Inherited from Any

Ungrouped