Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface Client<C extends Credentials> {
- //...
- C getCredentials(WebContext context);
- Object getUserProfile(C credentials, WebContext context);
- }
- val credentials: Credentials = foundClient.getCredentials(context)
- val profile = foundClient.getUserProfile(credentials, context)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement