10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
RedirectUriHandler Class Reference

#include <RedirectUriHandler.h>

Detailed Description

A HTTPRequestHandler, which listens to OAuth2 server redirect URI and signals of the completion of the login.

Inheritance diagram for RedirectUriHandler:
tenduke::http::server::HTTPRequestHandler

Public Member Functions

 RedirectUriHandler (std::string responseMessage)
 Constructs new instance.
 
void abort ()
 Aborts.
 
std::future< std::string > getResult ()
 Returns the result.
 
void handle (http::server::HTTPRequest request, http::server::HTTPResponse response) override
 
- Public Member Functions inherited from tenduke::http::server::HTTPRequestHandler
virtual void handle (tenduke::http::server::HTTPRequest request, tenduke::http::server::HTTPResponse response)=0
 Handles the request.
 

Constructor & Destructor Documentation

◆ RedirectUriHandler()

tenduke::oidc::osbrowser::RedirectUriHandler::RedirectUriHandler ( std::string responseMessage)
inlineexplicit

Constructs new instance.

Parameters
responseMessage-

Member Function Documentation

◆ getResult()

std::future< std::string > tenduke::oidc::osbrowser::RedirectUriHandler::getResult ( )

Returns the result.

Returns
-

The documentation for this class was generated from the following files: