10Duke Scale C++ Client
|
#include <DefaultLicenseConsumers.h>
Default implementation of tenduke::se::licensing::LicenseConsumers
.
This is stateful service, which maintains the OIDC-session automatically, that is, the service automatically shows browser to log the user in, when necessary.
Public Member Functions | |
DefaultLicenseConsumers (const std::shared_ptr< const ::tenduke::se::licensing::rest::ScaleConsumersApi > &rest, const std::shared_ptr<::tenduke::oidc::OIDCSession > &oidc) | |
Constructs new instance. | |
tenduke::se::licensing::LicenseConsumerClientBindingStatus | describeLicenseConsumerClientBindings (const std::string &licenseeId, const std::string &licenseConsumerId, const ::tenduke::se::Paging &paging, const ::tenduke::se::Filter &filter) override |
Analyzes licenses that a license consumer is known to have a checkout for currently. | |
::tenduke::se::licensing::LicenseConsumerClientBindingStatus | describeLicenseConsumerClientBindings (const std::string &licenseeId) override |
Overload of describeLicenseConsumerClientBindings , which provides default values for optional arguments. | |
std::vector<::tenduke::se::licensing::Licensee > | describeLicenseConsumerLicensees (const std::string &licenseConsumerId, const ::tenduke::se::Paging &paging) override |
Returns Licensees the LicenseConsumer is associated to. | |
std::vector<::tenduke::se::licensing::Licensee > | describeLicenseConsumerLicensees () override |
Overload of describeLicenseConsumerLicensees , which provides default values for optional parameters. | |
::tenduke::se::licensing::LicenseConsumerLicensesStatus | describeLicenseConsumerLicenses (const std::string &licenseeId, const std::string &licenseConsumerId, const ::tenduke::se::Paging &paging) override |
Returns Licenses of given Licensee, which the LicenseConsumer can access. | |
::tenduke::se::licensing::LicenseConsumerLicensesStatus | describeLicenseConsumerLicenses (const std::string &licenseeId) override |
Overload of describeLicenseConsumerLicenses , which provides default values for optional parameters. | |
tenduke::se::licensing::DefaultLicenseConsumers::DefaultLicenseConsumers | ( | const std::shared_ptr< const ::tenduke::se::licensing::rest::ScaleConsumersApi > & | rest, |
const std::shared_ptr<::tenduke::oidc::OIDCSession > & | oidc | ||
) |
Constructs new instance.
rest | - |
oidc | - |
|
overridevirtual |
Overload of describeLicenseConsumerClientBindings
, which provides default values for optional arguments.
licenseeId | Identifier of the licensee that the license belongs to. |
Implements tenduke::se::licensing::LicenseConsumers.
|
overridevirtual |
Analyzes licenses that a license consumer is known to have a checkout for currently.
licenseeId | Identifier of the licensee that the license belongs to. |
licenseConsumerId | Identifier of the license consumer that the the information is scoped to. NOTE: When using OIDC-authorization, this value is not used: Pass empty string. |
paging | - |
filter | - |
Implements tenduke::se::licensing::LicenseConsumers.
|
overridevirtual |
Overload of describeLicenseConsumerLicensees
, which provides default values for optional parameters.
Implements tenduke::se::licensing::LicenseConsumers.
|
overridevirtual |
Returns Licensees the LicenseConsumer is associated to.
licenseConsumerId | id of the LicenseConsumer. NOTE: When using OIDC-authorization, this value is not used |
paging | - |
Implements tenduke::se::licensing::LicenseConsumers.
|
overridevirtual |
Overload of describeLicenseConsumerLicenses
, which provides default values for optional parameters.
licenseeId | id of the Licensee. |
Implements tenduke::se::licensing::LicenseConsumers.
|
overridevirtual |
Returns Licenses of given Licensee, which the LicenseConsumer can access.
licenseeId | id of the Licensee. |
licenseConsumerId | id of the LicenseConsumer. NOTE: When using OIDC-authorization, this value is not used |
paging | - |
Implements tenduke::se::licensing::LicenseConsumers.