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(mat: Materializer)

    Permalink
  2. new OAuthControl(creds: GoogleOAuthCredentials, mat: Materializer)

    Permalink

Abstract Value Members

  1. abstract def ejectCall: Call

    Permalink
  2. abstract def isAuthorized(email: String): 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. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
  8. implicit val ec: ExecutionContextExecutor

    Permalink
  9. def eject: Result

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def fail(msg: String): Result

    Permalink
  14. def finalize(): Unit

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

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

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

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

    Permalink
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. val logoutMessage: String

    Permalink
  21. val messageKey: String

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

    Permalink
    Definition Classes
    AnyRef
  23. def noConsentFailure: Result

    Permalink
  24. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  26. val oauth: GoogleOAuth

    Permalink
  27. def onOAuthUnauthorized(email: String): Result

    Permalink
  28. def redirResponse: Action[AnyContent]

    Permalink
  29. def redirURL(request: RequestHeader): String

    Permalink
  30. def sessionUserKey: String

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

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

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

    Permalink
  34. final def wait(): Unit

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

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

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

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped