Propriété SecurityTokenServiceConfiguration.MaximumTokenLifetime
Gets or sets the maximum token lifetime for issued tokens.
Espace de noms: Microsoft.IdentityModel.Configuration
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)
Utilisation
Dim instance As SecurityTokenServiceConfiguration Dim value As TimeSpan value = instance.MaximumTokenLifetime instance.MaximumTokenLifetime = value
Syntaxe
'Déclaration
Public Property MaximumTokenLifetime As TimeSpan
public TimeSpan MaximumTokenLifetime { get; set; }
public:
property TimeSpan MaximumTokenLifetime {
TimeSpan get ();
void set (TimeSpan value);
}
/** @property */
public TimeSpan get_MaximumTokenLifetime ()
/** @property */
public void set_MaximumTokenLifetime (TimeSpan value)
public function get MaximumTokenLifetime () : TimeSpan
public function set MaximumTokenLifetime (value : TimeSpan)
Valeur de la propriété
Returns TimeSpan.
Cohérence de thread
Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.
Plateformes
Plateformes de développement
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
Voir aussi
Référence
Classe SecurityTokenServiceConfiguration
Membres SecurityTokenServiceConfiguration
Espace de noms Microsoft.IdentityModel.Configuration