1 write to WSTrustTokenParameters
System.ServiceModel.Federation (1)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (1)
59
WSTrustTokenParameters
= issuedSecurityTokenParameters as WSTrustTokenParameters;
21 references to WSTrustTokenParameters
System.ServiceModel.Federation (21)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (21)
50
/// <param name="tokenRequirement">the <see cref="SecurityTokenRequirement"/> that must contain a <see cref="
WSTrustTokenParameters
"/> as the <see cref="IssuedSecurityTokenParameters"/> property.</param>
52
/// <exception cref="ArgumentException">thrown if <see cref="SecurityTokenRequirement.GetProperty{TValue}(string)"/> (IssuedSecurityTokenParameters) is not a <see cref="
WSTrustTokenParameters
"/>.</exception>
60
if (
WSTrustTokenParameters
== null)
94
if (
WSTrustTokenParameters
.CacheIssuedTokens)
115
/// Creates a <see cref="WsTrustRequest"/> from the <see cref="
WSTrustTokenParameters
"/>.
125
switch (
WSTrustTokenParameters
.KeyType)
140
throw new NotSupportedException(SR.Format(SR.KeyTypeNotSupported,
WSTrustTokenParameters
.KeyType));
144
if (
WSTrustTokenParameters
.KeyType != SecurityKeyType.BearerKey &&
172
if (
WSTrustTokenParameters
.Claims != null)
175
foreach (ClaimType claimType in
WSTrustTokenParameters
.Claims.ClaimTypes)
185
trustRequest.Claims = new Claims(
WSTrustTokenParameters
.Claims.Dialect, claimTypes);
188
foreach (XmlElement parameter in
WSTrustTokenParameters
.AdditionalRequestParameters)
198
if (
WSTrustTokenParameters
.CacheIssuedTokens && CachedResponse != null)
334
get =>
WSTrustTokenParameters
?.IssuerBinding;
355
long effectiveInterval = (long)((
WSTrustTokenParameters
.IssuedTokenRenewalThresholdPercentage / (double)100) * interval);
356
DateTime effectiveExpiration = AddTicks(fromTime, Math.Min(effectiveInterval,
WSTrustTokenParameters
.MaxIssuedTokenCachingTime.Ticks));
409
MessageSecurityVersion messageSecurityVersion =
WSTrustTokenParameters
.MessageSecurityVersion;
411
messageSecurityVersion =
WSTrustTokenParameters
.DefaultMessageSecurityVersion;
461
RequestContext = string.IsNullOrEmpty(
WSTrustTokenParameters
.RequestContext) ? Guid.NewGuid().ToString() :
WSTrustTokenParameters
.RequestContext;
462
var channelFactory = new ChannelFactory<IRequestChannel>(IssuerBinding,
WSTrustTokenParameters
.IssuerAddress);