Function OAuthProvider.disableAutoRegister

Disables automatic registration of authentication servers from JSON config.

static void disableAutoRegister() nothrow @nogc;

This will only prevent the application from changing the provider registry implicitly. Explicit registration of providers remains possible.

Should be called only once and before using any OAuth functions.