SessionSecurityTokenHandler.TokenLifetime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the token lifetime.
public:
virtual property TimeSpan TokenLifetime { TimeSpan get(); void set(TimeSpan value); };
public virtual TimeSpan TokenLifetime { get; set; }
member this.TokenLifetime : TimeSpan with get, set
Public Overridable Property TokenLifetime As TimeSpan
Property Value
The token lifetime. The default is DefaultLifetime.
Exceptions
An attempt to set a time span that is less than or equal to zero occurs.
Remarks
By default, if the <sessionTokenRequirement> element is specified in the configuration file, the TokenLifetime property is initialized to the value of the lifetime
attribute by the LoadCustomConfiguration method.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για