10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::test::mocks::OIDCBrowserFlowMock Class Reference
Inheritance diagram for tenduke::test::mocks::OIDCBrowserFlowMock:
tenduke::oidc::OIDCBrowserFlow tenduke::oidc::OIDCClient

Public Member Functions

 MOCK_METHOD ((std::unique_ptr< const tenduke::oidc::OIDCRefreshRequest >), refresh,(const std::shared_ptr< tenduke::oidc::OIDCState > &state),(const, override))
 
 MOCK_METHOD (std::string, requestUserinfo,(const std::string &accessToken),(const, override))
 
 MOCK_METHOD ((std::unique_ptr< const tenduke::oidc::OIDCBrowserFlowAuthenticationRequest >), authenticate,(const std::string &scopes),(const, override))
 
 MOCK_METHOD ((std::unique_ptr< const tenduke::oidc::OIDCBrowserFlowAuthenticationRequest >), authenticate,(const std::string &scopes,(const std::map< std::string, std::string > &params)),(const, override))
 
- Public Member Functions inherited from tenduke::oidc::OIDCBrowserFlow
virtual std::unique_ptr< const tenduke::oidc::OIDCBrowserFlowAuthenticationRequestauthenticate (const std::string &scopes) const =0
 Creates OIDCRequest which performs the OIDC-authentication.
 
virtual std::unique_ptr< const tenduke::oidc::OIDCBrowserFlowAuthenticationRequestauthenticate (const std::string &scopes, const std::map< std::string, std::string > &additionalParameters) const =0
 Creates OIDCRequest which performs the OIDC-authentication.
 
- Public Member Functions inherited from tenduke::oidc::OIDCClient
virtual std::unique_ptr< const tenduke::oidc::OIDCRefreshRequestrefresh (const std::shared_ptr< tenduke::oidc::OIDCState > &state) const =0
 Refreshes the OIDC state.
 
virtual std::string requestUserinfo (const std::string &accessToken) const =0
 Requests user information from "userinfo"-endpoint.
 

Static Public Member Functions

static std::shared_ptr< OIDCBrowserFlowMockcreateShared ()
 

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