public static void ClearRefreshTokens(this ITokenCacheAccessor accessor)
 {
     foreach (var item in accessor.GetAllRefreshTokens())
     {
         accessor.DeleteRefreshToken(item.GetKey());
     }
 }
コード例 #2
0
 /// <inheritdoc />
 public void DeleteRefreshToken(MsalRefreshTokenCacheKey cacheKey)
 {
     _tokenCacheAccessor.DeleteRefreshToken(cacheKey);
 }