IssuedTokenClientCredential.MaxIssuedTokenCachingTime 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 maximum caching time for an issued token.
public:
property TimeSpan MaxIssuedTokenCachingTime { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan MaxIssuedTokenCachingTime { get; set; }
member this.MaxIssuedTokenCachingTime : TimeSpan with get, set
Public Property MaxIssuedTokenCachingTime As TimeSpan
Property Value
A TimeSpan that represents the maximum caching time for an issued token. The default value is TimeSpan.MaxValue.
Exceptions
The value of set
is less than zero.
An attempt was made to set
a read-only credential.
Examples
This code shows how to set this property.
itcc.MaxIssuedTokenCachingTime = new TimeSpan(0, 10, 0);
itcc.MaxIssuedTokenCachingTime = New TimeSpan(0, 10, 0)
Remarks
By default, issued tokens obtained from the Security Token Service are cached by the WCF client channel. This property enables the application to specify the maximum time that the channel caches the issued token.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για