1 write to _securityTokenServiceConfiguration
System.IdentityModel (1)
System\IdentityModel\SecurityTokenService.cs (1)
136
_securityTokenServiceConfiguration
= securityTokenServiceConfiguration;
12 references to _securityTokenServiceConfiguration
System.IdentityModel (12)
System\IdentityModel\SecurityTokenService.cs (12)
465
expires = DateTimeUtil.Add(created,
_securityTokenServiceConfiguration
.DefaultTokenLifetime);
484
expires = DateTimeUtil.Add(created,
_securityTokenServiceConfiguration
.DefaultTokenLifetime);
499
if (DateTimeUtil.Add(DateTimeUtil.ToUniversalTime(expires),
_securityTokenServiceConfiguration
.MaxClockSkew) < utcNow)
505
if (DateTimeUtil.ToUniversalTime(created) > DateTimeUtil.Add(utcNow + TimeSpan.FromDays(1),
_securityTokenServiceConfiguration
.MaxClockSkew))
517
if ((expires - created) >
_securityTokenServiceConfiguration
.MaximumTokenLifetime)
519
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidRequestException(SR.GetString(SR.ID2078, created, expires,
_securityTokenServiceConfiguration
.MaximumTokenLifetime)));
779
string tokenType = string.IsNullOrEmpty(requestedTokenType) ?
_securityTokenServiceConfiguration
.DefaultTokenType : requestedTokenType;
781
SecurityTokenHandler securityTokenHandler =
_securityTokenServiceConfiguration
.SecurityTokenHandlers[tokenType];
984
return
_securityTokenServiceConfiguration
;
1097
if (request.KeySizeInBits.Value >
_securityTokenServiceConfiguration
.DefaultMaxSymmetricKeySizeInBits)
1099
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidRequestException(SR.GetString(SR.ID2056, request.KeySizeInBits.Value,
_securityTokenServiceConfiguration
.DefaultMaxSymmetricKeySizeInBits)));
1104
request.KeySizeInBits =
_securityTokenServiceConfiguration
.DefaultSymmetricKeySizeInBits;