Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum AuthenticationStatus {
- OK,
- WARNING,
- ERROR
- };
- class AuthenticationResponse {
- public:
- AuthenticationResponse();
- AuthenticationResponse(std::vector<Message<std::string>>* messages, AuthenticationStatus status);
- virtual ~AuthenticationResponse();
- std::vector<Message<std::string>>* GetMessages();
- void SetMessages(std::vector<Message<std::string>>* messages);
- AuthenticationStatus GetStatus();
- void SetStatus(AuthenticationStatus status);
- private:
- std::vector<Message<std::string>>* messages_;
- AuthenticationStatus status_;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement