1#ifndef TENDUKE_TEST_MOCKS_OIDCCLIENTFACTORYMOCK_H
2#define TENDUKE_TEST_MOCKS_OIDCCLIENTFACTORYMOCK_H
4#include "oidc/OIDCClientFactory.h"
6#include "gmock/gmock.h"
8namespace tenduke {
namespace test {
namespace mocks {
13 MOCK_METHOD((std::unique_ptr<tenduke::oidc::OIDCBrowserFlow>),
create, ((std::shared_ptr<const tenduke::oauth::OAuthConfiguration> oauthConfiguration), (std::shared_ptr<const tenduke::oidc::OIDCConfiguration> oidcConfiguration)), (
const,
override));
16 static std::shared_ptr<OIDCClientFactoryMock> createShared()
18 return std::make_shared<OIDCClientFactoryMock>();
Container for OAuth-backend configuration.
Definition OAuthBackendConfiguration.h:17
Container for OAuth-client-configuration.
Definition OAuthClientConfiguration.h:17
Factory for creating tenduke::oidc::OIDCClient.
Definition OIDCClientFactory.h:17
virtual std::unique_ptr< tenduke::oidc::OIDCBrowserFlow > create(std::shared_ptr< const tenduke::oauth::OAuthConfiguration > oauthConfiguration, std::shared_ptr< const tenduke::oidc::OIDCConfiguration > oidcConfiguration) const =0
Creates new tenduke::oidc::OIDCClient for browser-based flow.
Definition OIDCClientFactoryMock.h:11
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4