Gets or sets the default lifetime
(defaultTokenLifetime property) used in the issued tokens.
Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Syntax
Visual Basic |
Public Property DefaultTokenLifetime As TimeSpan
|
C# |
public TimeSpan DefaultTokenLifetime { get; set; }
|
C++ |
public:
property TimeSpan DefaultTokenLifetime {
TimeSpan get ();
void set (TimeSpan value);
}
|
J# |
/** @property */
public TimeSpan get_DefaultTokenLifetime ()
/** @property */
public void set_DefaultTokenLifetime (TimeSpan value)
|
JScript |
public function get DefaultTokenLifetime () : TimeSpan
public function set DefaultTokenLifetime (value : TimeSpan)
|
Property Value
Returns
TimeSpan.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also