olp-cpp-sdk
1.22.0
|
Represents the policy decision for a given request context against the HERE Service. More...
#include <AuthorizeResult.h>
Public Member Functions | |
const DecisionType & | GetDecision () const |
Gets the overall policy decision. More... | |
void | SetDecision (DecisionType decision) |
Sets the overall policy decision. More... | |
const std::string & | GetClientId () const |
Gets the client ID. More... | |
void | SetClientId (std::string client_id) |
Sets the client ID. More... | |
const std::vector< ActionResult > & | GetActionResults () const |
Gets the list of results for each action. More... | |
void | SetActionResults (std::vector< ActionResult > actions) |
Sets the list of results for each action. More... | |
Represents the policy decision for a given request context against the HERE Service.
Collects all permissions associated with the authenticated user or application, requested service ID, and requested contract ID. For each action-resource pair in the request, this class determines an individual policy decision: DENY or ALLOW.
|
inline |
Gets the list of results for each action.
DecisionRequest
.
|
inline |
Gets the client ID.
|
inline |
Gets the overall policy decision.
DecisionOperatorType
for more information.
|
inline |
Sets the list of results for each action.
actions | The vector of ActionResult . |
|
inline |
Sets the client ID.
client_id | The client ID. |
|
inline |
Sets the overall policy decision.
decision | The policy decision. |