#include <BastionGuard-secure.hpp>
Static Public Member Functions | |
| static bool | open_if_allowed (const std::string &url, int argc, char **argv) |
| static bool | is_payment_domain (const std::string &domain) |
| static bool | is_builtin_payment_provider (const std::string &domain) |
| static std::string | extract_domain (const std::string &url) |
| static std::string | clean_domain (const std::string &d) |
| static bool | ends_with (const std::string &s, const std::string &suffix) |
Static Private Member Functions | |
| static std::string | config_path_payments () |
| static void | open_system_browser (const std::string &url) |
| static const std::vector< std::string > & | payments_cache_only () |
Definition at line 26 of file BastionGuard-secure.hpp.
|
static |
Definition at line 110 of file BastionGuard-secure.cpp.
References to_lower().
Referenced by extract_domain(), is_builtin_payment_provider(), is_payment_domain(), and load_payments_list_only().
|
staticprivate |
Definition at line 50 of file BastionGuard-secure.cpp.
Referenced by payments_cache_only().
|
static |
Definition at line 146 of file BastionGuard-secure.cpp.
Referenced by is_builtin_payment_provider(), and matches_payment_domain().
|
static |
Definition at line 135 of file BastionGuard-secure.cpp.
References clean_domain().
Referenced by open_if_allowed().
|
static |
Definition at line 246 of file BastionGuard-secure.cpp.
References clean_domain(), and ends_with().
Referenced by open_if_allowed().
|
static |
Definition at line 230 of file BastionGuard-secure.cpp.
References _, clean_domain(), SettingsStore::get_secure_payments_enabled(), matches_payment_domain(), and payments_cache_only().
Referenced by open_if_allowed().
|
static |
Definition at line 293 of file BastionGuard-secure.cpp.
References _, extract_domain(), is_builtin_payment_provider(), is_payment_domain(), SecureBrowser::open(), and open_system_browser().
Referenced by main().
|
staticprivate |
Definition at line 55 of file BastionGuard-secure.cpp.
References _.
Referenced by open_if_allowed().
|
staticprivate |
Definition at line 206 of file BastionGuard-secure.cpp.
References config_path_payments(), and load_payments_list_only().
Referenced by is_payment_domain().