diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2015-06-25 02:14:18 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2015-06-25 02:14:18 +0200 |
| commit | 85adf26a787b33d69d07df0dc786516fed800e21 (patch) | |
| tree | 12de4b0cae3999f3da7bbf3d21c631eecf6bf4a3 /src/base64.hh | |
| parent | 0c55606145b6c5d9a303b19b3dba4996ec3ed3a9 (diff) | |
Add basic auth support
Diffstat (limited to 'src/base64.hh')
| -rw-r--r-- | src/base64.hh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/base64.hh b/src/base64.hh new file mode 100644 index 0000000..1790a7a --- /dev/null +++ b/src/base64.hh @@ -0,0 +1,21 @@ +#ifndef BASE64_HH +#define BASE64_HH + +#include <string> + +namespace stuff { + +class Base64 { +public: + static bool decode(const std::string& input, std::string* output); + +private: + Base64() = delete; + ~Base64() = delete; + Base64(Base64&) = delete; + Base64& operator=(Base64&) = delete; +}; + +} // namespace stuff + +#endif /* BASE64_HH */ |
