9 #ifndef AUTHORIZATIONRESULT_H
10 #define AUTHORIZATIONRESULT_H
16 enum class AuthorizationStatus
24 static const String& Tag() {
static const String tag=
"AuthorizationResult";
return tag;}
26 AuthorizationStatus status_;
29 String errorDescription_;
35 : status_(AuthorizationStatus::Success)
40 : status_(AuthorizationStatus::Failed)
42 , errorDescription_(errorDescription)
46 const AuthorizationStatus& status()
const {
return status_; }
47 const String& code()
const {
return code_; }
48 const String& error()
const {
return error_; }
49 const String& errorDescription()
const {
return errorDescription_; }
52 using AuthorizationResultPtr = ptr<AuthorizationResult>;
56 #endif // AUTHORIZATIONRESULT_H
Definition: AcquireTokenForClientHandler.h:14
Definition: AuthorizationResult.h:22