Package org.gbif.api.service.common
Interface IdentityAccessService
public interface IdentityAccessService
Identity service accessing a single user, in read-only.
This is a replacement of the deprecated
UserService.-
Method Summary
-
Method Details
-
get
Get aGbifUserby identifier (username or email).- Parameters:
identifier- username or email- Returns:
- the user or null if the user is not found
-
authenticate
Authenticates a user.- Parameters:
identifier- username or emailpassword- clear text password- Returns:
- the authenticated user or null if not found or wrong credentials provided
-