Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- trait UserService[U] extends scala.AnyRef {
- def find(providerId : scala.Predef.String, userId : scala.Predef.String) : scala.concurrent.Future[scala.Option[securesocial.core.BasicProfile]]
- def findByEmailAndProvider(email : scala.Predef.String, providerId : scala.Predef.String) : scala.concurrent.Future[scala.Option[securesocial.core.BasicProfile]]
- def save(profile : securesocial.core.BasicProfile, mode : securesocial.core.services.SaveMode) : scala.concurrent.Future[U]
- def link(current : U, to : securesocial.core.BasicProfile) : scala.concurrent.Future[U]
- def passwordInfoFor(user : U) : scala.concurrent.Future[scala.Option[securesocial.core.PasswordInfo]]
- def updatePasswordInfo(user : U, info : securesocial.core.PasswordInfo) : scala.concurrent.Future[scala.Option[securesocial.core.BasicProfile]]
- def saveToken(token : securesocial.core.providers.MailToken) : scala.concurrent.Future[securesocial.core.providers.MailToken]
- def findToken(token : scala.Predef.String) : scala.concurrent.Future[scala.Option[securesocial.core.providers.MailToken]]
- def deleteToken(uuid : scala.Predef.String) : scala.concurrent.Future[scala.Option[securesocial.core.providers.MailToken]]
- def deleteExpiredTokens() : scala.Unit
- }
- case class BasicProfile(val providerId : scala.Predef.String, val userId : scala.Predef.String, val firstName : scala.Option[scala.Predef.String], val lastName : scala.Option[scala.Predef.String], val fullName : scala.Option[scala.Predef.String], val email : scala.Option[scala.Predef.String], val avatarUrl : scala.Option[scala.Predef.String], val authMethod : securesocial.core.AuthenticationMethod, val oAuth1Info : scala.Option[securesocial.core.OAuth1Info], val oAuth2Info : scala.Option[securesocial.core.OAuth2Info] val passwordInfo : scala.Option[securesocial.core.PasswordInfo]) extends scala.AnyRef with securesocial.core.GenericProfile with scala.Product with scala.Serializable
- case class User(basicProfile: BasicProfile, id: ObjectId = new ObjectId(),
- lastPosition: String,
- friends: List[User],
- lastLogin: DateTime)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement