fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/user/auth0/Auth0Client.java
public NormalizedUserProfile getUserProfileInfo(AccessToken accessTokenParam)
    {
        if(accessTokenParam == null || (accessTokenParam.getAccessToken() == null ||
                accessTokenParam.getAccessToken().trim().isEmpty()))
        {
            throw new FluidClientException(
                    "Code must be provided.",
                    FluidClientException.ErrorCode.FIELD_VALIDATE);
        }

        try {
            String accessToken = accessTokenParam.getAccessToken();

            List<HeaderNameValue> headerListing = new ArrayList<HeaderNameValue>();

            headerListing.add(new HeaderNameValue(
                    NormalizedUserProfile.HeaderMapping.AUTHORIZATION,
                    "Bearer "+accessToken));

            return new NormalizedUserProfile(
                    this.getJson(true, WS.Path.Auth0.Version1.userInfo(),headerListing));
        }
        //
        catch (UnsupportedEncodingException e) {

            throw new FluidClientException(
                    "Unable to Encode (Not Supported). "+ e.getMessage(),
                    FluidClientException.ErrorCode.ILLEGAL_STATE_ERROR);
        }
    }
public NormalizedUserProfile getUserProfileInfo(AccessToken accessTokenParam)
    {
        if(accessTokenParam == null || (accessTokenParam.getAccessToken() == null ||
                accessTokenParam.getAccessToken().trim().isEmpty()))
        {
            throw new FluidClientException(
                    "Code must be provided.",
                    FluidClientException.ErrorCode.FIELD_VALIDATE);
        }

        try {
            String accessToken = accessTokenParam.getAccessToken();

            List<HeaderNameValue> headerListing = new ArrayList<HeaderNameValue>();

            headerListing.add(new HeaderNameValue(
                    NormalizedUserProfile.HeaderMapping.AUTHORIZATION,
                    "Bearer "+accessToken));

            return new NormalizedUserProfile(
                    this.getJson(true, WS.Path.Auth0.Version1.userInfo(),headerListing));
        }
        //
        catch (UnsupportedEncodingException e) {

            throw new FluidClientException(
                    "Unable to Encode (Not Supported). "+ e.getMessage(),
                    FluidClientException.ErrorCode.ILLEGAL_STATE_ERROR);
        }
    }
Gets Auth0 Normalized User Profile info.

@param accessTokenParam The access token used to get
user profile info from.
@return User Profile.

@see NormalizedUserProfile
@see AccessToken