OpenAB  1.0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
OpenAB::HttpAuthorizer Class Referenceabstract

HttpAuthorizer interface. This should be used by classes implementing different Http authorization methods. More...

#include <Http.hpp>

Inheritance diagram for OpenAB::HttpAuthorizer:

Public Member Functions

virtual ~HttpAuthorizer ()
 Destructor, virtual by default. More...
 
virtual bool authorizeMessage (HttpMessage *msg)=0
 Authorizes message. More...
 

Detailed Description

HttpAuthorizer interface. This should be used by classes implementing different Http authorization methods.

Constructor & Destructor Documentation

virtual OpenAB::HttpAuthorizer::~HttpAuthorizer ( )
inlinevirtual

Destructor, virtual by default.

Member Function Documentation

virtual bool OpenAB::HttpAuthorizer::authorizeMessage ( HttpMessage msg)
pure virtual

Authorizes message.

Parameters
msgmessage to be authorized.
Returns
true if message was authorized successfully, false otherwise.

Implemented in OpenAB::OAuth2HttpAuthorizer, and OpenAB::BasicHttpAuthorizer.


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