Interface UserFetcher
-
public interface UserFetcher
Responsible for returning user information based on their username.- Since:
- 1.0
- Author:
- Sergio del Amo, Graeme Rocher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.reactivestreams.Publisher<UserState>
findByUsername(java.lang.String username)
Fetches a user based on the username.
-
-
-
Method Detail
-
findByUsername
org.reactivestreams.Publisher<UserState> findByUsername(java.lang.String username)
Fetches a user based on the username.- Parameters:
username
- e.g. admin- Returns:
- The users information or an empty publisher if no user is present
-
-