10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::test::mocks::OAuthDeviceFlowMock Class Reference
Inheritance diagram for tenduke::test::mocks::OAuthDeviceFlowMock:
tenduke::oauth::device::OAuthDeviceFlow tenduke::oauth::OAuthClient

Public Member Functions

 MOCK_METHOD ((std::unique_ptr< const tenduke::oauth::OAuthRefreshRequest >), refresh,(std::shared_ptr< tenduke::oauth::OAuthState >),(const, override))
 
 MOCK_METHOD ((std::unique_ptr< tenduke::oauth::device::OAuthDeviceFlowAuthorizationRequest >), authorize,(const std::string &scopes,(const std::map< std::string, std::string > &a)),(const, override))
 
- Public Member Functions inherited from tenduke::oauth::device::OAuthDeviceFlow
virtual std::unique_ptr< tenduke::oauth::device::OAuthDeviceFlowAuthorizationRequestauthorize (const std::string &scope, const std::map< std::string, std::string > &additionalParameters) const =0
 Starts authorization.
 
- Public Member Functions inherited from tenduke::oauth::OAuthClient
virtual std::unique_ptr< const tenduke::oauth::OAuthRefreshRequestrefresh (std::shared_ptr< tenduke::oauth::OAuthState > state) const =0
 Creates OAuthRefreshRequest for refreshing the state.
 

Static Public Member Functions

static std::shared_ptr< OAuthDeviceFlowMockcreateShared ()
 

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