Skip to content

Commit ec4b692

Browse files
Extend the deprecation period for some classes (#799)
Extend the deprecation period for TokenEndpoint and TokenRequest. Fix some of the cpplint warnings. Relates-To: OLPEDGE-1855 Signed-off-by: Mykhailo Kuchma <ext-mykhailo.kuchma@here.com>
1 parent 50a981b commit ec4b692

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

olp-cpp-sdk-authentication/include/olp/authentication/TokenEndpoint.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class AutoRefreshingToken;
4141
* @brief Corresponds to the token endpoint as specified in the OAuth2.0
4242
* specification.
4343
*/
44-
class AUTHENTICATION_API OLP_SDK_DEPRECATED("Will be removed in 04.2020")
44+
class AUTHENTICATION_API OLP_SDK_DEPRECATED("Will be removed in 10.2020")
4545
TokenEndpoint {
4646
public:
4747
// Needed to avoid endless warnings from TokenRequest/TokenResult

olp-cpp-sdk-authentication/include/olp/authentication/TokenProvider.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <chrono>
2323
#include <memory>
2424
#include <string>
25+
#include <utility>
2526

2627
#include <olp/authentication/AuthenticationCredentials.h>
2728
#include <olp/authentication/AutoRefreshingToken.h>
@@ -47,7 +48,7 @@ PORTING_CLANG_GCC_DISABLE_WARNING("-Wdeprecated-declarations")
4748
*
4849
* @see `TokenProviderDefault`
4950
*/
50-
template <long long MinimumValidity>
51+
template <uint64_t MinimumValidity>
5152
class TokenProvider {
5253
public:
5354
/**

olp-cpp-sdk-authentication/include/olp/authentication/TokenRequest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace authentication {
3131
* @brief Holds the parameters of the OAuth2.0 Authorization
3232
* Grant request.
3333
*/
34-
class AUTHENTICATION_API OLP_SDK_DEPRECATED("Will be removed in 04.2020")
34+
class AUTHENTICATION_API OLP_SDK_DEPRECATED("Will be removed in 10.2020")
3535
TokenRequest {
3636
public:
3737
/**

0 commit comments

Comments
 (0)