final case class UserInfo(extra: Option[Map[String, Seq[String]]] = None, groups: Option[Seq[String]] = None, uid: Option[String] = None, username: Option[String] = None) extends Product with Serializable
UserInfo holds the information about the user needed to implement the user.Info interface.
- Source
- UserInfo.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- UserInfo
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
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
-
def
addExtra(newValues: (String, Seq[String])*): UserInfo
Adds new values to extra
-
def
addGroups(newValues: String*): UserInfo
Appends new values to groups
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val extra: Option[Map[String, Seq[String]]]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val groups: Option[Seq[String]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapExtra(f: (Map[String, Seq[String]]) ⇒ Map[String, Seq[String]]): UserInfo
if extra has a value, transforms to the result of function
-
def
mapGroups(f: (Seq[String]) ⇒ Seq[String]): UserInfo
if groups has a value, transforms to the result of function
-
def
mapUid(f: (String) ⇒ String): UserInfo
if uid has a value, transforms to the result of function
-
def
mapUsername(f: (String) ⇒ String): UserInfo
if username has a value, transforms to the result of function
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val uid: Option[String]
- val username: Option[String]
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withExtra(value: Map[String, Seq[String]]): UserInfo
Returns a new data with extra set to new value
-
def
withGroups(value: Seq[String]): UserInfo
Returns a new data with groups set to new value
-
def
withUid(value: String): UserInfo
Returns a new data with uid set to new value
-
def
withUsername(value: String): UserInfo
Returns a new data with username set to new value