securesocial.core

OAuth2Provider

abstract class OAuth2Provider extends IdentityProvider with ApiSupport

Base class for all OAuth2 providers

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OAuth2Provider
  2. ApiSupport
  3. IdentityProvider
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OAuth2Provider(routesService: RoutesService, client: OAuth2Client, cacheService: CacheService)

Type Members

  1. case class LoginJson(email: String, info: OAuth2Info) extends Product with Serializable

    Defines the request format for api authentication requests

Abstract Value Members

  1. abstract def fillProfile(info: OAuth2Info): Future[BasicProfile]

  2. abstract val id: String

    The id for this provider.

    The id for this provider.

    Definition Classes
    IdentityProvider

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. implicit val LoginJsonReads: Reads[LoginJson]

    A Reads instance for the LoginJson case class

  7. implicit val OAuth2InfoReads: Reads[OAuth2Info]

    A Reads instance for the OAuth2Info case class

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def authMethod: AuthenticationMethod

    Subclasses need to implement this to specify the authentication method

    Subclasses need to implement this to specify the authentication method

    returns

    Definition Classes
    OAuth2ProviderIdentityProvider
  10. def authenticate()(implicit request: Request[AnyContent]): Future[AuthenticationResult]

    Authenticates the user and fills the profile information.

    Authenticates the user and fills the profile information.

    request

    the current request

    returns

    a future AuthenticationResult

    Definition Classes
    OAuth2ProviderIdentityProvider
  11. def authenticateForApi(implicit request: Request[AnyContent]): Future[AuthenticationResult]

    Authenticates a user

    Authenticates a user

    request
    returns

    Definition Classes
    OAuth2ProviderApiSupport
  12. def buildInfo(response: WSResponse): OAuth2Info

    Attributes
    protected
  13. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  16. implicit val executionContext: ExecutionContext

    Attributes
    protected
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def getAccessToken[A](code: String)(implicit request: Request[A]): Future[OAuth2Info]

    Attributes
    protected
  19. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  22. val logger: Logger

    Attributes
    protected
  23. val malformedJson: String

    The error returned for malformed requests

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

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

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

    Definition Classes
    AnyRef
  27. val settings: OAuth2Settings

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

    Definition Classes
    AnyRef
  29. def toString(): String

    Returns the provider name

    Returns the provider name

    returns

    Definition Classes
    IdentityProvider → 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 ApiSupport

Inherited from IdentityProvider

Inherited from AnyRef

Inherited from Any

Ungrouped