Package com.sodius.oslc.client.oauth
Interface FriendProvider
-
public interface FriendProvider
Provides access to a list of friends.Clients may implement this interface.
- See Also:
Friends.createFriendProvider(Collection)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Optional<Friend>
getFriend(URI resourceURI)
Returns the friend owning the given resource, if any.Collection<Friend>
getFriends()
Returns a list of known friends.
-
-
-
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.
-
-