Skip to content

Namespace reeflogic::server_admin::authn C++ API Reference

Headers at a Glance

Header Classes Functions Macros
server_admin/authn_header_utility.h 0 1 0

Header server_admin/authn_header_utility.h

Functions

Signature Description Referenced Types
[[nodiscard]] std::optional<std::string> ExtractBearerToken(std::string_view authorization_header); Parses authorization metadata and extracts a Bearer token. Parsing behavior: - Trims ASCII whitespace around the full header value. - Accepts case-insensitive Bearer scheme prefix. - Trims ASCII whitespace around the token part. - Returns std::nullopt when scheme/token is missing. -