All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.edu.icm.unity.oauth.client.UserProfileFetcher Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2016 ICM Uniwersytet Warszawski All rights reserved.
 * See LICENCE.txt file for licensing information.
 */
package pl.edu.icm.unity.oauth.client;

import java.util.List;
import java.util.Map;

import com.nimbusds.oauth2.sdk.token.BearerAccessToken;

import pl.edu.icm.unity.oauth.BaseRemoteASProperties;

public interface UserProfileFetcher
{
	/**
	 * Retrieves attributes from user's profile which is accessed in implementation specific way.
	 */
	AttributeFetchResult fetchProfile(BearerAccessToken accessToken, String userInfoEndpoint,
			BaseRemoteASProperties providerConfig, Map> attributesFromACResponse) 
					throws Exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy