10Duke Scale C++ Client
Loading...
Searching...
No Matches
OIDCLoginRequestMock.h
1#ifndef TENDUKE_TEST_MOCKS_OIDCLOGINREQUESTMOCK_H
2#define TENDUKE_TEST_MOCKS_OIDCLOGINREQUESTMOCK_H
3
4#include "oidc/session/OIDCLoginRequest.h"
5
6#include "gmock/gmock.h"
7
8namespace tenduke { namespace test { namespace mocks {
9
11{
12public:
13 MOCK_METHOD((std::unique_ptr<tenduke::oidc::OIDCState>), execute, (), (override));
14 MOCK_METHOD(void, abort, (), (override));
15};
16}}}
17
18
19
20#endif //TENDUKE_TEST_MOCKS_OIDCLOGINREQUESTMOCK_H
Login-request initiated by OIDCLogin-service.
Definition OIDCLoginRequest.h:15
virtual std::unique_ptr< tenduke::oidc::OIDCState > execute()=0
Performs the login.
virtual void abort()=0
Aborts the login.
Definition OIDCLoginRequestMock.h:11
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7