Class

com.mohiva.play.silhouette.impl.providers

CommonSocialProfile

Related Doc: package providers

Permalink

case class CommonSocialProfile(loginInfo: LoginInfo, firstName: Option[String] = None, lastName: Option[String] = None, fullName: Option[String] = None, email: Option[String] = None, avatarURL: Option[String] = 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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    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: 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. val avatarURL: Option[String]

    Permalink

    Maybe the avatar URL of the authenticated provider.

  6. def clone(): AnyRef

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

    Permalink

    Maybe the email of the authenticated provider.

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

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

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

    Permalink

    Maybe the first name of the authenticated user.

  11. val fullName: Option[String]

    Permalink

    Maybe the full name of the authenticated user.

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

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

    Permalink
    Definition Classes
    Any
  14. val lastName: Option[String]

    Permalink

    Maybe the last name of the authenticated user.

  15. val loginInfo: LoginInfo

    Permalink

    The linked login info.

    The linked login info.

    Definition Classes
    CommonSocialProfileSocialProfile
  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. final def wait(): Unit

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

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

    Permalink
    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