|
| RepoToken (const repo::core::model::RepoBSON &credentials, const std::string &databaseHost=std::string(), const uint32_t &port=27017, const std::string &databaseName=std::string(), const std::string &alias=std::string()) |
|
const repo::core::model::RepoBSON * | getCredentials () const |
|
std::string | serialiseToken () const |
|
bool | valid () const |
|
|
static RepoToken * | createTokenFromRawData (const std::string &data) |
|
repo::RepoController::RepoToken::RepoToken |
( |
const repo::core::model::RepoBSON & |
credentials, |
|
|
const std::string & |
databaseHost = std::string() , |
|
|
const uint32_t & |
port = 27017 , |
|
|
const std::string & |
databaseName = std::string() , |
|
|
const std::string & |
alias = std::string() |
|
) |
| |
|
inline |
Construct a Repo token
- Parameters
-
credentials | user credentials in a bson format |
databaseHostPort | database address+port as a string |
databaseName | database it is authenticating against |
The documentation for this class was generated from the following file:
- C:/Users/Carmen/3D Repo/Repo/3drepobouncer/bouncer/src/repo/repo_controller.cpp.inl