58 references to AuthenticationType
WindowsBase (58)
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (12)
368
if (user.AuthenticationType !=
AuthenticationType
.Windows &&
369
user.AuthenticationType !=
AuthenticationType
.Passport)
773
AuthenticationType
authenticationType;
1131
out
AuthenticationType
authenticationType,
1141
authenticationType =
AuthenticationType
.Windows;
1158
Enum.GetName(typeof(
AuthenticationType
),
AuthenticationType
.Windows)))
1160
authenticationType =
AuthenticationType
.Windows;
1165
Enum.GetName(typeof(
AuthenticationType
),
AuthenticationType
.Passport)))
1167
authenticationType =
AuthenticationType
.Passport;
1259
AuthenticationType
authenticationType;
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (14)
178
internal static ClientSession DefaultUserClientSession(
AuthenticationType
authentication)
190
internal void ActivateMachine(
AuthenticationType
authentication)
236
AuthenticationType
authentication, UserActivationMode userActivationMode)
243
if (_user.AuthenticationType ==
AuthenticationType
.Windows)
904
private Uri GetCertificationUrl(
AuthenticationType
authentication)
906
Debug.Assert((authentication ==
AuthenticationType
.Windows) ||
907
(authentication ==
AuthenticationType
.Passport));
913
if (authentication ==
AuthenticationType
.Windows)
978
private Uri GetClientLicensorUrl(
AuthenticationType
authentication)
980
Debug.Assert((authentication ==
AuthenticationType
.Windows) ||
981
(authentication ==
AuthenticationType
.Passport));
1361
AuthenticationType
.Windows.ToString().ToUpper(CultureInfo.InvariantCulture),
1364
return new ContentUser(name,
AuthenticationType
.Windows);
1368
return new ContentUser(name,
AuthenticationType
.Passport);
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (7)
617
if (String.CompareOrdinal(userIdTypeStr,
AuthenticationType
.Windows.ToString().ToUpperInvariant()) == 0)
619
return new ContentUser(userNameStr,
AuthenticationType
.Windows);
621
else if (String.CompareOrdinal(userIdTypeStr,
AuthenticationType
.Passport.ToString().ToUpperInvariant()) == 0)
623
return new ContentUser(userNameStr,
AuthenticationType
.Passport);
625
else if (String.CompareOrdinal(userIdTypeStr,
AuthenticationType
.Internal.ToString().ToUpperInvariant()) == 0)
639
return new ContentUser(userNameStr,
AuthenticationType
.WindowsPassport);
1056
if (user.AuthenticationType ==
AuthenticationType
.WindowsPassport)
Base\System\Security\RightsManagement\SecureEnvironment.cs (11)
80
AuthenticationType
authentication,
104
if ((user.AuthenticationType !=
AuthenticationType
.Windows) &&
105
(user.AuthenticationType !=
AuthenticationType
.Passport))
130
if ((user.AuthenticationType !=
AuthenticationType
.Windows) &&
131
(user.AuthenticationType !=
AuthenticationType
.Passport))
174
ClientSession.DefaultUserClientSession(
AuthenticationType
.Windows))
295
if ((user.AuthenticationType !=
AuthenticationType
.Windows) &&
296
(user.AuthenticationType !=
AuthenticationType
.Passport))
323
AuthenticationType
authentication,
331
if ((authentication !=
AuthenticationType
.Windows) &&
332
(authentication !=
AuthenticationType
.Passport))
Base\System\Security\RightsManagement\User.cs (14)
53
public ContentUser(string name,
AuthenticationType
authenticationType)
67
if ((authenticationType !=
AuthenticationType
.Windows) &&
68
(authenticationType !=
AuthenticationType
.Passport) &&
69
(authenticationType !=
AuthenticationType
.WindowsPassport) &&
70
(authenticationType !=
AuthenticationType
.Internal))
76
if (authenticationType ==
AuthenticationType
.Internal)
92
public
AuthenticationType
AuthenticationType
128
if ((_authenticationType !=
AuthenticationType
.Windows) &&
129
(_authenticationType !=
AuthenticationType
.Passport))
176
_anyoneUser = new ContentUser(AnyoneUserName,
AuthenticationType
.Internal);
196
_ownerUser = new ContentUser(OwnerUserName,
AuthenticationType
.Internal);
228
if (_authenticationType ==
AuthenticationType
.Windows)
232
else if (_authenticationType ==
AuthenticationType
.Passport)
326
private
AuthenticationType
_authenticationType;