EMA C++ Edition
OAuth2CredentialRenewal.h
Go to the documentation of this file.
1/*|-----------------------------------------------------------------------------
2 *| This source code is provided under the Apache 2.0 license
3 *| and is provided AS IS with no warranty or guarantee of fit for purpose.
4 *| See the project's LICENSE.md for details.
5 *| Copyright (C) 2022 LSEG. All rights reserved. --
6 *|-----------------------------------------------------------------------------
7 */
8
9#ifndef __refinitiv_ema_access_OAuth2CredentialRenewal_h
10#define __refinitiv_ema_access_OAuth2CredentialRenewal_h
11
20
21
22namespace refinitiv {
23
24namespace ema {
25
26namespace access {
27
28class EmaString;
29class OAuth2CredentialRenewal;
30
31
33{
34public :
35
37
38
42
44
45
49
51
52
58
65
73
82
89
96
97
104
111
117 OAuth2CredentialRenewal& takeExclusiveSignOnControl( bool takeExclusiveSignOnControl );
119
121
122
127
133
141
147
153
159
165
171
173
174private :
175
178
179 EmaString _userName;
181 EmaString _password;
182 EmaString _newPassword;
184 EmaString _clientId;
185 EmaString _clientSecret;
186 EmaString _clientJWK;
187 EmaString _tokenScope;
188 bool _takeExclusiveSignOnControl;
190};
191
192}
193
194}
195
196}
197
198#endif // __refinitiv_ema_access_OmmConsumerClient_h
Common.h file provides definitions of common variable types used in EMA.
#define EMA_ACCESS_API
Definition: Common.h:95
*|--------------------------------------------------------------------------—
Definition: AckMsg.h:62
The access namespace contains all interfaces and definitions specified for use with the EMA Access pa...
The ema namespace contains all interfaces and definitions specified for use with EMA.
EmaString class is a container of a null terminated Ascii character string.
Definition: EmaString.h:57
OAuth2CredentialRenewal class is used with OmmConsumer::SubmitOAuthCredentialRenewal to supply EMA wi...
OAuth2CredentialRenewal & newPassword(EmaString &newPassword)
OAuth2CredentialRenewal & clientId(EmaString &clientId)
OAuth2CredentialRenewal & userName(EmaString &userName)
OAuth2CredentialRenewal & takeExclusiveSignOnControl(bool takeExclusiveSignOnControl)
OAuth2CredentialRenewal & clientJWK(EmaString &clientJWK)
OAuth2CredentialRenewal & password(EmaString &password)
OAuth2CredentialRenewal & tokenScope(EmaString &tokenScope)
OAuth2CredentialRenewal & clientSecret(EmaString &clientSecret)