|
Virgil Security C++ SDK
|
Class used to provide additional info for AccessTokenProviderInterface implementations and explain why token is needed. More...
#include <TokenContext.h>
Public Member Functions | |
| TokenContext (std::string operation, std::string service, std::string identity=std::string(), bool forceReload=false) | |
| Constructor. More... | |
| const std::string & | identity () const |
| Getter. More... | |
| const std::string & | service () const |
| Getter. More... | |
| const std::string & | operation () const |
| Getter. More... | |
| bool | forceReload () const |
| Getter. More... | |
Class used to provide additional info for AccessTokenProviderInterface implementations and explain why token is needed.
| virgil::sdk::jwt::TokenContext::TokenContext | ( | std::string | operation, |
| std::string | service, | ||
| std::string | identity = std::string(), |
||
| bool | forceReload = false |
||
| ) |
Constructor.
| operation | std::string with operation for which token is needed. CardManager uses following operations:
|
| service | std::string with requested service |
| identity | std::string with identity to use in token |
| forceReload | if true AccessTokenProviderInterface implementation should reset cached token, if such exist |
| bool virgil::sdk::jwt::TokenContext::forceReload | ( | ) | const |
Getter.
| const std::string& virgil::sdk::jwt::TokenContext::identity | ( | ) | const |
Getter.
| const std::string& virgil::sdk::jwt::TokenContext::operation | ( | ) | const |
Getter.
| const std::string& virgil::sdk::jwt::TokenContext::service | ( | ) | const |
Getter.
1.8.10