Package de.xima.fc.security.pac4j.oauth2
Class OAuth2Helper
- java.lang.Object
-
- de.xima.fc.security.pac4j.oauth2.OAuth2Helper
-
public class OAuth2Helper extends Object
Helper class for OAuth2 related operations.
-
-
Constructor Summary
Constructors Constructor Description OAuth2Helper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addTokenDetailsToOAuth2Profile(org.pac4j.core.profile.UserProfile profile, com.github.scribejava.core.model.Token token)
Adds token details to the given profile.
-
-
-
Method Detail
-
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.
-
-