LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file. 1 #include "pybind11/pybind11.h"
9 namespace persistence {
12 py::class_<DbAuth>
cls(mod,
"DbAuth");
static bool available(std::string const &host, std::string const &port)
Determine whether an authenticator string is available for database access.
static std::string authString(std::string const &host, std::string const &port)
Get the authenticator string for a database.
PYBIND11_MODULE(dbAuth, mod)
static void resetPolicy()
Set the authenticator Policy back to null.
static void setPolicy(lsst::pex::policy::Policy::Ptr policy)
Set the authenticator Policy.
static std::string password(std::string const &host, std::string const &port)
Get the password to use to authenticate to a database.
A base class for image defects.
static std::string username(std::string const &host, std::string const &port)
Get the username to use to authenticate to a database.
Interface for DbAuth class.