28 references to Token
System (2)
net\System\Net\WebSockets\HttpListenerWebSocketContext.cs (1)
150retVal = new WindowsPrincipal(HttpListener.CreateWindowsIdentity(windowsIdentity.Token,
sys\System\EnvironmentHelpers.cs (1)
41if (!UnsafeNativeMethods.GetTokenInformation(wi.Token, UnsafeNativeMethods.TokenIsAppContainer, new IntPtr(dwIsAppContainerPtr), sizeof(int), out dwLength)) {
System.Data (1)
fx\src\data\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (1)
87return identity.Token;
System.IdentityModel (11)
System\IdentityModel\Claims\WindowsClaimSet.cs (4)
151if (this.windowsIdentity.Token == IntPtr.Zero) 276if (windowsIdentity.Token != IntPtr.Zero) 282safeAllocHandle = GetTokenInformation(windowsIdentity.Token, TokenInformationClass.TokenGroups, out dwLength); 357safeAllocHandle = GetTokenInformation(windowsIdentity.Token, TokenInformationClass.TokenUser, out dwLength);
System\IdentityModel\SecurityUtils.cs (1)
682return wid.Token;
System\IdentityModel\Selectors\X509SecurityTokenAuthenticator.cs (1)
112windowsIdentity = new WindowsIdentity(initialWindowsIdentity.Token, SecurityUtils.AuthTypeCertMap);
System\IdentityModel\Tokens\KerberosSecurityTokenHandler.cs (1)
95WindowsIdentity wi = new WindowsIdentity(kerbToken.WindowsIdentity.Token, kerbToken.WindowsIdentity.AuthenticationType);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
423return new WindowsIdentity(wi.Token, AuthenticationTypes.Federation, WindowsAccountType.Normal, true);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
1070return new WindowsIdentity(wi.Token, AuthenticationTypes.Federation, WindowsAccountType.Normal, true);
System\IdentityModel\Tokens\SessionSecurityToken.cs (1)
941identity = new WindowsIdentity(winId.Token, authenticationType);
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (1)
556windowsIdentity = new WindowsIdentity(x509WindowsSecurityToken.WindowsIdentity.Token, x509WindowsSecurityToken.AuthenticationType);
System.ServiceModel (9)
System\ServiceModel\ComIntegration\ComPlusAuthorization.cs (5)
303SafeCloseHandle clientIdentityToken = new SafeCloseHandle(clientIdentity.Token, false); 377if (IntPtr.Zero == clientIdentity.Token) 390LUID luidModified = SecurityUtils.GetModifiedIDLUID(new SafeCloseHandle(clientIdentity.Token, false)); 433if (IntPtr.Zero == clientIdentity.Token) 542impersonateContext = WindowsIdentity.Impersonate(clientIdentity.Token);
System\ServiceModel\ComIntegration\ComPlusInstanceProvider.cs (1)
62if (SecurityUtils.IsAtleastImpersonationToken(new SafeCloseHandle(callerIdentity.Token, false)))
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (2)
235WindowsIdentity claimsIdentity = new WindowsIdentity( windowsSecurityToken.WindowsIdentity.Token, 524claimsIdentity = MergeClaims(claimsIdentity, new WindowsIdentity(windowsClaimSet.WindowsIdentity.Token,
System\ServiceModel\Security\SecurityUtils.cs (1)
486return wid.Token;
System.Web (5)
Hosting\IIS7WorkerRequest.cs (1)
1929token = wi.Token;
Management\WebEvents.cs (1)
1961_iprincipal = new WindowsPrincipal(new WindowsIdentity(winIdentity.Token, winIdentity.AuthenticationType));
Security\AuthStoreRoleProvider.cs (2)
653return ((WindowsIdentity)context.User.Identity).Token; 660return ((WindowsIdentity)user.Identity).Token;
Security\WindowsTokenRoleProvider.cs (1)
181return GetCurrentWindowsIdentityAndCheckName(userName).Token;