/** * Callback function that is called when the authenticator is registered * * Use this method for initialization of a newly registered authenticator. * Just overload this method and it will be called when the authenticator * is registered. * <b>If the method returns FALSE, the authenticator won't be * registered!</b> * * @return bool Returns TRUE on success, FALSE otherwise. */ protected static function on_register() { Object::add_extension('Member', 'OpenIDAuthenticatedRole'); Object::add_extension('Member_Validator', 'OpenIDAuthenticatedRole_Validator'); return parent::on_register(); }