<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.quasar-rce.com/index.php?action=history&amp;feed=atom&amp;title=Vendetta%2FAPI%2Frequest_auth</id>
	<title>Vendetta/API/request auth - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.quasar-rce.com/index.php?action=history&amp;feed=atom&amp;title=Vendetta%2FAPI%2Frequest_auth"/>
	<link rel="alternate" type="text/html" href="https://wiki.quasar-rce.com/index.php?title=Vendetta/API/request_auth&amp;action=history"/>
	<updated>2026-04-07T09:28:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.quasar-rce.com/index.php?title=Vendetta/API/request_auth&amp;diff=59&amp;oldid=prev</id>
		<title>Wikiadmin: added request_auth</title>
		<link rel="alternate" type="text/html" href="https://wiki.quasar-rce.com/index.php?title=Vendetta/API/request_auth&amp;diff=59&amp;oldid=prev"/>
		<updated>2025-03-03T15:45:40Z</updated>

		<summary type="html">&lt;p&gt;added request_auth&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Definition ===&lt;br /&gt;
lib.request_auth (function callback) :: nil :: Neoloader auth key if successful&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
Allows a plugin to request the auth key, necessary for triggering lib.uninstall and lib.activate. This key is granted to the callback function if the user selects to allow it.&lt;br /&gt;
&lt;br /&gt;
=== Arguments ===&lt;br /&gt;
# function callback(key): This function is called if the user selects to give the plugin the auth key&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
* nil: This function does not return anything&lt;br /&gt;
* string key: the callback function will be called with a string argument containing the key if the user selects to authenticate the plugin&lt;br /&gt;
&lt;br /&gt;
=== Other notes ===&lt;br /&gt;
* Added in LME 3.4.x&lt;br /&gt;
* This should be used only in one-off situations or for on-the-fly executed code; for dedicated plugins, changing the plugin&amp;#039;s load state to &amp;quot;AUTH&amp;quot; will let it have the auth key when it initially loads. Neoloader&amp;#039;s registered management utility will by default also get the auth key, regardless of load state.&lt;/div&gt;</summary>
		<author><name>Wikiadmin</name></author>
	</entry>
</feed>