proxygen
|
#include <SecondaryAuthManagerBase.h>
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 |
Definition at line 18 of file SecondaryAuthManagerBase.h.
|
virtualdefault |
|
pure virtual |
Generate an authenticator request given a certificate_request_context and a set of extensions.
Implemented in proxygen::SecondaryAuthManager, and proxygen::MockSecondaryAuthManager.
|
pure virtual |
Generate an authenticator request given the Request-ID and authenticator request..
Implemented in proxygen::MockSecondaryAuthManager, and proxygen::SecondaryAuthManager.
|
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.