Class OAuth2Helper
java.lang.Object
de.xima.fc.security.pac4j.oauth2.OAuth2Helper
Helper class for OAuth2 related operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddTokenDetailsToOAuth2Profile(org.pac4j.core.profile.UserProfile profile, com.github.scribejava.core.model.Token token) Adds token details to the given profile.
-
Constructor Details
-
OAuth2Helper
public OAuth2Helper()
-
-
Method Details
-
addTokenDetailsToOAuth2Profile
public static void addTokenDetailsToOAuth2Profile(org.pac4j.core.profile.UserProfile profile, com.github.scribejava.core.model.Token token) Adds token details to the given profile.- Parameters:
profile- The profile to add the token details to.token- The token to extract the details from.
-