pl.edu.icm.unity.oauth.client.UserProfileFetcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unity-server-oauth Show documentation
Show all versions of unity-server-oauth Show documentation
Client and server OAuth support
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