Package io.ryos.rhino.sdk.users.data
Interface User
-
- All Known Subinterfaces:
OAuthUser
- All Known Implementing Classes:
OAuthUserImpl
,UserImpl
public interface User
Representation of a User, that is used in requests against the backend. Every request is associated with an user.- Author:
- Erhan Bagdemir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
getUsername
java.lang.String getUsername()
User name.- Returns:
- User name.
-
getPassword
java.lang.String getPassword()
Password, if authentication is required.- Returns:
- Password.
-
getScope
java.lang.String getScope()
Scope of the user.- Returns:
- Authorization scope.
-
getId
java.lang.String getId()
A unique id to distinguish the user from others.- Returns:
- The id of the user.
-
getRegion
java.lang.String getRegion()
Region of the user, if it belongs to one.- Returns:
- Region of the user
-
-