AXIAM C++ SDK 1.0.0-alpha8
Authentication, authorization, JWKS & route guards (REST + mTLS)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
axiam::webhook::Result Struct Reference

Outcome of verify(). Contextually convertible to bool; falsy means rejected. More...

#include <webhook.hpp>

Public Member Functions

 operator bool () const noexcept
 
const char * error_message () const noexcept
 

Public Attributes

bool ok = false
 
VerifyError error = VerifyError::kNone
 
Event event
 

Detailed Description

Outcome of verify(). Contextually convertible to bool; falsy means rejected.

Member Function Documentation

◆ operator bool()

axiam::webhook::Result::operator bool ( ) const
inlineexplicitnoexcept

◆ error_message()

const char * axiam::webhook::Result::error_message ( ) const
inlinenoexcept

Member Data Documentation

◆ ok

bool axiam::webhook::Result::ok = false

◆ error

VerifyError axiam::webhook::Result::error = VerifyError::kNone

◆ event

Event axiam::webhook::Result::event

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