![JAR search and dependency download from the Maven repository](/logo.png)
org.cloudfoundry.identity.uaa.oauth.UaaTokenEnhancer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cloudfoundry-identity-server Show documentation
Show all versions of cloudfoundry-identity-server Show documentation
Cloud Foundry User Account and Authentication
The newest version!
package org.cloudfoundry.identity.uaa.oauth;
import java.util.HashMap;
import java.util.Map;
import org.springframework.security.oauth2.provider.OAuth2Authentication;
import static org.cloudfoundry.identity.uaa.oauth.token.ClaimConstants.EXTERNAL_ATTR;
public interface UaaTokenEnhancer {
Map getExternalAttributes(OAuth2Authentication authentication);
default Map enhance(Map claims, OAuth2Authentication authentication) {
Map result = new HashMap<>();
result.put(EXTERNAL_ATTR, getExternalAttributes(authentication));
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy