Packages

trait OAuth1Provider extends SocialProvider with OAuth1Constants with api.Logger

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OAuth1Provider
  2. Logger
  3. OAuth1Constants
  4. SocialProvider
  5. ExecutionContextProvider
  6. SocialProfileBuilder
  7. Provider
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type A = OAuth1Info

    The type of the auth info.

    The type of the auth info.

    Definition Classes
    OAuth1ProviderSocialProvider
  2. abstract type Content

    The content type to parse a profile from.

    The content type to parse a profile from.

    Definition Classes
    SocialProfileBuilder
  3. abstract type Profile <: SocialProfile

    The type of the profile a profile builder is responsible for.

    The type of the profile a profile builder is responsible for.

    Definition Classes
    SocialProfileBuilder
  4. abstract type Self <: SocialProvider

    The type of the concrete implementation of this abstract type.

    The type of the concrete implementation of this abstract type.

    Definition Classes
    SocialProvider
  5. type Settings = OAuth1Settings

    The settings type.

    The settings type.

    Definition Classes
    OAuth1ProviderSocialProvider

Abstract Value Members

  1. abstract def buildProfile(authInfo: A): Future[Profile]

    Subclasses need to implement this method to populate the profile information from the service provider.

    Subclasses need to implement this method to populate the profile information from the service provider.

    authInfo

    The auth info received from the provider.

    returns

    On success the build social profile, otherwise a failure.

    Attributes
    protected
    Definition Classes
    SocialProfileBuilder
  2. abstract val httpLayer: HTTPLayer

    The HTTP layer implementation.

    The HTTP layer implementation.

    Attributes
    protected
    Definition Classes
    SocialProvider
  3. abstract def id: String

    Gets the provider ID.

    Gets the provider ID.

    returns

    The provider ID.

    Definition Classes
    Provider
  4. abstract def profileParser: SocialProfileParser[Content, Profile, A]

    Returns the profile parser implementation.

    Returns the profile parser implementation.

    returns

    The profile parser implementation.

    Attributes
    protected
    Definition Classes
    SocialProfileBuilder
  5. abstract val service: OAuth1Service

    The OAuth1 service implementation.

    The OAuth1 service implementation.

    Attributes
    protected
  6. abstract def settings: Settings

    Gets the provider settings.

    Gets the provider settings.

    returns

    The provider settings.

    Definition Classes
    SocialProvider
  7. abstract val tokenSecretProvider: OAuth1TokenSecretProvider

    The OAuth1 token secret provider implementation.

    The OAuth1 token secret provider implementation.

    Attributes
    protected
  8. abstract def urls: Map[String, String]

    Gets the URLs that are needed to retrieve the profile data.

    Gets the URLs that are needed to retrieve the profile data.

    Some providers need more than one request to different URLs to query the profile data. So we use a Map here to allow defining multiple URLs.

    returns

    The URLs that are needed to retrieve the profile data.

    Attributes
    protected
    Definition Classes
    SocialProfileBuilder
  9. abstract def withSettings(f: (Settings) => Settings): Self

    Gets a provider initialized with a new settings object.

    Gets a provider initialized with a new settings object.

    f

    A function which gets the settings passed and returns different settings.

    returns

    An instance of the provider initialized with new settings.

    Definition Classes
    SocialProvider

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. val Denied: String
    Definition Classes
    OAuth1Constants
  5. val OAuthToken: String
    Definition Classes
    OAuth1Constants
  6. val OAuthVerifier: String
    Definition Classes
    OAuth1Constants
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def authenticate[B]()(implicit request: ExtractableRequest[B]): Future[Either[Result, OAuth1Info]]

    Starts the authentication process.

    Starts the authentication process.

    B

    The type of the request body.

    request

    The current request.

    returns

    Either a Result or the auth info from the provider.

    Definition Classes
    OAuth1ProviderSocialProvider
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. implicit val executionContext: ExecutionContext

    The execution context to handle the asynchronous operations.

    The execution context to handle the asynchronous operations.

    Definition Classes
    SocialProviderExecutionContextProvider
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val logger: api.Logger

    A named logger instance.

    A named logger instance.

    Definition Classes
    Logger
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. def resolveCallbackURL(url: String)(implicit request: RequestHeader): String

    Resolves the url to be absolute relative to the request.

    Resolves the url to be absolute relative to the request.

    This will pass the url through if its already absolute.

    url

    The url to resolve.

    request

    The current request.

    returns

    The absolute url.

    Attributes
    protected
    Definition Classes
    SocialProvider
  21. def retrieveProfile(authInfo: A): Future[Profile]

    Retrieves the user profile for the given auth info.

    Retrieves the user profile for the given auth info.

    This method can be used to retrieve the profile information for an already authenticated identity.

    authInfo

    The auth info for which the profile information should be retrieved.

    returns

    The profile information for the given auth info.

    Definition Classes
    SocialProvider
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from api.Logger

Inherited from OAuth1Constants

Inherited from SocialProvider

Inherited from SocialProfileBuilder

Inherited from Provider

Inherited from AnyRef

Inherited from Any

Ungrouped