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