2 writes to Token
System.IdentityModel (2)
System\IdentityModel\SecurityTokenService.cs (2)
762_tokenDescriptor.Token = securityTokenHandler.CreateToken(_tokenDescriptor); 958_tokenDescriptor.Token = securityTokenHandler.CreateToken(_tokenDescriptor);
8 references to Token
System.IdentityModel (8)
System\IdentityModel\SecurityTokenService.cs (4)
763_tokenDescriptor.AttachedReference = securityTokenHandler.CreateSecurityTokenReference(_tokenDescriptor.Token, true); 764_tokenDescriptor.UnattachedReference = securityTokenHandler.CreateSecurityTokenReference(_tokenDescriptor.Token, false); 959_tokenDescriptor.AttachedReference = securityTokenHandler.CreateSecurityTokenReference(_tokenDescriptor.Token, true); 960_tokenDescriptor.UnattachedReference = securityTokenHandler.CreateSecurityTokenReference(_tokenDescriptor.Token, false);
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (4)
253if (!bootstrapTokenCollection.CanWriteToken(tokenDescriptor.Token)) 255throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID4010, tokenDescriptor.Token.GetType().ToString()))); 258(principal.Identities as ReadOnlyCollection<ClaimsIdentity>)[0].BootstrapContext = new BootstrapContext(tokenDescriptor.Token, bootstrapTokenCollection[tokenDescriptor.Token.GetType()]);