1#ifndef TENDUKE_TEST_MOCKS_OIDCLOGINMOCK_H
2#define TENDUKE_TEST_MOCKS_OIDCLOGINMOCK_H
4#include "oidc/session/OIDCLogin.h"
6#include "gmock/gmock.h"
8namespace tenduke {
namespace test {
namespace mocks {
13 MOCK_METHOD((std::unique_ptr<tenduke::oidc::OIDCLoginRequest>),
login, (), (
const,
override));
15 static std::shared_ptr<OIDCLoginMock> createShared()
17 return std::make_shared<OIDCLoginMock>();
High-level service to perform OIDC-login.
Definition OIDCLogin.h:13
virtual std::unique_ptr< tenduke::oidc::OIDCLoginRequest > login() const =0
Starts the login process by creating a login request.
Definition OIDCLoginMock.h:11
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4