![]() |
Kurlyk
|
Encapsulates the outcome of an authentication operation. More...
#include <AuthResult.hpp>
Public Attributes | |
| bool | success = false |
| Whether the operation succeeded. | |
| AuthError | error = AuthError::None |
| Error classification. | |
| std::string | error_message |
| Human-readable error description (if any). | |
| OAuthToken | token |
| Token data on success (may be partially filled on failure). | |
| std::string | raw_response |
| Raw server response body for diagnostics. | |
Encapsulates the outcome of an authentication operation.
Definition at line 31 of file AuthResult.hpp.
| AuthError kurlyk::AuthResult::error = AuthError::None |
Error classification.
Definition at line 33 of file AuthResult.hpp.
| std::string kurlyk::AuthResult::error_message |
Human-readable error description (if any).
Definition at line 34 of file AuthResult.hpp.
| std::string kurlyk::AuthResult::raw_response |
Raw server response body for diagnostics.
Definition at line 36 of file AuthResult.hpp.
| bool kurlyk::AuthResult::success = false |
Whether the operation succeeded.
Definition at line 32 of file AuthResult.hpp.
| OAuthToken kurlyk::AuthResult::token |
Token data on success (may be partially filled on failure).
Definition at line 35 of file AuthResult.hpp.