TokenReplayCache.AddOrUpdate(String, SecurityToken, DateTime) Method
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.
When overridden in a derived class, attempts to add a new entry or update and existing entry.
public:
abstract void AddOrUpdate(System::String ^ key, System::IdentityModel::Tokens::SecurityToken ^ securityToken, DateTime expirationTime);
public abstract void AddOrUpdate (string key, System.IdentityModel.Tokens.SecurityToken securityToken, DateTime expirationTime);
abstract member AddOrUpdate : string * System.IdentityModel.Tokens.SecurityToken * DateTime -> unit
Public MustOverride Sub AddOrUpdate (key As String, securityToken As SecurityToken, expirationTime As DateTime)
Parameters
- key
- String
The key to use when adding the item.
- securityToken
- SecurityToken
The token to add to the cache, can be null
.
- expirationTime
- DateTime
The time at which the entry expires.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ