Kurlyk
Loading...
Searching...
No Matches
ApiKeyAuthProvider.hpp File Reference

Provides API key authentication via header or query parameter. More...

#include "IAuthProvider.hpp"
#include "kurlyk/utils/percent_encoding.hpp"
#include <string>

Go to the source code of this file.

Classes

class  kurlyk::http::auth::ApiKeyAuthProvider
 Injects an API key into the request either as a header or query parameter. More...

Namespaces

namespace  kurlyk
 Primary namespace for the Kurlyk library, encompassing initialization, request management, and utility functions.
namespace  kurlyk::http
namespace  kurlyk::http::auth

Macros

#define _KURLYK_HTTP_AUTH_API_KEY_AUTH_PROVIDER_HPP_INCLUDED

Enumerations

enum class  kurlyk::http::auth::ApiKeyPlacement { kurlyk::http::auth::HEADER , kurlyk::http::auth::QUERY }
 Determines where the API key is attached. More...

Detailed Description

Provides API key authentication via header or query parameter.

Definition in file ApiKeyAuthProvider.hpp.

Macro Definition Documentation

◆ _KURLYK_HTTP_AUTH_API_KEY_AUTH_PROVIDER_HPP_INCLUDED

#define _KURLYK_HTTP_AUTH_API_KEY_AUTH_PROVIDER_HPP_INCLUDED

Definition at line 3 of file ApiKeyAuthProvider.hpp.