public interface UserInfoContributor<T extends AppUser> extends DataContributor<T>
DataContributor that adds data to the Oauth user info endpoint
Add a Scopes annotation to set global access control. Fine grained control can be added by overriding
addMetaData(ScopeQuery, Map, AppUser)| Modifier and Type | Method and Description |
|---|---|
default void |
addMetaData(ScopeQuery scopes,
java.util.Map<java.lang.String,java.lang.Object> attributes,
T target)
add metadata with fine grained access control
|
addMetaDatadefault void addMetaData(ScopeQuery scopes, java.util.Map<java.lang.String,java.lang.Object> attributes, T target)
scopes - ScopeQuery representing the access permissions of the request.attributes - target -