olp-cpp-sdk 1.24.0
Loading...
Searching...
No Matches
SignInUserResult.h
1/*
2 * Copyright (C) 2019-2021 HERE Europe B.V.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 * SPDX-License-Identifier: Apache-2.0
17 * License-Filename: LICENSE
18 */
19
20#pragma once
21
22#include <ctime>
23#include <memory>
24#include <string>
25
26#include "AuthenticationApi.h"
27#include "SignInResult.h"
28
29namespace olp {
30namespace authentication {
31class SignInUserResultImpl;
32
40class AUTHENTICATION_API SignInUserResult : public SignInResult {
41 public:
46
50 SignInUserResult() noexcept;
51
58 const std::string& GetTermAcceptanceToken() const;
59
67 const std::string& GetTermsOfServiceUrl() const;
68
77 const std::string& GetTermsOfServiceUrlJson() const;
78
86 const std::string& GetPrivatePolicyUrl() const;
87
95 const std::string& GetPrivatePolicyUrlJson() const;
96
97 private:
98 friend class AuthenticationClientImpl;
99
100 SignInUserResult(std::shared_ptr<SignInUserResultImpl> impl);
101
102 private:
103 std::shared_ptr<SignInUserResultImpl> impl_;
104};
105} // namespace authentication
106} // namespace olp
A response to a client or user sign-in operation.
Definition SignInResult.h:37
A response to your sign-in operation.
Definition SignInUserResult.h:40
~SignInUserResult() override
A default destructor.
SignInUserResult() noexcept
A default constructor.
Rules all the other namespaces.
Definition AppleSignInProperties.h:24