Struct AuthErrorResponse
Defined in File auth_models.hpp
Struct Documentation
-
struct AuthErrorResponse
Error response for OAuth2 errors.
Public Members
-
std::string error
Error code (e.g., “invalid_grant”)
-
std::string error_description
Human-readable description.
Public Static Functions
-
static inline AuthErrorResponse invalid_request(const std::string &description)
-
static inline AuthErrorResponse invalid_client(const std::string &description)
-
static inline AuthErrorResponse invalid_grant(const std::string &description)
-
static inline AuthErrorResponse unauthorized_client(const std::string &description)
-
static inline AuthErrorResponse unsupported_grant_type(const std::string &description)
-
static inline AuthErrorResponse invalid_scope(const std::string &description)
-
static inline AuthErrorResponse access_denied(const std::string &description)
-
static inline AuthErrorResponse invalid_token(const std::string &description)
-
static inline AuthErrorResponse insufficient_scope(const std::string &description)
-
std::string error