com.mohiva.play.silhouette.impl.providers

CommonSocialProfile

case class CommonSocialProfile(loginInfo: LoginInfo, firstName: Option[String] = scala.None, lastName: Option[String] = scala.None, fullName: Option[String] = scala.None, email: Option[String] = scala.None, avatarURL: Option[String] = scala.None) extends SocialProfile with Product with Serializable

The social profile contains all the data returned from the social providers after authentication.

Not every provider returns all the data defined in this class. This is also the representation of the most common profile information provided by the social providers. The data can be used to create a new identity for the first authentication(which is also the registration) or to update an existing identity on every subsequent authentication.

loginInfo

The linked login info.

firstName

Maybe the first name of the authenticated user.

lastName

Maybe the last name of the authenticated user.

fullName

Maybe the full name of the authenticated user.

email

Maybe the email of the authenticated provider.

avatarURL

Maybe the avatar URL of the authenticated provider.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CommonSocialProfile
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SocialProfile
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CommonSocialProfile(loginInfo: LoginInfo, firstName: Option[String] = scala.None, lastName: Option[String] = scala.None, fullName: Option[String] = scala.None, email: Option[String] = scala.None, avatarURL: Option[String] = scala.None)

    loginInfo

    The linked login info.

    firstName

    Maybe the first name of the authenticated user.

    lastName

    Maybe the last name of the authenticated user.

    fullName

    Maybe the full name of the authenticated user.

    email

    Maybe the email of the authenticated provider.

    avatarURL

    Maybe the avatar URL of the authenticated provider.

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val avatarURL: Option[String]

    Maybe the avatar URL of the authenticated provider.

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val email: Option[String]

    Maybe the email of the authenticated provider.

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val firstName: Option[String]

    Maybe the first name of the authenticated user.

  13. val fullName: Option[String]

    Maybe the full name of the authenticated user.

  14. final def getClass(): Class[_]

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

    Definition Classes
    Any
  16. val lastName: Option[String]

    Maybe the last name of the authenticated user.

  17. val loginInfo: LoginInfo

    The linked login info.

    The linked login info.

    Definition Classes
    CommonSocialProfileSocialProfile
  18. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  22. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SocialProfile

Inherited from AnyRef

Inherited from Any

Ungrouped