Advertisement
zoltanb

Untitled

May 8th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.43 KB | None | 0 0
  1. class AuthenticationApi {
  2.  public:
  3.   static AuthenticationApi* GetInstance();
  4.   AuthenticationResponse& Authenticate(AuthenticationRequest&);
  5.   const std::string Info();
  6.  
  7.  private:
  8.   AuthenticationApi();
  9.   virtual ~AuthenticationApi();
  10.   static AuthenticationApi* instance_;
  11.   AuthenticationResponse& GenerateSuccessfullResult(AuthenticationRequest&);
  12.   AuthenticationResponse& GenerateFailureResult(AuthenticationRequest&);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement