libAuthentication looks like generic purpose PHP authentication... although it seems to be closely tied to WebID. May I suggest a renaming to something like libWebIDconsumer or something like that ? Best regards,