10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::oidc::osbrowser::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 tenduke::oidc::osbrowser::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
 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
-

◆ handle()

void tenduke::oidc::osbrowser::RedirectUriHandler::handle ( http::server::HTTPRequest  request,
http::server::HTTPResponse  response 
)
overridevirtual

Handles the request.

Parameters
request-
response-

Implements tenduke::http::server::HTTPRequestHandler.


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