9 #ifndef USERIDENTIFIER_H
10 #define USERIDENTIFIER_H
13 #include "Exceptions.h"
17 enum class UserIdentifierType
20 OptionalDisplayableId,
25 using UserIdentifierPtr = ptr<UserIdentifier>;
29 UserIdentifierType type_;
32 static UserIdentifierPtr anyUserSingleton();
37 UserIdentifierType type()
const {
return type_; }
39 const String& id()
const {
return id_; }
41 static UserIdentifierPtr anyUser();
43 bool isAnyUser()
const;
45 const String uniqueId()
const;
47 const String displayableId()
const;
52 #endif // USERIDENTIFIER_H
Definition: UserIdentifier.h:27
Definition: AcquireTokenForClientHandler.h:14