Class/Object

com.malliina.play.controllers

OAuthControl

Related Docs: object OAuthControl | package controllers

Permalink

abstract class OAuthControl extends AutoCloseable

A template to handle the Google OAuth2 authentication flow.

1) User is sent to initiate() 2) initiate() sends (redirects) user to Google 3) Google redirects user to redirResponse() after consent 4) redirResponse() extracts email, authenticates

Linear Supertypes
AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OAuthControl
  2. AutoCloseable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OAuthControl(actions: ActionBuilder[Request, AnyContent], mat: Materializer)

    Permalink
  2. new OAuthControl(actions: ActionBuilder[Request, AnyContent], creds: GoogleOAuthCredentials, mat: Materializer)

    Permalink
  3. new OAuthControl(actions: ActionBuilder[Request, AnyContent], oauth: GoogleOAuthLike, ec: ExecutionContext)

    Permalink

Abstract Value Members

  1. abstract def ejectCall: Call

    Permalink
  2. abstract def isAuthorized(email: Email): Boolean

    Permalink
  3. abstract def oAuthRedir: Call

    Permalink
  4. abstract def onOAuthSuccess: Call

    Permalink
  5. abstract def startOAuth: Call

    Permalink

Concrete Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val actions: ActionBuilder[Request, AnyContent]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def close(): Unit

    Permalink
    Definition Classes
    OAuthControl → AutoCloseable
  8. def discover(): Future[GoogleOAuthConf]

    Permalink
  9. val ec: ExecutionContext

    Permalink
  10. def eject: Result

    Permalink
  11. def ejectWith(message: String): Result

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. implicit val exec: ExecutionContext

    Permalink
  15. def fail(msg: String): Result

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def fut[T](item: T): Future[T]

    Permalink
  18. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def initiate: Action[AnyContent]

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. val logoutMessage: String

    Permalink
  23. val messageKey: String

    Permalink
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. def noConsentFailure: Result

    Permalink
  26. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  28. val oauth: GoogleOAuthLike

    Permalink
  29. def onOAuthUnauthorized(email: Email): Result

    Permalink
  30. def redirResponse: Action[AnyContent]

    Permalink
  31. def redirURL(request: RequestHeader): FullUrl

    Permalink
  32. def sessionUserKey: String

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

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. def unauthorizedMessage(email: Email): String

    Permalink
  36. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped