ITokenReplayCache.TryAdd(String, 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.
Try to add a securityToken.
public bool TryAdd (string securityToken, DateTime expiresOn);
abstract member TryAdd : string * DateTime -> bool
Public Function TryAdd (securityToken As String, expiresOn As DateTime) As Boolean
Parameters
- securityToken
- String
the security token to add.
- expiresOn
- DateTime
the time when security token expires.
Returns
true if the security token was successfully added.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour