securesocial.core.providers

WeiboProvider

class WeiboProvider extends OAuth2Provider

A Weibo provider

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

Instance Constructors

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

Type Members

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

    Defines the request format for api authentication requests

    Defines the request format for api authentication requests

    email

    the user email

    info

    the OAuth2Info as returned by some Oauth2 service on the client side (eg: JS app)

    Definition Classes
    OAuth2Provider

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

  5. val AvatarUrl: String

  6. val Email: String

  7. val GetAuthenticatedUser: String

  8. val GetUserEmail: String

  9. val Id: String

  10. implicit val LoginJsonReads: Reads[LoginJson]

    A Reads instance for the LoginJson case class

    A Reads instance for the LoginJson case class

    Definition Classes
    OAuth2Provider
  11. val Message: String

  12. val Name: String

  13. implicit val OAuth2InfoReads: Reads[OAuth2Info]

    A Reads instance for the OAuth2Info case class

    A Reads instance for the OAuth2Info case class

    Definition Classes
    OAuth2Provider
  14. val UId: String

  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. 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
  17. 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
  18. def authenticateForApi(implicit request: Request[AnyContent]): Future[AuthenticationResult]

    Authenticates a user

    Authenticates a user

    request
    returns

    Definition Classes
    OAuth2ProviderApiSupport
  19. def buildInfo(response: Response): OAuth2Info

    According to the weibo.

    According to the weibo.com's OAuth2 implemention,I use TokenType position place UId param So please check http://open.weibo.com/wiki/OAuth2/access_token to ensure they stay weird before you use this.

    Attributes
    protected
    Definition Classes
    WeiboProviderOAuth2Provider
  20. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  23. def fillProfile(info: OAuth2Info): Future[BasicProfile]

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

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

    info

    The OAuth2Info

    returns

    A copy of the user object with the new values set

    Definition Classes
    WeiboProviderOAuth2Provider
  24. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  26. def getEmail(accessToken: String)(implicit ec: ExecutionContext): Future[Option[String]]

  27. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  28. val id: String

    The id for this provider.

    The id for this provider.

    Definition Classes
    WeiboProviderIdentityProvider
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. val logger: Logger

    Attributes
    protected
    Definition Classes
    OAuth2Provider
  31. val malformedJson: String

    The error returned for malformed requests

    The error returned for malformed requests

    Definition Classes
    OAuth2Provider
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  35. val settings: OAuth2Settings

    Definition Classes
    OAuth2Provider
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Returns the provider name

    Returns the provider name

    returns

    Definition Classes
    IdentityProvider → AnyRef → Any
  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from OAuth2Provider

Inherited from ApiSupport

Inherited from IdentityProvider

Inherited from AnyRef

Inherited from Any

Ungrouped