I represent an authentication scheme. For now my children store the scheme metadata.
Should we need multiple configs of a single scheme, a new class should be made, and the config specific calls on Auth::Scheme moved to it.
Definition at line 27 of file Scheme.h.
Final termination of all authentication components. To be used only on shutdown. All global pointers are released. After this all schemes will appear completely unsupported until a call to InitAuthModules(). Release the Auth::TheConfig handles instead to disable authentication without terminiating all support.
Called when a graceful shutdown is to occur of each scheme module. On completion the auth components are to be considered deleted. None will be available globally. Some may remain around for their currently active connections to close, but only those active connections will retain pointers to them.
Definition at line 60 of file Scheme.cc.
References assert, GetSchemes(), shutting_down, and size.
Referenced by SignalEngine::FinalShutdownRunners(), and ~Scheme().