Interface OAuth20UserProfileDataCreator
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface OAuth20UserProfileDataCreatorStrategy interface that acts as factory to handle creation of un-typed user profile data which then could be transformed into whatever representation necessary by upstream components.- Since:
- 5.3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>createFrom(OAuth20AccessToken accessToken, org.pac4j.core.context.JEEContext context)Create internal user profile data.
-
-
-
Method Detail
-
createFrom
java.util.Map<java.lang.String,java.lang.Object> createFrom(OAuth20AccessToken accessToken, org.pac4j.core.context.JEEContext context)
Create internal user profile data.- Parameters:
accessToken- oauth access tokencontext- request context- Returns:
- Map representing profile data
-
-