<ttlInSeconds> Element
Specifes, in seconds, how long issued SecurityContextToken security tokens are valid.
<microsoft.web.services3> Element
<tokenIssuer> Element
<ttlInSeconds value="Time-to-live in seconds." />
Attributes and Elements
Attributes
Attribute | Description |
---|---|
value |
Specifes, in seconds, how long issued SecurityContextToken security tokens are valid. The default value is 14400 (4 hours). |
Child Elements
None.
Parent Elements
Element | Description |
---|---|
Specifies the settings for a security token service. |
Remarks
To override the default 4-hour duration, add a <ttlInSeconds> element to the configuration file for the security token service.
Before adding the <ttlInSeconds> element to a configuration file, you must add the microsoft.web.services3 configuration section handler to the configuration file. For details about adding the microsoft.web.services3 configuration section handler, see <section> Element.
Example
The following code example sets the duration that issued SecurityContextToken security tokens issued are valid to 1 hour (3600 seconds).
<configuration>
<microsoft.web.services3>
<tokenIssuer>
<ttlInSeconds value="3600" />
</tokenIssuer><
</microsoft.web.services3>
</configuration>
See Also
Reference
<tokenIssuer> Element
SecurityContextToken