RMS SDK for C++  0.2.1
A client library for using Microsoft RMS from Linux.
UserAssertion.h
1 /*
2  * ======================================================================
3  * Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
4  * Licensed under the MIT License.
5  * See LICENSE.md in the project root for license information.
6  * ======================================================================
7 */
8 
9 #ifndef USERASSERTION
10 #define USERASSERTION
11 
12 #include "types.h"
13 
14 namespace rmsauth {
15 
16 class UserAssertion final
17 {
18  String assertion_;
19  String assertionType_;
20  String userName_;
21 
22 public:
23  UserAssertion(const String& assertion);
24  UserAssertion(const String& assertion, const String& assertionType);
25  UserAssertion(const String& assertion, const String& assertionType, const String& userName);
26 
27  const String& assertion() const { return assertion_; }
28  const String& assertionType() const { return assertionType_; }
29  const String& userName() const { return userName_; }
30 };
31 
32 using UserAssertionPtr = ptr<UserAssertion>;
33 
34 } // namespace rmsauth {
35 
36 #endif // USERASSERTION
37 
Definition: AcquireTokenForClientHandler.h:14
Definition: UserAssertion.h:16