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)
253
if (!bootstrapTokenCollection.CanWriteToken(tokenDescriptor.
Token
))
255
throw 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()]);