Package io.ryos.rhino.sdk.users
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.- Since:
- 1.0.0
- Author:
- Erhan Bagdemir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getId()
A unique id to distinguish the user from others.java.lang.String
getPassword()
Password, if authentication is required.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
int getId()
A unique id to distinguish the user from others.- Returns:
- The id of the user.
-
-