#include <src/api/mip/protection/delegation_license.h>
Definition at line 43 of file delegation_license.h.
◆ GetSerializedDelegationJsonLicense()
virtual const std::vector< uint8_t > & DelegationLicense::GetSerializedDelegationJsonLicense |
( |
| ) |
|
|
pure virtual |
Gets the delegation license in Json format.
- Returns
- Serialized license
- Note
- This license is bound to the identity of the user that made the request
◆ GetSerializedDelegationXrmlLicense()
virtual const std::vector< uint8_t > & DelegationLicense::GetSerializedDelegationXrmlLicense |
( |
| ) |
|
|
pure virtual |
Gets the delegation license in Xrml format.
- Returns
- Serialized license
- Note
- This license is bound to the identity of the user that made the request
◆ GetSerializedUserLicense()
Gets the user license, if requested.
- Parameters
-
- Returns
- Serialized user license if requested, otherwise empty vector
- Note
- This license is bound to the delegated user in the request
◆ GetUser()
virtual const std::string & DelegationLicense::GetUser |
( |
| ) |
|
|
pure virtual |
Gets the user that this license was created for.
- Returns
- The user
The documentation for this class was generated from the following file: