jwt_exception

Module: Exceptions

Describes the JSON web token exceptions indicating that the authentication web token is not correct.

#include <exception.h>

Inherits from dolbyio::comms::exception, exception

Public Functions

Name
jwt_exception(const std::string & jwt_body)
The constructor that takes the body of the token.

Additional inherited members

Public Functions inherited from dolbyio::comms::exception

Name
~exception() =default
const char *what() const override
Overrides to std::exception that returns a description of the exception.
exception(const std::string & description)
The constructor that takes the description of the exception.

Protected Attributes inherited from dolbyio::comms::exception

Name
std::stringfulldescription
class dolbyio::comms::jwt_exception;

Public Functions Documentation

function jwt_exception

inline jwt_exception(
    const std::string & jwt_body
)

The constructor that takes the body of the token.

Parameters:

  • jwt_body The body of the web token.


Did this page help you?