1 write to WSTrustTokenParameters
System.ServiceModel.Federation (1)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (1)
61
WSTrustTokenParameters
= issuedSecurityTokenParameters as WSTrustTokenParameters;
21 references to WSTrustTokenParameters
System.ServiceModel.Federation (21)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (21)
52
/// <param name="tokenRequirement">the <see cref="SecurityTokenRequirement"/> that must contain a <see cref="
WSTrustTokenParameters
"/> as the <see cref="IssuedSecurityTokenParameters"/> property.</param>
54
/// <exception cref="ArgumentException">thrown if <see cref="SecurityTokenRequirement.GetProperty{TValue}(string)"/> (IssuedSecurityTokenParameters) is not a <see cref="
WSTrustTokenParameters
"/>.</exception>
62
if (
WSTrustTokenParameters
== null)
96
if (
WSTrustTokenParameters
.CacheIssuedTokens)
117
/// Creates a <see cref="WsTrustRequest"/> from the <see cref="
WSTrustTokenParameters
"/>.
127
switch (
WSTrustTokenParameters
.KeyType)
142
throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new NotSupportedException(LogHelper.FormatInvariant("KeyType is not supported: {0}",
WSTrustTokenParameters
.KeyType)), EventLevel.Error);
146
if (
WSTrustTokenParameters
.KeyType != SecurityKeyType.BearerKey &&
174
if (
WSTrustTokenParameters
.Claims != null)
177
foreach (ClaimType claimType in
WSTrustTokenParameters
.Claims.ClaimTypes)
187
trustRequest.Claims = new Claims(
WSTrustTokenParameters
.Claims.Dialect, claimTypes);
190
foreach (XmlElement parameter in
WSTrustTokenParameters
.AdditionalRequestParameters)
212
if (
WSTrustTokenParameters
.CacheIssuedTokens && CachedResponse != null)
348
get =>
WSTrustTokenParameters
?.IssuerBinding;
369
long effectiveInterval = (long)((
WSTrustTokenParameters
.IssuedTokenRenewalThresholdPercentage / (double)100) * interval);
370
DateTime effectiveExpiration = AddTicks(fromTime, Math.Min(effectiveInterval,
WSTrustTokenParameters
.MaxIssuedTokenCachingTime.Ticks));
424
MessageSecurityVersion messageSecurityVersion =
WSTrustTokenParameters
.MessageSecurityVersion;
426
messageSecurityVersion =
WSTrustTokenParameters
.DefaultMessageSecurityVersion;
476
RequestContext = string.IsNullOrEmpty(
WSTrustTokenParameters
.RequestContext) ? Guid.NewGuid().ToString() :
WSTrustTokenParameters
.RequestContext;
477
var channelFactory = new ChannelFactory<IRequestChannel>(IssuerBinding,
WSTrustTokenParameters
.IssuerAddress);