Interface FriendProvider

    • Method Detail

      • getFriends

        Collection<Friend> getFriends()

        Returns a list of known friends.

        This method shall be called frequently by the OslcClient. It is the responsibility of the implementing class to decide whether a cache is to use and to implement it if needed.

        Returns:
        the list of friends on which OAuth connection can be realized.
      • getFriend

        default Optional<Friend> getFriend​(URI resourceURI)
        Returns the friend owning the given resource, if any.
        Parameters:
        resourceURI - the resource URI
        Returns:
        the friend owning the resource
        Since:
        1.13.0