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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.