olp-cpp-sdk 1.24.0
Loading...
Searching...
No Matches
SignOutResult.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
25#include "AuthenticationApi.h"
26#include "ErrorResponse.h"
27
28namespace olp {
29namespace authentication {
30class SignOutResultImpl;
31
40class AUTHENTICATION_API SignOutResult {
41 public:
45 virtual ~SignOutResult();
46
50 SignOutResult() noexcept;
51
59 int GetStatus() const;
60
66 const ErrorResponse& GetErrorResponse() const;
67
73 const ErrorFields& GetErrorFields() const;
74
75 private:
76 friend class AuthenticationClientImpl;
77
78 SignOutResult(std::shared_ptr<SignOutResultImpl> impl);
79
80 private:
81 std::shared_ptr<SignOutResultImpl> impl_;
82};
83} // namespace authentication
84} // namespace olp
A response to your sign-out operation.
Definition SignOutResult.h:40
virtual ~SignOutResult()
A default destructor.
SignOutResult() noexcept
A default constructor.
std::list< ErrorField > ErrorFields
The list of the ErrorField objects.
Definition ErrorResponse.h:72
Rules all the other namespaces.
Definition AppleSignInProperties.h:24
Detailed descriptions of errors returned as a response to an authentication operation.
Definition ErrorResponse.h:36