protected void verifyProfile(final UserProfile profile) {
        CommonHelper.assertNotNull("profile", profile);
        CommonHelper.assertNull(INTERNAL_ROLES, profile.getAttribute(INTERNAL_ROLES));
        CommonHelper.assertNull(INTERNAL_LINKEDID, profile.getAttribute(INTERNAL_LINKEDID));
    }
<p>verifyProfile.</p>

@param profile a {@link UserProfile} object
pac4j-jwt/src/main/java/org/pac4j/jwt/profile/JwtGenerator.java