![]() |
MySQL 9.3.0
Source Code Documentation
|
#include "mrs/authentication/authorize_manager.h"
#include <time.h>
#include <cassert>
#include <chrono>
#include <iomanip>
#include <memory>
#include <optional>
#include <sstream>
#include <string_view>
#include "my_macros.h"
#include "mrs/authentication/auth_handler_factory.h"
#include "mrs/authentication/helper/universal_id_container.h"
#include "mrs/authentication/track_authorize_handler.h"
#include "mrs/authentication/www_authentication_handler.h"
#include "mrs/http/error.h"
#include "mrs/rest/request_context.h"
#include "helper/container/generic.h"
#include "helper/container/map.h"
#include "helper/generate_uuid.h"
#include "helper/json/rapid_json_to_map.h"
#include "helper/json/rapid_json_to_struct.h"
#include "helper/json/text_to.h"
#include "helper/make_shared_ptr.h"
#include "helper/string/hex.h"
#include "helper/string/random.h"
#include "helper/string/replace.h"
#include "helper/token/jwt.h"
#include "http/base/headers.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/string_utils.h"
Namespaces | |
namespace | mrs |
namespace | mrs::authentication |
namespace | mrs::authentication::anonymous_namespace{authorize_manager.cc} |
Typedefs | |
using | mrs::authentication::milliseconds = std::chrono::milliseconds |
using | mrs::authentication::seconds = std::chrono::seconds |
using | mrs::authentication::minutes = std::chrono::minutes |
using | mrs::authentication::Headers = ::http::base::Headers |
using | mrs::authentication::JwtHolder = helper::JwtHolder |
using | mrs::authentication::Jwt = helper::Jwt |
using | mrs::authentication::SessionId = AuthorizeManager::SessionId |
using | mrs::authentication::Session = AuthorizeManager::Session |
using | mrs::authentication::SessionConfiguration = mrs::http::SessionManager::Configuration |
using | mrs::authentication::Handlers = AuthorizeManager::AuthHandlers |
using | mrs::authentication::AuthorizeHandlerPtr = AuthorizeManager::AuthorizeHandlerPtr |
using | mrs::authentication::SessionPtr = AuthorizeManager::SessionPtr |
Variables | |
const UniversalId | mrs::authentication::k_vendor_mrs {{0x30, 0}} |
const UniversalId | mrs::authentication::k_vendor_mysql {{0x31, 0}} |
const UniversalId | mrs::authentication::k_vendor_facebook {{0x32, 0}} |
const UniversalId | mrs::authentication::k_vendor_google {{0x34, 0}} |
const UniversalId | mrs::authentication::k_vendor_oidc {{0x35, 0}} |
const uint64_t | mrs::authentication::k_default_jwt_expire_timeout {15} |
const uint64_t | mrs::authentication::k_maximum_jwt_expire_timeout {60} |