proxygen
proxygen::SecondaryAuthManagerBase Class Referenceabstract

#include <SecondaryAuthManagerBase.h>

Inheritance diagram for proxygen::SecondaryAuthManagerBase:
proxygen::SecondaryAuthManager proxygen::MockSecondaryAuthManager

Public Member Functions

virtual ~SecondaryAuthManagerBase ()=default
 
virtual std::pair< uint16_t, std::unique_ptr< folly::IOBuf > > createAuthRequest (std::unique_ptr< folly::IOBuf > certRequestContext, std::vector< fizz::Extension > extensions)=0
 
virtual std::pair< uint16_t, std::unique_ptr< folly::IOBuf > > getAuthenticator (const fizz::AsyncFizzBase &transport, TransportDirection dir, uint16_t requestId, std::unique_ptr< folly::IOBuf > authRequest)=0
 
virtual bool validateAuthenticator (const fizz::AsyncFizzBase &transport, TransportDirection dir, uint16_t certId, std::unique_ptr< folly::IOBuf > authenticator)=0
 

Detailed Description

Definition at line 18 of file SecondaryAuthManagerBase.h.

Constructor & Destructor Documentation

virtual proxygen::SecondaryAuthManagerBase::~SecondaryAuthManagerBase ( )
virtualdefault

Member Function Documentation

virtual std::pair<uint16_t, std::unique_ptr<folly::IOBuf> > proxygen::SecondaryAuthManagerBase::createAuthRequest ( std::unique_ptr< folly::IOBuf certRequestContext,
std::vector< fizz::Extension extensions 
)
pure virtual

Generate an authenticator request given a certificate_request_context and a set of extensions.

Returns
(request ID, encoded authenticator request)

Implemented in proxygen::SecondaryAuthManager, and proxygen::MockSecondaryAuthManager.

virtual std::pair<uint16_t, std::unique_ptr<folly::IOBuf> > proxygen::SecondaryAuthManagerBase::getAuthenticator ( const fizz::AsyncFizzBase transport,
TransportDirection  dir,
uint16_t  requestId,
std::unique_ptr< folly::IOBuf authRequest 
)
pure virtual

Generate an authenticator request given the Request-ID and authenticator request..

Returns
(cert ID, encoded authenticator)

Implemented in proxygen::MockSecondaryAuthManager, and proxygen::SecondaryAuthManager.

virtual bool proxygen::SecondaryAuthManagerBase::validateAuthenticator ( const fizz::AsyncFizzBase transport,
TransportDirection  dir,
uint16_t  certId,
std::unique_ptr< folly::IOBuf authenticator 
)
pure virtual

Validate an authenticator and cache the received certificate along with the Cert-ID if it is valid.

Implemented in proxygen::MockSecondaryAuthManager, and proxygen::SecondaryAuthManager.


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