Class OAuth2Helper


  • public class OAuth2Helper
    extends Object
    Helper class for OAuth2 related operations.
    • Constructor Detail

      • OAuth2Helper

        public OAuth2Helper()
    • 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.