Kurlyk
Loading...
Searching...
No Matches
simple_bearer_auth_example.cpp File Reference
#include <kurlyk.hpp>
#include <iostream>

Go to the source code of this file.

Macros

#define KURLYK_AUTO_INIT   0
#define KURLYK_OAUTH_SUPPORT   0

Functions

int main ()
 Minimal example showing BearerTokenAuthProvider without OAuth/hmac-cpp.

Macro Definition Documentation

◆ KURLYK_AUTO_INIT

#define KURLYK_AUTO_INIT   0

Definition at line 1 of file simple_bearer_auth_example.cpp.

◆ KURLYK_OAUTH_SUPPORT

#define KURLYK_OAUTH_SUPPORT   0

Definition at line 3 of file simple_bearer_auth_example.cpp.

Function Documentation

◆ main()

int main ( )

Minimal example showing BearerTokenAuthProvider without OAuth/hmac-cpp.

KURLYK_OAUTH_SUPPORT=0 keeps the hmac-cpp dependency out of the build.

Definition at line 10 of file simple_bearer_auth_example.cpp.