com.mohiva.play.silhouette.core.providers

CommonSocialProfile

case class CommonSocialProfile[A <: AuthInfo](loginInfo: LoginInfo, authInfo: A, 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[A] 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.

A

The auth info type.

loginInfo

The linked login info.

authInfo

The current auth info returned from the provider.

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, Serializable, Product, Equals, SocialProfile[A], AnyRef, Any
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, authInfo: A, 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.

    authInfo

    The current auth info returned from the provider.

    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 authInfo: A

    The current auth info returned from the provider.

    The current auth info returned from the provider.

    Definition Classes
    CommonSocialProfileSocialProfile
  8. val avatarURL: Option[String]

    Maybe the avatar URL of the authenticated provider.

  9. def clone(): AnyRef

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

    Maybe the email of the authenticated provider.

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

    Definition Classes
    AnyRef
  12. def finalize(): Unit

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

    Maybe the first name of the authenticated user.

  14. val fullName: Option[String]

    Maybe the full name of the authenticated user.

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

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

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

    Maybe the last name of the authenticated user.

  18. val loginInfo: LoginInfo

    The linked login info.

    The linked login info.

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

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

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. 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[A]

Inherited from AnyRef

Inherited from Any

Ungrouped