Package io.ryos.rhino.sdk.users.data
Class UserImpl
- java.lang.Object
-
- io.ryos.rhino.sdk.users.data.UserImpl
-
- All Implemented Interfaces:
User
- Direct Known Subclasses:
OAuthUserImpl
public class UserImpl extends java.lang.Object implements User
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getId()
A unique id to distinguish the user from others.java.lang.String
getPassword()
Password, if authentication is required.java.lang.String
getRegion()
Region of the user, if it belongs to one.java.lang.String
getScope()
Scope of the user.java.lang.String
getUsername()
User name.int
hashCode()
-
-
-
Method Detail
-
getUsername
public java.lang.String getUsername()
Description copied from interface:User
User name.- Specified by:
getUsername
in interfaceUser
- Returns:
- User name.
-
getPassword
public java.lang.String getPassword()
Description copied from interface:User
Password, if authentication is required.- Specified by:
getPassword
in interfaceUser
- Returns:
- Password.
-
getScope
public java.lang.String getScope()
Description copied from interface:User
Scope of the user.
-
getId
public java.lang.String getId()
Description copied from interface:User
A unique id to distinguish the user from others.
-
getRegion
public java.lang.String getRegion()
Description copied from interface:User
Region of the user, if it belongs to one.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-