10Duke Enterprise 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
8
namespace
tenduke
{
namespace
test {
namespace
mocks {
9
10
class
OIDCLoginRequestMock
:
public
tenduke::oidc::OIDCLoginRequest
11
{
12
public
:
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
tenduke::oidc::OIDCLoginRequest
Login-request initiated by OIDCLogin-service.
Definition
OIDCLoginRequest.h:15
tenduke::oidc::OIDCLoginRequest::execute
virtual std::unique_ptr< tenduke::oidc::OIDCState > execute()=0
Performs the login.
tenduke::oidc::OIDCLoginRequest::abort
virtual void abort()=0
Aborts the login.
tenduke::test::mocks::OIDCLoginRequestMock
Definition
OIDCLoginRequestMock.h:11
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
oidc
core
test_utils
src
mocks
OIDCLoginRequestMock.h
Generated by
1.9.8