Kurlyk
Loading...
Searching...
No Matches
kurlyk::AuthResult Struct Reference

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.

Detailed Description

Encapsulates the outcome of an authentication operation.

Definition at line 31 of file AuthResult.hpp.

Member Data Documentation

◆ error

AuthError kurlyk::AuthResult::error = AuthError::None

Error classification.

Definition at line 33 of file AuthResult.hpp.

◆ error_message

std::string kurlyk::AuthResult::error_message

Human-readable error description (if any).

Definition at line 34 of file AuthResult.hpp.

◆ raw_response

std::string kurlyk::AuthResult::raw_response

Raw server response body for diagnostics.

Definition at line 36 of file AuthResult.hpp.

◆ success

bool kurlyk::AuthResult::success = false

Whether the operation succeeded.

Definition at line 32 of file AuthResult.hpp.

◆ token

OAuthToken kurlyk::AuthResult::token

Token data on success (may be partially filled on failure).

Definition at line 35 of file AuthResult.hpp.


The documentation for this struct was generated from the following file: