Packages

c

play.silhouette.impl.providers

CommonSocialProfile

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
Serializable, Product, Equals, SocialProfile, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommonSocialProfile
  2. Serializable
  3. Product
  4. Equals
  5. SocialProfile
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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)

    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
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val avatarURL: Option[String]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. val email: Option[String]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. val firstName: Option[String]
  10. val fullName: Option[String]
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val lastName: Option[String]
  14. val loginInfo: LoginInfo

    Gets the linked login info.

    Gets the linked login info.

    returns

    The linked login info.

    Definition Classes
    CommonSocialProfileSocialProfile
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. def productElementNames: Iterator[String]
    Definition Classes
    Product
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SocialProfile

Inherited from AnyRef

Inherited from Any

Ungrouped