Class/Object

com.mohiva.play.silhouette.impl.providers.oauth1

TwitterProvider

Related Docs: object TwitterProvider | package oauth1

Permalink

class TwitterProvider extends BaseTwitterProvider with CommonSocialProfileBuilder

The Twitter OAuth1 Provider.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TwitterProvider
  2. CommonSocialProfileBuilder
  3. BaseTwitterProvider
  4. OAuth1Provider
  5. Logger
  6. OAuth1Constants
  7. SocialProvider
  8. ExecutionContextProvider
  9. SocialProfileBuilder
  10. Provider
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TwitterProvider(httpLayer: HTTPLayer, service: OAuth1Service, tokenSecretProvider: OAuth1TokenSecretProvider, settings: OAuth1Settings)

    Permalink

    httpLayer

    The HTTP layer implementation.

    service

    The OAuth1 service implementation.

    tokenSecretProvider

    The OAuth1 token secret provider implementation.

    settings

    The OAuth1 provider settings.

Type Members

  1. type A = OAuth1Info

    Permalink

    The type of the auth info.

    The type of the auth info.

    Definition Classes
    OAuth1ProviderSocialProvider
  2. type Content = JsValue

    Permalink

    The content type to parse a profile from.

    The content type to parse a profile from.

    Definition Classes
    BaseTwitterProviderSocialProfileBuilder
  3. type Profile = CommonSocialProfile

    Permalink

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

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

    Definition Classes
    CommonSocialProfileBuilder
  4. type Self = TwitterProvider

    Permalink

    The type of this class.

    The type of this class.

    Definition Classes
    TwitterProviderSocialProvider
  5. type Settings = OAuth1Settings

    Permalink

    The settings type.

    The settings type.

    Definition Classes
    OAuth1ProviderSocialProvider

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 Denied: String

    Permalink
    Definition Classes
    OAuth1Constants
  5. val OAuthToken: String

    Permalink
    Definition Classes
    OAuth1Constants
  6. val OAuthVerifier: String

    Permalink
    Definition Classes
    OAuth1Constants
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def authenticate[B]()(implicit request: ExtractableRequest[B]): Future[Either[Result, OAuth1Info]]

    Permalink

    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 buildProfile(authInfo: OAuth1Info): Future[Profile]

    Permalink

    Builds the social profile.

    Builds the social profile.

    authInfo

    The auth info received from the provider.

    returns

    On success the build social profile, otherwise a failure.

    Attributes
    protected
    Definition Classes
    BaseTwitterProviderSocialProfileBuilder
  10. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. implicit val executionContext: ExecutionContext

    Permalink

    The execution context to handle the asynchronous operations.

    The execution context to handle the asynchronous operations.

    Definition Classes
    SocialProviderExecutionContextProvider
  14. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. val httpLayer: HTTPLayer

    Permalink

    The HTTP layer implementation.

    The HTTP layer implementation.

    Attributes
    protected
    Definition Classes
    TwitterProviderSocialProvider
  18. val id: String

    Permalink

    The provider ID.

    The provider ID.

    returns

    The provider ID.

    Definition Classes
    BaseTwitterProviderProvider
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. val logger: Logger

    Permalink

    A named logger instance.

    A named logger instance.

    Definition Classes
    Logger
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  24. val profileParser: TwitterProfileParser

    Permalink

    The profile parser implementation.

    The profile parser implementation.

    returns

    The profile parser implementation.

    Definition Classes
    TwitterProviderSocialProfileBuilder
  25. def resolveCallbackURL(url: String)(implicit request: RequestHeader): String

    Permalink

    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
  26. def retrieveProfile(authInfo: A): Future[Profile]

    Permalink

    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
  27. val service: OAuth1Service

    Permalink

    The OAuth1 service implementation.

    The OAuth1 service implementation.

    Definition Classes
    TwitterProviderOAuth1Provider
  28. val settings: OAuth1Settings

    Permalink

    The OAuth1 provider settings.

    The OAuth1 provider settings.

    Definition Classes
    TwitterProviderSocialProvider
  29. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  31. val tokenSecretProvider: OAuth1TokenSecretProvider

    Permalink

    The OAuth1 token secret provider implementation.

    The OAuth1 token secret provider implementation.

    Attributes
    protected
    Definition Classes
    TwitterProviderOAuth1Provider
  32. val urls: Map[String, String]

    Permalink

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

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

    returns

    The URLs that are needed to retrieve the profile data.

    Attributes
    protected
    Definition Classes
    BaseTwitterProviderSocialProfileBuilder
  33. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def withSettings(f: (Settings) ⇒ Settings): TwitterProvider

    Permalink

    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
    TwitterProviderSocialProvider

Inherited from BaseTwitterProvider

Inherited from OAuth1Provider

Inherited from Logger

Inherited from OAuth1Constants

Inherited from SocialProvider

Inherited from ExecutionContextProvider

Inherited from SocialProfileBuilder

Inherited from Provider

Inherited from AnyRef

Inherited from Any

Ungrouped