Granada  1.54.0
Structured layer on top of C++ REST SDK for building server applications in C++. Granada implements sessions, server side plug-in framework, C++ OAuth 2.0 server, data storage access, server script running, server browsing.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | List of all members
granada::http::controller::OAuth2Controller Class Reference

#include <oauth2_controller.h>

Inheritance diagram for granada::http::controller::OAuth2Controller:

Public Member Functions

 OAuth2Controller (utility::string_t url, std::shared_ptr< granada::http::session::SessionFactory > &session_factory, std::shared_ptr< granada::http::oauth2::OAuth2Factory > &oauth2_factory)
virtual ~OAuth2Controller ()
- Public Member Functions inherited from granada::http::controller::Controller
virtual ~Controller ()
virtual pplx::task< void > open ()
virtual pplx::task< void > close ()

Additional Inherited Members

- Protected Attributes inherited from granada::http::controller::Controller
< web::http::experimental::listener::http_listener > 

Constructor & Destructor Documentation

granada::http::controller::OAuth2Controller::OAuth2Controller ( utility::string_t  url,
std::shared_ptr< granada::http::session::SessionFactory > &  session_factory,
std::shared_ptr< granada::http::oauth2::OAuth2Factory > &  oauth2_factory 


urlAdress of the controller.
session_factoryAllows to have a unique point for checking and setting sessions. Can be used to create a new session if it does not exist.
oauth2_factoryUsed to instanciate OAuth 2.0 clients, users and codes.
virtual granada::http::controller::OAuth2Controller::~OAuth2Controller ( )


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