Interface IdentityAccessService


public interface IdentityAccessService
Identity service accessing a single user, in read-only. This is a replacement of the deprecated UserService.
  • Method Details

    • get

      @Nullable GbifUser get(String identifier)
      Get a GbifUser by identifier (username or email).
      Parameters:
      identifier - username or email
      Returns:
      the user or null if the user is not found
    • authenticate

      @Nullable GbifUser authenticate(String identifier, String password)
      Authenticates a user.
      Parameters:
      identifier - username or email
      password - clear text password
      Returns:
      the authenticated user or null if not found or wrong credentials provided