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.
Maybe the email of the authenticated provider.
- avatarURL
Maybe the avatar URL of the authenticated provider.
- Alphabetic
- By Inheritance
- CommonSocialProfile
- Serializable
- Serializable
- Product
- Equals
- SocialProfile
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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.
Maybe the email of the authenticated provider.
- avatarURL
Maybe the avatar URL of the authenticated provider.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val avatarURL: Option[String]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val email: Option[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val firstName: Option[String]
- val fullName: Option[String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastName: Option[String]
-
val
loginInfo: LoginInfo
Gets the linked login info.
Gets the linked login info.
- returns
The linked login info.
- Definition Classes
- CommonSocialProfile → SocialProfile
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()