Advertisement
zoltanb

Untitled

May 8th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. enum class RequestMethod {
  2.   AUTHENTICATE,
  3.   INFO
  4. };
  5.  
  6. class AuthenticationRequest {
  7.  public:
  8.   void SetSecretHolder(SecretHolder*);
  9.   SecretHolder* GetSecretHolder();
  10.   RequestMethod GetRequestMethod();
  11.   void SetRequestMethod(std::string);
  12.  
  13.  private:
  14.   SecretHolder* secret_holder_;
  15.   RequestMethod request_method_;
  16. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement