feat: add Technitium DNS integration, usable with DNS Hole widgets (#5832)
Co-authored-by: Daniel Lopes <daniel.lopes@agido.com>
This commit is contained in:
1 parent
a42af0e678
commit
cd1a82a640
9 files changed
+1634
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import type { IntegrationInput } from "../base/integration";
|
||||
import { TechnitiumDnsIntegration } from "./technitium-integration";
|
||||
|
||||
/**
|
||||
* Create a Technitium DNS integration.
|
||||
*
|
||||
* Auth version detection (Bearer vs ?token=) is lazy: it happens on the first authenticated
|
||||
* request and the result is cached in the session store, so no probe runs on every poll.
|
||||
*/
|
||||
export const createTechnitiumDnsIntegrationAsync = async (input: IntegrationInput) =>
|
||||
new TechnitiumDnsIntegration(input);
|
||||
Reference in new issue
Block a user