Skip to content
Snippets Groups Projects

Release 0.2.0

Closed Timm Fitschen requested to merge release-0.2.0 into main
3 files
+ 27
24
Compare changes
  • Side-by-side
  • Inline

Files

@@ -111,18 +111,18 @@ public:
*/
[[nodiscard]] auto ListRoles() const -> std::vector<Role>;
[[nodiscard]] auto RetrieveSingleRole(std::string name) const -> Role;
[[nodiscard]] auto RetrieveSingleRole(const std::string &name) const -> Role;
auto CreateSingleRole(const Role &role) const -> void;
auto DeleteSingleRole(std::string name) const -> void;
auto DeleteSingleRole(const std::string &name) const -> void;
/**
* Retrieve a single user.
*/
// TODO(tf) find a way to deal with this:
// NOLINTNEXTLINE(bugprone-easily-swappable-parameters)
[[nodiscard]] auto RetrieveSingleUser(std::string realm, std::string name) const -> User;
[[nodiscard]] auto RetrieveSingleUser(const std::string &realm, const std::string &name) const -> User;
/**
* Create a new user.
@@ -134,7 +134,7 @@ public:
*/
// TODO(tf) find a way to deal with this:
// NOLINTNEXTLINE(bugprone-easily-swappable-parameters)
auto DeleteSingleUser(std::string realm, std::string name) const -> void;
auto DeleteSingleUser(const std::string &realm, const std::string &name) const -> void;
#endif
private:
Loading