Interface IdentityAccessService

    • Method Detail

      • 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