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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.