com.gu.googleauth

Actions

trait Actions extends AnyRef

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

Abstract Value Members

  1. abstract def loginTarget: Call

    The target that should be redirected to in order to carry out authentication

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. object AuthAction extends ActionBuilder[AuthenticatedRequest]

    This action ensures that the user is authenticated and their token is valid.

    This action ensures that the user is authenticated and their token is valid. Is a user is not logged in or their token has expired then they will be authenticated.

    The AuthenticatedRequest will always have an identity.

  5. val LOGIN_ORIGIN_KEY: String

    A Play session key that stores the target URL that was being accessed when redirected for authentication

  6. object LoginAuthAction extends ActionBuilder[AuthenticatedRequest]

    This action should be used for any login screen.

    This action should be used for any login screen.

    It is similar to NonAuthAction, but does not send users for re-authentication if their session has expired and instead appears as if the user is logged out.

  7. object NonAuthAction extends ActionBuilder[AuthenticatedRequest]

    This action can be used for pages where login is optional.

    This action can be used for pages where login is optional. If no user is logged in then the AuthenticatedRequest will have no identity. If a user has an expired session then they will be sent for re-authentication. If the user is valid (and expired sessions are re-authenticated) then the AuthenticatedRequest will have an identity.

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  19. def sendForAuth[A](request: Request[A]): Future[Result]

    Helper method that deals with sending a client for authentication.

    Helper method that deals with sending a client for authentication. Typically this should store the target URL and redirect to the loginTarget. There shouldn't really be any need to override this.

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped