10Duke Enterprise C++ Client
|
Examples.
Functions | |
tenduke::oidc::OIDCState * | mutate (const std::shared_ptr< const tenduke::oidc::OIDCState > &state) |
std::string | getDeploymentURL (int argc, char **argv) |
Returns deployment URL. | |
void | setExpiresAt (const std::shared_ptr< const tenduke::oidc::OIDCState > &state, std::int64_t expiresAt) |
void | setRefreshToken (const std::shared_ptr< const tenduke::oidc::OIDCState > &state, const std::string &refreshToken) |
void | dumpToConsole (const ::tenduke::ee::licensing::Lease &lease) |
void | dumpToConsole (const std::vector< tenduke::ee::licensing::Lease > &leases) |
void | dumpToConsole (const std::map< std::string, tenduke::ee::licensing::Lease > &leases) |
void | dumpToConsole (const tenduke::ee::licensing::LicenseCheckoutResponse &response) |
void | dumpToConsole (const tenduke::ee::licensing::LicenseRenewResponse &response) |
void | dumpToConsole (const tenduke::ee::licensing::LicenseReleaseResponse &response) |
void | dumpToConsole (const tenduke::oidc::OIDCState &state) |
void | dumpToConsole (const std::shared_ptr< const tenduke::oidc::OIDCState > &state) |
Variables | |
const std::string | DEMO_DEPLOYMENT_URL = "https://your-deployment-url-here" |
const std::string | HTTP_MESSAGE_WHEN_LOGIN_SUCCEEDS |
std::string tenduke::eg::getDeploymentURL | ( | int | argc, |
char ** | argv | ||
) |
Returns deployment URL.
This function returns deployment URL. By default it returns ::tenduke::ee::DEMO_DEPLOYMENT_URL, but if environment variable XD_DEPLOYMENT_URL is defined, returns the value of that.
Parameters argc and argv are not currently used, but are passed for possible future expansion to enable parsing the deployment URL from command line.
argc | command line argc (for future use, not used currently) |
argv | command line argv (for future use, not used currently) |
const std::string tenduke::eg::HTTP_MESSAGE_WHEN_LOGIN_SUCCEEDS |