algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::network::StoredToken Struct Reference

An access token as a TokenStore keeps it. More...

#include <algotradelib/src/network/token_store.hpp>

Public Attributes

std::string access_token_
 The bearer token; do not log it.
std::chrono::system_clock::time_point expires_at_ {}
 When it expires, as the client that obtained it computed it.

Detailed Description

An access token as a TokenStore keeps it.

Definition at line 18 of file token_store.hpp.

Member Data Documentation

◆ access_token_

std::string algotradelib::network::StoredToken::access_token_

The bearer token; do not log it.

Definition at line 20 of file token_store.hpp.

◆ expires_at_

std::chrono::system_clock::time_point algotradelib::network::StoredToken::expires_at_ {}

When it expires, as the client that obtained it computed it.

Definition at line 22 of file token_store.hpp.

Referenced by algotradelib::network::FileTokenStore::publish().


The documentation for this struct was generated from the following file: