Class

atom.oauth

OAuth10Provider

Related Doc: package oauth

Permalink

class OAuth10Provider extends OAuthProvider

Class contain methods which allow get secured resource via OAuth 1.0 protocol.

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

Instance Constructors

  1. new OAuth10Provider(apiKey: String, apiSecret: String, authUrl: String, requestTokenUrl: String, accessTokenUrl: String, userInfoUrl: String, userExtractor: OAuthUserExtractor)

    Permalink

    apiKey

    identifies the client that is making the request, obtained during application registration

    apiSecret

    the client secret obtained during application registration

    authUrl

    authentication url

    requestTokenUrl

    url to get request token

    accessTokenUrl

    url to get access token

    userInfoUrl

    url to get secured resource

    userExtractor

    extractor to parse response from server and create User POJO

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 createSignedRequest(url: String, accessToken: String): HttpGet

    Permalink

    Create Http request and sign it with Authorization header according to OAuth 1.0 protocol.

    Create Http request and sign it with Authorization header according to OAuth 1.0 protocol.

    url

    url of secured resource

    accessToken

    access token to get resource

    returns

    signed http request

    Definition Classes
    OAuth10ProviderOAuthProvider
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getAccessToken(code: String): String

    Permalink

    Retrieve the access token.

    Retrieve the access token.

    code

    verifier code

    returns

    access token

    Definition Classes
    OAuth10ProviderOAuthProvider
  11. def getAuthorizationUrl: String

    Permalink

    Get appropriate authorization url.

    Get appropriate authorization url.

    returns

    string value of url

    Definition Classes
    OAuth10ProviderOAuthProvider
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getOAuthUser(verificationCode: String): OAuthUser

    Permalink

    Create signed request to OAuth 2.0 provider and get user info.

    Create signed request to OAuth 2.0 provider and get user info.

    verificationCode

    code from OAuth 1.0 provider

    returns

    user POJO

    Definition Classes
    OAuth10ProviderOAuthProvider
  14. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

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

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

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

Inherited from OAuthProvider

Inherited from AnyRef

Inherited from Any

Ungrouped