Class OAuth2Helper

java.lang.Object
de.xima.fc.security.pac4j.oauth2.OAuth2Helper

public class OAuth2Helper extends Object
Helper class for OAuth2 related operations.
  • 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.