Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​IdentityModel.​Tokens.​ITokenReplayCache

Assembly: Microsoft.IdentityModel.Tokens

Interface that defines a simple cache for tacking replaying of security tokens.

Methods

bool
TryAdd​(string securityToken, System.​DateTime expiresOn)
Try to add a securityToken.
Returns true if the security token was successfully added.
securityToken the security token to add.
expiresOn the time when security token expires.
bool
TryFind​(string securityToken)
Try to find securityToken
Returns true if the security token is found.
securityToken the security token to find.